|
|
@ -11,7 +11,7 @@ related: methods |
|
|
|
</section> |
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
|
|
<section id="options"> |
|
|
|
<section id="options"> |
|
|
|
<ul> |
|
|
|
<ul class="clearfix"> |
|
|
|
<li id="toggle-sizes"><a href="#toggle-sizes">Toggle variable sizes</a></li> |
|
|
|
<li id="toggle-sizes"><a href="#toggle-sizes">Toggle variable sizes</a></li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</section> |
|
|
|
</section> |
|
|
@ -40,7 +40,7 @@ related: methods |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// change size of clicked element |
|
|
|
// change size of clicked element |
|
|
|
$container.find('.element').live('click', function(){ |
|
|
|
$container.find('.element').click(function(){ |
|
|
|
$(this).toggleClass('large'); |
|
|
|
$(this).toggleClass('large'); |
|
|
|
$container.isotope('reLayout'); |
|
|
|
$container.isotope('reLayout'); |
|
|
|
}); |
|
|
|
}); |
|
|
|