flash.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>flash &middot; Isotope </title>
  6. <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  7. <link rel="stylesheet" href="../css/style.css" />
  8. <!-- scripts at bottom of page -->
  9. </head>
  10. <body class="tests ">
  11. <nav id="site-nav">
  12. <h1><a href="../index.html">Isotope</a></h1>
  13. <h2>Docs</h2>
  14. <ul>
  15. <li><a href="../docs/introduction.html">Introduction</a>
  16. <li><a href="../docs/options.html">Options</a>
  17. <li><a href="../docs/methods.html">Methods</a>
  18. <li><a href="../docs/layout-modes.html">Layout modes</a>
  19. <li><a href="../docs/filtering.html">Filtering</a>
  20. <li><a href="../docs/sorting.html">Sorting</a>
  21. <li><a href="../docs/animating.html">Animating</a>
  22. <li><a href="../docs/adding-items.html">Adding items</a>
  23. <li><a href="../docs/extending-isotope.html">Extending Isotope</a>
  24. <li><a href="../docs/hash-history-jquery-bbq.html">Hash history with jQuery BBQ</a>
  25. <li><a href="../docs/help.html">Help</a>
  26. <li><a href="../docs/license.html">License</a>
  27. </ul>
  28. <h2>Demos</h2>
  29. <ul>
  30. <li><a href="../demos/basic.html">Basic</a>
  31. <li><a href="../demos/elements-complete.html">Elements Complete</a>
  32. <li><a href="../demos/elements-partial.html">Elements Partial</a>
  33. <li><a href="../demos/layout-modes.html">Layout modes</a>
  34. <li><a href="../demos/filtering.html">Filtering</a>
  35. <li><a href="../demos/sorting.html">Sorting</a>
  36. <li><a href="../demos/relayout.html">reLayout</a>
  37. <li><a href="../demos/adding-items.html">Adding items</a>
  38. <li><a href="../demos/infinite-scroll.html">Infinite Scroll</a>
  39. <li><a href="../demos/images.html">Images</a>
  40. <li><a href="../demos/combination-filters.html">Combination filters</a>
  41. <li><a href="../demos/hash-history.html">Hash history</a>
  42. <li><a href="../demos/fluid-responsive.html">Fluid / responsive</a>
  43. </ul>
  44. <h2>Custom layout modes</h2>
  45. <ul>
  46. <li><a href="../custom-layout-modes/centered-masonry.html">Centered Masonry</a>
  47. <li><a href="../custom-layout-modes/category-rows.html">Category rows</a>
  48. <li><a href="../custom-layout-modes/masonry-corner-stamp.html">Masonry corner stamp</a>
  49. <li><a href="../custom-layout-modes/masonry-gutters.html">Masonry gutters</a>
  50. <li><a href="../custom-layout-modes/spine-align.html">Spine align</a>
  51. </ul>
  52. <h2><a href="../tests/index.html">Tests</a></h2>
  53. </nav> <!-- #site-nav -->
  54. <section id="content">
  55. <h1>flash</h1>
  56. <style>
  57. .item {
  58. width: 500px;
  59. margin: 5px;
  60. float: left;
  61. background: #333;
  62. }
  63. .isotope .isotope-item {
  64. -webkit-transition-property: top, left, opacity;
  65. -moz-transition-property: top, left, opacity;
  66. transition-property: top, left, opacity;
  67. }
  68. </style>
  69. <section id="copy">
  70. <p>Flash content like YouTube or Vimeo videos</p>
  71. </section>
  72. <section id="options" class="clearfix">
  73. <h3>Filters</h3>
  74. <ul id="filters" class="option-set clearfix" data-option-key="filter">
  75. <li><a href="#filter-show-all" data-option-value="*" class="selected">show all</a></li>
  76. <li><a href="#filter-link" data-option-value=".link">link</a></li>
  77. <li><a href="#filter-audio" data-option-value=".audio">audio</a></li>
  78. <li><a href="#filter-video" data-option-value=".video">video</a></li>
  79. <li><a href="#filter-photo" data-option-value=".photo">photo</a></li>
  80. </ul>
  81. </section> <!-- #options -->
  82. <div id="container" class="clearfix">
  83. <div class="item video">
  84. <object width="500" height="305"><param name="movie" value="http://www.youtube.com/v/GaoLU6zKaws&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"><param name="wmode" value="transparent"><param name="allowFullScreen" value="true"><embed src="http://www.youtube.com/v/GaoLU6zKaws&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="500" height="305" allowfullscreen="true" wmode="transparent"></object>
  85. <p>Sexy Sax Man (Careless Whisper Saxophone Prank!!) directors cut (by <a href="http://www.youtube.com/watch?v=GaoLU6zKaws&amp;feature=youtu.be">mikedahlquist</a>)</p>
  86. </div>
  87. <div class="item photo">
  88. <figure class="content">
  89. <a href="http://danimaree.tumblr.com"><img src="http://29.media.tumblr.com/tumblr_lhbbz91Wg51qa5ylbo1_500.gif" alt="WIN"></a>
  90. <figcaption><p>WIN</p></figcaption>
  91. </figure>
  92. </div>
  93. <div class="item audio">
  94. <figure class="content audio">
  95. <script type="text/javascript" language="javascript" src="http://assets.tumblr.com/javascript/tumblelog.js?505"></script><span id="audio_player_3674118149">[<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Flash 9</a> is required to listen to audio.]</span><script type="text/javascript">replaceIfFlash(9,"audio_player_3674118149",'\x3cdiv class=\x22audio_player\x22\x3e<embed type="application/x-shockwave-flash" src="http://assets.tumblr.com/swf/audio_player_black.swf?audio_file=http://www.tumblr.com/audio_file/3674118149/tumblr_lhmdlpR0Kl1qashpb&color=FFFFFF" height="27" width="207" quality="best"></embed>\x3c/div\x3e')</script>
  96. Smashing Pumpkins
  97. <em>Set The Ray To Jerry</em>
  98. Judas 0: B-Sides and Rarities
  99. <figcaption><blockquote>
  100. <p>I’ll believe until the day I die that the Smashing Pumpkins were more unique and more complex than most people will ever give them credit for. But I also understand that casual listeners aren’t going to go out of their way to hear the hundreds of lesser-known Pumpkins tracks that are often just as good as anything that’s made its way onto an album. So I’m telling you to start with “Set the Ray to Jerry.”</p>
  101. </blockquote>
  102. <p>&#8212; Ross McGowan <a href="http://www.stylusmagazine.com/articles/seconds/the-smashing-pumpkins-set-the-ray-to-jerry.htm">The Smashing Pumpkins: Set the Ray to Jerry</a></p></figcaption>
  103. </figure>
  104. </div>
  105. <div class="item photo">
  106. <figure class="content photo">
  107. <a href="http://zenibyfajnie.deviantart.com/art/and-there-s-a-light-on-171400460"><img src="http://27.media.tumblr.com/tumblr_lh8j1hUuvO1qashpbo1_500.jpg" alt="and there&amp;#8217;s a light on by *zenibyfajnie on deviantART"></a>
  108. <figcaption><p><a href="http://zenibyfajnie.deviantart.com/art/and-there-s-a-light-on-171400460">and there&#8217;s a light on by *zenibyfajnie on deviantART</a></p></figcaption>
  109. </figure>
  110. </div>
  111. <div class="item link">
  112. <h2><a href="http://www.kaplusa.com/blog/2011/01/twitter-icon-evolution/" >KA+A : Blog : Iconoclast &ndash; A Twitter Icon&rsquo;s Journey From Discreet to Disaster</a></h2>
  113. <p>Via <a href="https://twitter.com/kristianindy/status/31100858091442178">kristianindy</a></p>
  114. </div>
  115. <div class="item video">
  116. <figure class="content video">
  117. <object width="500" height="305"><param name="movie" value="http://www.youtube.com/v/7g0We1DY7WI&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"></param><param name="wmode" value="transparent"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/7g0We1DY7WI&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="500" height="305" allowFullScreen="true" wmode="transparent"></embed></object>
  118. <figcaption><p><a href="http://www.youtube.com/watch?v=7g0We1DY7WI">Aloha - Ruins [Live @ DC 9 - Washington, DC - 4/15/10]</a> (via <a href="http://youtube.com/user/alohaband1">alohaband1</a>)</p>
  119. <p>I was at this show. This is my favorite song from 2010. I love Aloha so much.</p></figcaption>
  120. </figure>
  121. </div>
  122. <div class="item video">
  123. <iframe title="YouTube video player" width="500" height="311" src="http://www.youtube.com/embed/7g0We1DY7WI" frameborder="0" allowfullscreen></iframe>
  124. </div>
  125. </div> <!-- #container -->
  126. <script src="../js/jquery-1.6.4.min.js"></script>
  127. <script src="../jquery.isotope.min.js"></script>
  128. <script>
  129. $(function(){
  130. var $container = $('#container');
  131. $container.imagesLoaded(function(){
  132. $container.isotope({
  133. transformsEnabled: false,
  134. visibleStyle: { opacity: 1 },
  135. hiddenStyle: { opacity: 0 }
  136. });
  137. });
  138. var $optionSets = $('#options .option-set'),
  139. $optionLinks = $optionSets.find('a');
  140. $optionLinks.click(function(){
  141. var $this = $(this);
  142. // don't proceed if already selected
  143. if ( $this.hasClass('selected') ) {
  144. return false;
  145. }
  146. var $optionSet = $this.parents('.option-set');
  147. $optionSet.find('.selected').removeClass('selected');
  148. $this.addClass('selected');
  149. // make option object dynamically, i.e. { filter: '.my-filter-class' }
  150. var options = {},
  151. key = $optionSet.attr('data-option-key'),
  152. value = $this.attr('data-option-value');
  153. // parse 'false' as false boolean
  154. value = value === 'false' ? false : value;
  155. options[ key ] = value;
  156. if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) {
  157. // changes in layout modes need extra logic
  158. changeLayoutMode( $this, options )
  159. } else {
  160. // otherwise, apply new options
  161. $container.isotope( options );
  162. }
  163. return false;
  164. });
  165. });
  166. </script>
  167. <footer>
  168. Isotope by <a href="http://desandro.com">David DeSandro</a> / <a href="http://metafizzy.co">Metafizzy</a>
  169. </footer>
  170. </section> <!-- #content -->
  171. </body>
  172. </html>