SitePoint Sponsor

User Tag List

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

    External anchor links breaking scrollpane

    Hi everyone,

    I'm developing this site and am having issues with anchor points w/ scrollpane. Please go to http://diginnovations.com/serenity.

    If you click on the Retaining Walls link, it will direct you to a new page and the anchor will be highlighted. The issue is that if you attempt to click on Drainage or Design/Build, then it will not scroll up to the anchor.

    Other than that, if you were already on that page, then the anchors and scroll works fine. Is there something I can do to fix it? The same method is being used for both the Maintenance and Construction pages. Thanks!

  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)
    With javascript disabled the links work perfectly fine, so that indicates that there is some aspect of the scripting that is causing the problem.

    Removing the jscrollpane solves the problem, but we want a fix of some kind.
    I see from your jscrollpane scripting file, that the web page link for it now indicates that it's deprecated, in favour of an updated version found at http://jscrollpane.kelvinluck.com/

    Try updating jscrollpane to the latest version, and see if that fixes your problem. If it doesn't, we can take things further from there.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the suggestion. I updated to the newest version and the problem is still there. I also tried to mess around with the javacript settings, but that didn't seem to work either.

  4. #4
    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 oo3 View Post
    Thank you for the suggestion. I updated to the newest version and the problem is still there. I also tried to mess around with the javacript settings, but that didn't seem to work either.
    That's good to know. Now we have confirmed that the latest version of the plugin still exhibits the problem.
    Meanwhile, I have confirmed that there is no known work-around for the problem at hand. Now we can escalate things.

    It appears to be a genuine bug that you've found with the plugin, and the author of the plugin says: "If you have contacted support and established that your problem is definitely a bug then you can raise an issue on the project's github site."

    By support, the author means addressing the problem over at the stackoverflow site, or over at the jscrollpane google group page.

    Once the people more familiar with jscrollpane have gone through the issue with you there, and the bug is still confirmed to exist, it can be raised as an issue on the official jscrollpane issues repository.

    For future reference, the full details about this are at the jscrollpane's support section of their site.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help! I've posted a discussion on the google group.

  6. #6
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just an update on the situation. I updated to the latest jquery 1.4.4 and it resolved the issue. Thanks for all the help.

    Kevin Luck, the developer was very helpful and quick with his response.


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
  •