Rev 13 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 15 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | # License: GPLv3
|
7 | # License: GPLv3
|
8 | # The full version of the licencse can be obtainted by visiting:
|
8 | # The full version of the licencse can be obtainted by visiting:
|
9 | # http://www.gnu.org/licenses/gpl.html
|
9 | # http://www.gnu.org/licenses/gpl.html
|
10 | #######################################################################*/
|
10 | #######################################################################*/
|
11 | $(document).ready(function(){ |
11 | $(document).ready(function(){ |
12 | $('div.toggle').each(function(){ |
- | |
- | 12 | $('.toggle').each(function(){ |
|
13 | var $link = $(this).children('a.toggle_link:first'); |
13 | var $link = $(this).children('a.toggle_link:first'); |
14 | var $content = $(this).children('div.toggle_content:first'); |
- | |
- | 14 | var $content = $(this).children('.toggle_content:first'); |
|
15 | $link.click(function(){ |
15 | $link.click(function(){ |
16 | if ($link.is('.toggle_close')){ |
16 | if ($link.is('.toggle_close')){ |
17 | $link.removeClass('toggle_close'); |
17 | $link.removeClass('toggle_close'); |
18 | $link.addClass('toggle_open'); |
18 | $link.addClass('toggle_open'); |
19 | } else if ($link.is('.toggle_open')){ |
19 | } else if ($link.is('.toggle_open')){ |