Robert Granlund
asked on
JS Scroll Pane
I'm using JS Scroll Pane on a website. The scroll works fine, gut If a place a menu that has named links, so you can jump to a specific part of the menu, the div moves up about 25 pixels and the slidebar disappears.
Here is a link:
goto:menu and you will see what I mean.
EXPERTS ONLY Please!
http://www.redthesteakhouse.com/development/index.php/miami
Here is a link:
goto:menu and you will see what I mean.
EXPERTS ONLY Please!
http://www.redthesteakhouse.com/development/index.php/miami
ASKER
@mplungjan that change cause the scrollto to not work at all.
Any error in the console?
ASKER
@mplungjan No errors in console. Any other clues that may help?
No, not really. Do you have a test page?
ASKER
If you go to the link above, you can see the final issue. It may just be a CSS issue.
No longer jumping for me. The scroll bars disappear as usual though
ASKER
Any ideas on how to keep it in place?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$('a.panel').click(functio
$('a.panel').removeClass('
$(this).addClass('selected
current = $(this);
$('#wrapper').scrollTo($(t
return false;
});
to
$('a.panel').click(functio
e.preventDefault();
current.removeClass('selec
$(this).addClass('selected
current = $(this);
$('#wrapper').scrollTo($(t
});