Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    36
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Lightbox and jscroller problem

    Hi Guys,

    I've been making a 'quick' portfolio site and have decided to use some javascript.

    Two issues I'm having is:

    When I use lightbox and click to view the larger image and close it, the page scrolls to the top - this must be because I'm using jscroller as well but I can't see why as the mark up seems ok.

    The second issue is with jscroller. I have "Next" and "Prev" links next to images as shortcuts. This works fine until the 2nd last image when clicking "Next" the page goes up instead of down and again, I'm sure the mark up is correct. When I went to my parents house at the weekend it worked find there, maybe its resolution related?

    Would someone be able to have a look at this with me? I don't want to paste the link to the site just yet if I can help it but if someone would be kind enough to help I can private message the link if that's OK?

    Thanks in advance peeps I really hope someone can help!

  • #2
    New Coder
    Join Date
    Jan 2009
    Posts
    36
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Right the sites a bit more tidy now so I'll post the link!

    http://moymadethis.com

    The issues I'm having is

    1. When you click on "Next" on hhe "Mountain Biking Scotland" image the page should scroll down to the next image but it scrolls up!

    2. When you click "View larger image" the lightbox works but when you close the image the page scrolls up to the top.

    The site isn't finished and isn't bug tested but should display fine in Firefox and also reasonable in Internet Explorer / Safari but the mark up should be clean!

    Your help will be greatly appreciated!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •