Link Here
|
1 |
<script type="text/javascript">//<![CDATA[ |
|
|
2 |
$(document).ready(function() { |
3 |
var path = location.pathname.substring(1); |
4 |
if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 ) { |
5 |
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').css('font-weight','bold'); |
6 |
} else if (path.indexOf("patroncards") >= 0 ) { |
7 |
$('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').css('font-weight','bold'); |
8 |
} else if (path.indexOf("patron_lists") >= 0 ) { |
9 |
$('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').css('font-weight','bold'); |
10 |
} else if ((path+location.search).indexOf("batchMod.pl?del=1") >= 0 ) { |
11 |
$('#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]').css('font-weight','bold'); |
12 |
} else if (path.indexOf("cmspages") >= 0 ) { |
13 |
$('#navmenulist a[href$="/cgi-bin/koha/tools/cmspages.pl"]').css('font-weight','bold'); |
14 |
} else { |
15 |
$('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold'); |
16 |
} |
17 |
}); |
18 |
//]]> |
19 |
</script> |
20 |
|
21 |
<div id="navmenu"> |
1 |
<div id="navmenu"> |
22 |
<div id="navmenulist"> |
2 |
<div id="navmenulist"> |
23 |
<ul> |
3 |
<ul> |