(Created page with "<html> <head> <div id="rotate-script"> <script> var ul = document.querySelector('#polaroid-gallery ul'); for (var i = ul.children.length; i >= 0; i--) { ul.appendChild(ul.children[Math.random() * i | 0]); } </script> <script> $("div.thumb.tnone").each( function() { var rNum = (Math.random()*6)-3; $(this).css( { '-webkit-transform': 'rotate('+rNum+'6deg)', '-moz-transform': 'rotate('+rNum+'6deg)', 'transform': 'rotate('+rNum+'6deg)', 'position...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
</script> | </script> | ||
<script> | <script> | ||
$(" | $("#polaroid-gallery .thumb").each( function() { | ||
var rNum = (Math.random()*6)-3; | var rNum = (Math.random()*6)-3; | ||
$(this).css( { | $(this).css( { |
Latest revision as of 21:35, 16 May 2024