View Full Version : Galleries page broken!
WLSchnee
Oct-20-2008, 05:45 PM
Hey guys, I need a little help.
My separate gallery page seems to be broken somehow. I've had it set up and working for a while, so it's weird that it's not working now, it's probably the result of some pretty messy coding getting slopped together by me.
Anyway, I'd be very glad for anyone's help on sorting this out.
The page is here: http://www.willschneekloth.com
Thanks in advance!
-Will
jfriend
Oct-20-2008, 05:51 PM
Hey guys, I need a little help.
My separate gallery page seems to be broken somehow. I've had it set up and working for a while, so it's weird that it's not working now, it's probably the result of some pretty messy coding getting slopped together by me.
Anyway, I'd be very glad for anyone's help on sorting this out.
The page is here: http://www.willschneekloth.com
Thanks in advance!
-Will
You have a bunch of Javascript errors. You can start by putting a comma here:
var vanityTable = {
bnmcginn : "http://wlschnee.smugmug.com/gallery/5549794_hwJEN",
christybrian : "http://wlschnee.smugmug.com/gallery/5832061_6kKCE"
};
Then, it looks like maybe you lost the hasPath function as part of the separate galleries page. See this tutorial (http://dgrin.smugmug.com/gallery/2160039) for what you need.
Then, you still have old slideshow code that you should get rid of here:
******** type="text/javascript"> /*required slideshow variables */ slideshowContainerId = "bioBox";
slideshowUrl = "http://wlschnee.smugmug.com/gallery/2718746"; /* optional
slideshow variables */ /* see properties section */ loadSlideshow();
</********
You may have more problems, but you need to fix these so we can see the rest.
Allen
Oct-20-2008, 05:53 PM
Hey guys, I need a little help.
My separate gallery page seems to be broken somehow. I've had it set up and working for a while, so it's weird that it's not working now, it's probably the result of some pretty messy coding getting slopped together by me.
Anyway, I'd be very glad for anyone's help on sorting this out.
The page is here: http://www.willschneekloth.com
Thanks in advance!
-Will
I think you have an error in your vanity table javascript and it's stopping
your script form finishing. Error reported a missing }.
jfriend
Oct-20-2008, 06:24 PM
Hey guys, I need a little help.
My separate gallery page seems to be broken somehow. I've had it set up and working for a while, so it's weird that it's not working now, it's probably the result of some pretty messy coding getting slopped together by me.
Anyway, I'd be very glad for anyone's help on sorting this out.
The page is here: http://www.willschneekloth.com
Thanks in advance!
-Will
Also missing a semicolon at the end of a whole bunch of lines that look like this:
loadImage6.src = "http://willschneekloth.com/img/navh_06.jpg";
I now see the hasPath function is defined so maybe you need to just fix the vanityTable error and all the missing semicolons and we'll see how it works from there.
WLSchnee
Oct-20-2008, 06:37 PM
Also missing a semicolon at the end of a whole bunch of lines that look like this:
loadImage6.src = "http://willschneekloth.com/img/navh_06.jpg";
I now see the hasPath function is defined so maybe you need to just fix the vanityTable error and all the missing semicolons and we'll see how it works from there.
I added the , in the vanityTable and removed the old slideshow script and it seems to be clicking again now, it must have been when I added the second vanity URL that I broke it.
Thanks again for the help guys.
-Will
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.