Function loadAndScrollToAnchor() works fine now. Ready to use offline doc for help !
This commit is contained in:
parent
895e838924
commit
ea328e8675
|
@ -1273,8 +1273,8 @@ function networkPb(){
|
|||
}
|
||||
|
||||
function loadAndScrollToAnchor(s,a) {
|
||||
$('#help').load(s,function(){
|
||||
$('#help').scrollTo(0, $("a[name='"+t+"']").position().top);
|
||||
$('#help_content').load(s,function(){
|
||||
$('#help_content').attr('scrollTop',$("a[name='"+a+"']").position().top-$('#help_content').position().top);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user