SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    is slideshow causing "scrollto" to skip 1 past selected image?

    in this page http://www.philipdusel.com/gyp.html

    can any one offer any suggestions as to why the "<" ">" and clicking aon the image("advance-link class") all carry different scroll to behaviors? clicking on ">" scrolls the thumbs one past the selected or main image

    clicking on the "<" scrolls so the selected thumb is in view at all times but at the distance of one image away from the top


    clicking on the main image scrolls so that the selected thumb is always visible at the very top of the thumbnail div

    am i right to be focusing on the gallerific.js

    why do these these three navigation options affect the scroll differently? is code for the slideshow causing the scrollto behavior to skip over the image using the ">" arrow?

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by phillycheese123 View Post
    can any one offer any suggestions as to why the "<" ">" and clicking aon the image("advance-link class") all carry different scroll to behaviors? clicking on ">" scrolls the thumbs one past the selected or main image

    clicking on the "<" scrolls so the selected thumb is in view at all times but at the distance of one image away from the top
    It looks like there's a genuine off-by-one error occurring somewhere.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

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