Line | |
---|
1 | /* ----------------------------------------------------------------------------- |
---|
2 | GALLY-MINIMALIST |
---|
3 | Template for Piwigo |
---|
4 | ------------------------------------------------------------------------------ |
---|
5 | file release: 1.0.0 |
---|
6 | theme release: 1.5.0 |
---|
7 | ------------------------------------------------------------------------------ |
---|
8 | author: grum at piwigo.org |
---|
9 | << May the Little SpaceFrog be with you >> |
---|
10 | ------------------------------------------------------------------------------ |
---|
11 | Specific JS for the theme |
---|
12 | |
---|
13 | see the release_notes.txt file for more informations |
---|
14 | ----------------------------------------------------------------------------- */ |
---|
15 | |
---|
16 | var gallyMinimalist=null; |
---|
17 | |
---|
18 | $(document).ready( |
---|
19 | function() |
---|
20 | { |
---|
21 | gallyMinimalist=new GallyMinimalist(); |
---|
22 | } |
---|
23 | ); |
---|
24 | |
---|
25 | |
---|
26 | function GallyMinimalist() |
---|
27 | { |
---|
28 | function init() |
---|
29 | { |
---|
30 | var flag=$('li.menuf a.activeFlag'); |
---|
31 | |
---|
32 | if(flag.length>0) changeFlagTip(); |
---|
33 | } |
---|
34 | |
---|
35 | function changeFlagTip() |
---|
36 | { |
---|
37 | $('li.menuf img').addClass('sTipOnTop'); |
---|
38 | } |
---|
39 | |
---|
40 | init(); |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.