Template:Polaroids: Difference between revisions

Template page
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Polaroids/styles.css" />
<templatestyles src="Polaroids/styles.css" />
<h1 style="text-align: center;">Lost Boy's Polaroids</h1>
<div id="polaroid-intro" style="text-align: center;">
<div id="polaroid-intro" style="text-align: center;">
four quartets and no regrets... <br />
four quartets and no regrets... <br />
Line 8: Line 9:
   namespace      = File
   namespace      = File
   category      = Polaroids
   category      = Polaroids
   format        = ,\n* [[File:%TITLE%|300x300px|thumb|none|{{File:%TITLE%/caption}}]],,
   format        = ,\n* [[File:%TITLE%|600x600px|thumb|%TITLE%]],,
  count          = 1000
</DPL>
</DPL>
</div>
</div>
Line 19: Line 21:
}
}
</script>
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
<script>
$("div.thumb.tnone").each( function() {
$(".thumb").each( function() {
   var rNum = (Math.random()*6)-3;   
   var rNum = (Math.random()*6)-3;   
   $(this).css( {   
   $(this).css( {   
    '-webkit-transform': 'rotate('+rNum+'6deg)',
    '-moz-transform': 'rotate('+rNum+'6deg)',
     'transform': 'rotate('+rNum+'6deg)',
     'transform': 'rotate('+rNum+'6deg)',
     'position': 'relative',
     'position': 'relative',
Line 34: Line 33:
</head>
</head>
</html>
</html>
__NOTOC__

Latest revision as of 22:10, 15 May 2024

Lost Boy's Polaroids

four quartets and no regrets...
except for the polaroids i left....