Rev 13 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 25 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | /*#######################################################################
|
- | |
2 | # This script is distributed in the hope that it will be useful,
|
- | |
3 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
- | |
4 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
- | |
5 | # GNU General Public License for more details.
|
- | |
6 | # Author: Andrzej KardaĆ
|
- | |
7 | # License: GPLv3
|
- | |
8 | # The full version of the licencse can be obtainted by visiting:
|
- | |
9 | # http://www.gnu.org/licenses/gpl.html
|
- | |
10 | #######################################################################*/
|
- | |
11 | $(document).ready(function(){ |
1 | $(document).ready(function(){ |
12 | $('div.mouse_toggle').each(function(){ |
- | |
- | 2 | $('div.mouse_toggle').each(function(){ |
|
13 | var $content = $(this).find('div.toggle_on_mouse_content:first'); |
3 | var $content = $(this).find('div.toggle_on_mouse_content:first'); |
14 | $(this).mouseenter(function(){ |
4 | $(this).mouseenter(function(){ |
15 | $content.slideDown("slow"); |
- | |
- | 5 | $content.slideDown("fast"); |
|
16 | }).mouseleave(function(){ |
6 | }).mouseleave(function(){ |
17 | $content.slideUp("slow"); |
- | |
- | 7 | $content.slideUp("fast"); |
|
18 | }); |
8 | }); |
19 | }); |
- | |
20 | }); |
9 | }); |
- | 10 | }) |