diff --git a/_posts/docs/2010-12-03-options.mdown b/_posts/docs/2010-12-03-options.mdown index 4b6a520..eaa4b0a 100644 --- a/_posts/docs/2010-12-03-options.mdown +++ b/_posts/docs/2010-12-03-options.mdown @@ -281,18 +281,16 @@ If you do disable transforms, but still want to use [CSS transitions](animating. {% endhighlight %} -### Disabling hiddenStyle scale +### Disabling hidden and visible scale styles -If you are using filtering, it's also a good idea to disable the scale transform with the [`hiddenStyle` option](#hiddenstyle). +If you are using filtering, it's also a good idea to disable the scale transform with the [`hiddenStyle` option](#hiddenstyle) and [`visibleStyle` option](#visiblestyle). {% highlight javascript %} $('#container').isotope({ transformsEnabled: false, - hiddenStyle : { - opacity: 0, - scale : 1 - } + visibleStyle: { opacity: 1 }, + hiddenStyle: { opacity: 0 } }); {% endhighlight %} diff --git a/_posts/tests/2011-03-27-flash01.html b/_posts/tests/2011-03-27-flash01.html index 0eebc30..1c98fdc 100644 --- a/_posts/tests/2011-03-27-flash01.html +++ b/_posts/tests/2011-03-27-flash01.html @@ -115,10 +115,8 @@ category: tests $container.imagesLoaded(function(){ $container.isotope({ transformsEnabled: false, - hiddenStyle : { - opacity: 0, - scale : 1 - } + visibleStyle: { opacity: 1 }, + hiddenStyle: { opacity: 0 } }); });