Ignore:
Timestamp:
Feb 17, 2012, 2:20:16 PM (9 years ago)
Author:
flop25
Message:

masonry changed for isotope.js
enhanced compat. with stuffs_thumbnails.tpl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/local_head.tpl

    r12406 r13211  
    11{if ($BODY_ID=='theCategoryPage')}
    2 {combine_script id='jquery.masonry' load='header' require='jquery' path='themes/stripped_black_bloc/js/masonry.js'}
     2{combine_script id='jquery.isotope' load='header' require='jquery' path='themes/stripped_black_bloc/js/isotope.js'}
    33{html_head}{literal}
    44<style>
     
    99        max-width: {/literal}{if $stripped_black_bloc.thumbnail_width}{$stripped_black_bloc.thumbnail_width}{/if}{literal}px;
    1010}
    11 .bloc a {
     11.bloc a{
    1212        max-width:{/literal}{if $stripped_black_bloc.thumbnail_width}{$stripped_black_bloc.thumbnail_width}{/if}{literal}px;
    1313}
     
    7777
    7878function tnb_resize() {
    79         $('#content_cell').masonry({
    80                 columnWidth: {/literal} {if $stripped_black_bloc.column_width}{$stripped_black_bloc.column_width}{/if}{literal},
     79        $('#content_cell').isotope({
     80         masonry: {
     81                columnWidth: {/literal} {if $stripped_black_bloc.column_width}{$stripped_black_bloc.column_width}{/if}{literal}
     82 },
    8183                itemSelector: '.bloc, .bloc_big, .content_block, .bloc_stuff',
    8284                isAnimated: true
Note: See TracChangeset for help on using the changeset viewer.