Last change
on this file since 31232 was
31232,
checked in by SergeD, 9 years ago
|
version 1.2.26 - see changelog for details
|
-
Property svn:eol-style set to
native
|
File size:
923 bytes
|
Line | |
---|
1 | $().ready(function() { |
---|
2 | $("div.infos").delay(8000).slideUp('slow', function() { $('div.infos').hide(); }); |
---|
3 | $("#menubar dl dd:visible").parent('dl').find('dt').addClass('menu-header-active'); |
---|
4 | $("form li label input[type=checkbox]").change(function() { $(this).prev().toggleClass('icon-check icon-check-empty'); }); |
---|
5 | $("#menubar dl").click(function() { |
---|
6 | $("#menubar dl").removeClass('menu-focused'); |
---|
7 | $(this).addClass('menu-focused'); |
---|
8 | }); |
---|
9 | $(".ajax").colorbox({ scrolling: true, maxWidth: '90%', maxHeight: '90%' }); |
---|
10 | |
---|
11 | var page = $(location).attr('href'); |
---|
12 | var pathName = page.substring(page.lastIndexOf('/') + 1, page.length); |
---|
13 | if (pathName) { |
---|
14 | $('#pwgMain #menubar dl ul.scroll li a').each(function(){ |
---|
15 | var href = $(this).attr('href'); |
---|
16 | if (pathName.indexOf(href) == 0) { |
---|
17 | $(this).addClass('active-on'); |
---|
18 | } else { |
---|
19 | $(this).removeClass('active-on'); |
---|
20 | } |
---|
21 | }); |
---|
22 | } |
---|
23 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.