Help in progress
This commit is contained in:
parent
6918c738e2
commit
80d631fdff
|
@ -1272,9 +1272,11 @@ function networkPb(){
|
|||
popup('<h3>Network problem</h3>');
|
||||
}
|
||||
|
||||
function loadAndScrollToAnchor(s,a) {
|
||||
$('#help_content').load(s,function(){
|
||||
$('#help_content').attr('scrollTop',$("a[name='"+a+"']").position().top-$('#help_content').position().top);
|
||||
function loadAndScrollToAnchor(url) {
|
||||
var t=url.match(/^(.*?)(?:#(.*))$/);
|
||||
$('#help_content').load(t[1],function(){
|
||||
if(typeof(t[2])=='string')
|
||||
$('#help_content').attr('scrollTop',$("a[name='"+t[2]+"']").position().top-$('#help_content').position().top);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<link href="<TMPL_VAR NAME="DIR">/lemonldap-ng.ico" rel="shortcut icon" />
|
||||
<link rel="stylesheet" type="text/css" href="<TMPL_VAR NAME="DIR">/ui-lightness/jquery-ui-1.8.5.custom.css" />
|
||||
<link rel="stylesheet" type="text/css" title="menu" href="<TMPL_VAR NAME="DIR">/<TMPL_VAR NAME="CSS">" />
|
||||
<link rel="stylesheet" type="text/css" title="help" href="/doc/css/screen.css" />
|
||||
<script src="<TMPL_VAR NAME="DIR">/jquery-1.4.2.min.js" type="text/JavaScript"></script>
|
||||
<script src="<TMPL_VAR NAME="DIR">/jquery-ui-1.8.5.custom.min.js" type="text/JavaScript"></script>
|
||||
<script src="<TMPL_VAR NAME="DIR">/jquery.cookie.js" type="text/JavaScript"></script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user