Rev | Line | |
---|
[10851] | 1 | {if ($BODY_ID=='theCategoryPage')} |
---|
| 2 | {combine_script id='jquery.masonry' load='header' require='jquery' path='themes/stripped_black_bloc/js/masonry.js'} |
---|
| 3 | {html_head}{literal} |
---|
| 4 | <script type="text/javascript"> |
---|
| 5 | function tnb_resize() { |
---|
| 6 | $('#subcontent').masonry({ |
---|
| 7 | singleMode: true, |
---|
| 8 | columnWidth: 200, |
---|
| 9 | itemSelector: '.bloc', |
---|
| 10 | animate: true |
---|
| 11 | }); |
---|
| 12 | |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | jQuery(document).ready(function(){ |
---|
| 16 | $('#subcontent').masonry({ |
---|
| 17 | singleMode: true, |
---|
| 18 | columnWidth: 200, |
---|
| 19 | itemSelector: '.bloc', |
---|
| 20 | animate: true |
---|
| 21 | }); |
---|
| 22 | |
---|
| 23 | $(".bloc a").hover(function() { $(this).fadeTo(500, 1); }, function() { $(this).fadeTo(500, 0.75); }); |
---|
| 24 | }); |
---|
| 25 | jQuery("#menuswitcher").click(function(){ |
---|
| 26 | |
---|
| 27 | }); |
---|
| 28 | </script> |
---|
| 29 | {/literal} |
---|
| 30 | {/html_head} |
---|
| 31 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.