Changeset 11699 for extensions/stripped_black_bloc/local_head.tpl
- Timestamp:
- Jul 10, 2011, 4:36:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/local_head.tpl
r11679 r11699 1 1 {if ($BODY_ID=='theCategoryPage')} 2 2 {combine_script id='jquery.masonry' load='header' require='jquery' path='themes/stripped_black_bloc/js/masonry.js'} 3 {html_head}{literal} 3 {html_head}{literal} 4 <style> 5 .bloc { 6 width: {/literal}{if $stripped_black_bloc.thumbnail_width}{$stripped_black_bloc.thumbnail_width}{/if}{literal}px; 7 } 8 .bloc a { 9 max-width:{/literal}{if $stripped_black_bloc.thumbnail_width}{$stripped_black_bloc.thumbnail_width}{/if}{literal}px; 10 } 11 </style> 12 4 13 <script type="text/javascript"> 5 14 /** … … 44 53 return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null; 45 54 }; 55 56 // MASONRY 57 46 58 function tnb_resize() { 47 59 $('#subcontent').masonry({ 48 columnWidth: 170,60 columnWidth: {/literal} {if $stripped_black_bloc.column_width}{$stripped_black_bloc.column_width}{/if}{literal}, 49 61 itemSelector: '.bloc, .content_block, .bloc_stuff', 50 62 isAnimated: true 51 63 }); 52 64 } 65 66 53 67 jQuery(document).ready(function(jQuery){ 68 69 // fade onmouseover 54 70 jQuery(".bloc a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 71 72 // sidemenu managment 55 73 var sidemenu = jQuery.cookie('side-menu'); 56 74 var isdisplayed;
Note: See TracChangeset
for help on using the changeset viewer.