jquery Programming Glossary: restoreboxes
Help with Jquery + Masonry Plugin: How to expand/collapse boxes to reveal content http://stackoverflow.com/questions/3030199/help-with-jquery-masonry-plugin-how-to-expand-collapse-boxes-to-reveal-conten '#grid' .masonry singleMode false itemSelector '.box' animate true '.box' .click function if this .is '.expanded' restoreBoxes else restoreBoxes this save original box size .data 'size' this .width this .height .animate width 335 height 335 function.. singleMode false itemSelector '.box' animate true '.box' .click function if this .is '.expanded' restoreBoxes else restoreBoxes this save original box size .data 'size' this .width this .height .animate width 335 height 335 function '#grid' .masonry.. 'size' this .width this .height .animate width 335 height 335 function '#grid' .masonry .addClass 'expanded' function restoreBoxes var len '.expanded' .length 1 '.expanded' .each function i var box this .data 'size' this .animate width box 0 100 height..
|