SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ScrollTo and animate problem in Google Chrome

    Good evening, I have a problem with a jquery script.
    As you can see from the file:
    LIFE-MED 2011
    The sidebar should scroll in the table following the fall of the page.
    My problem is that it doesn't work right on Google Chrome, where, instead of scrolling down, it scroll up.
    Someone could explain why or how can I fix it?
    Thank you.

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,696
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by wildboyz80 View Post
    Good evening, I have a problem with a jquery script.
    As you can see from the file:
    LIFE-MED 2011
    The sidebar should scroll in the table following the fall of the page.
    My problem is that it doesn't work right on Google Chrome, where, instead of scrolling down, it scroll up.
    Someone could explain why or how can I fix it?
    Thank you.
    It's the position() of the non-visible named anchor that's causing the problem.

    Try getting the position of the next element instead.
    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
  •