#1301 Outdated main.js in 1.78.1 distribution

output: webhelp
closed-fixed
XSL (1066)
5
2013-09-04
2013-06-03
No

Using most recent webhelp stylesheets all in-page links with the # identifier are broken. Clicking on them does nothing.
I found the following function in main.js file. If it is commented, links works fine again. Please remove this stuff from official distribution.

// When you click on a link to an anchor, scroll down
// 105 px to cope with the fact that the banner
// hides the top 95px or so of the page.
// This code deals with the problem when
// you click on a link within a page.

$('a[href*=#]').click(function() {
..
}

Discussion

  • Jirka Kosek

    Jirka Kosek - 2013-09-04

    It's now fixed in SVN. Function is retained, but jQuery selector was fixed, so scrolling is animated.

     
  • Jirka Kosek

    Jirka Kosek - 2013-09-04
    • status: open --> closed-fixed
    • assigned_to: Jirka Kosek
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks