Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Scrollable Content III named anchor page opens halfway down

  1. #21
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks good to me. There is no noticeable jump that I can see either. I mean if you know to look for it, you can catch it, but it goes by so fast, it is hard to tell. I really didn't want to have any delay in this (I used a 300 millisecond delay) a little less than a third of a second though, because IE appeared to need that time to orient on the newly created elements. Technically speaking, it shouldn't because they are already drawn before we ask the browser to do this, but that's IE. Others didn't appear to require any delay.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. The Following User Says Thank You to jscheuer1 For This Useful Post:

    printman55 (05-14-2008)

  3. #22
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default

    Would the percentage method make a difference in the way it loads?

  4. #23
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Not on the face of it, but if we set the percent as the top value before the contents were drawn, yes. However, the problem with percent is that the position it will arrive at varies greatly depending upon the user's text size settings (except in Opera again, which uses only photo real zoom to resize pages, which is why a percent fall back for it will work, if calculated by trial and error in that browser). The current method relies on the actual pixel measurements we make once the actual content is loaded, so will be precise regardless of the text size.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. The Following User Says Thank You to jscheuer1 For This Useful Post:

    printman55 (05-14-2008)

  6. #24
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default

    I experimented a little and changed:
    setTimeout(moveit, 100); 300 to 100
    It makes a big difference!

  7. #25
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default

    John,
    I just wanted to thank you for all your great help. This is an awesome site and the support is incredible.
    Steve

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
  •