Options

Galleries page broken!

WLSchneeWLSchnee Registered Users Posts: 2 Beginner grinner
edited October 20, 2008 in SmugMug Support
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

Comments

  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited October 20, 2008
    WLSchnee wrote:
    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 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.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    AllenAllen Registered Users Posts: 10,012 Major grins
    edited October 20, 2008
    WLSchnee wrote:
    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 }.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited October 20, 2008
    WLSchnee wrote:
    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&quot;;

    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.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    WLSchneeWLSchnee Registered Users Posts: 2 Beginner grinner
    edited October 20, 2008
    jfriend wrote:
    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&quot;;

    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
Sign In or Register to comment.