|
|
(36 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | {{WashU1.2.6}} | + | {{WashUPhotoGallerycss}} |
- | {{WashU1.3}}
| + | <!--Credit to UIUC Illinois iGEM 2012 for their implementation of an idea that we wanted to do. Their site inspired us to work harder and figure out how to do this ourselves.--> |
- | {{WashU1.2}}
| + | |
- | {{WashUcoda-slider}}
| + | |
| <html> | | <html> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
Line 8: |
Line 6: |
| | | |
| <head> | | <head> |
- | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
| + | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
- |
| + | |
- | <title>Featured Content Slider</title>
| + | |
- |
| + | |
- | <link rel="stylesheet" type="text/css" href="https://2012.igem.org/Template:WashUgallerycss" />
| + | |
| | | |
- | <script type="text/javascript" src="/Template:WashU1.2.6"></script>
| + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> |
- | <script type="text/javascript" src="/Template:WashU1.3"></script>
| + | <script src="http://washuigemphotogallery.googlecode.com/files/galleria-1.2.7.min.js"></script> |
- | <script type="text/javascript" src="/Template:WashU1.2"></script>
| + | |
- | <script type="text/javascript" src="/Template:WashUcoda-slider"></script>
| + | |
- |
| + | |
- | <script type="text/javascript">
| + | |
- |
| + | |
- | var theInt = null;
| + | |
- | var $crosslink, $navthumb;
| + | |
- | var curclicked = 0;
| + | |
- |
| + | |
- | theInterval = function(cur){
| + | |
- | clearInterval(theInt);
| + | |
- |
| + | |
- | if( typeof cur != 'undefined' )
| + | |
- | curclicked = cur;
| + | |
- |
| + | |
- | $crosslink.removeClass("active-thumb");
| + | |
- | $navthumb.eq(curclicked).parent().addClass("active-thumb");
| + | |
- | $(".stripNav ul li a").eq(curclicked).trigger('click');
| + | |
- |
| + | |
- | theInt = setInterval(function(){
| + | |
- | $crosslink.removeClass("active-thumb");
| + | |
- | $navthumb.eq(curclicked).parent().addClass("active-thumb");
| + | |
- | $(".stripNav ul li a").eq(curclicked).trigger('click');
| + | |
- | curclicked++;
| + | |
- | if( 6 == curclicked )
| + | |
- | curclicked = 0;
| + | |
- |
| + | |
- | }, 3000);
| + | |
- | };
| + | |
- |
| + | |
- | $(function(){
| + | |
- |
| + | |
- | $("#main-photo-slider").codaSlider();
| + | |
- |
| + | |
- | $navthumb = $(".nav-thumb");
| + | |
- | $crosslink = $(".cross-link");
| + | |
- |
| + | |
- | $navthumb
| + | |
- | .click(function() {
| + | |
- | var $this = $(this);
| + | |
- | theInterval($this.parent().attr('href').slice(1) - 1);
| + | |
- | return false;
| + | |
- | });
| + | |
- |
| + | |
- | theInterval();
| + | |
- | });
| + | |
- | </script>
| + | |
| </head> | | </head> |
| | | |
| <body> | | <body> |
- |
| |
- | <div id="page-wrap">
| |
- |
| |
- | <div class="slider-wrap">
| |
- | <div id="main-photo-slider" class="csw">
| |
- | <div class="panelContainer">
| |
| | | |
- | <div class="panel" title="Panel 1">
| + | <!--Content Start--> |
- | <div class="wrapper">
| + | <div id="content1-topcenter"> |
- | <img src="images/tempphoto-1.jpg" alt="temp" />
| + | |
- | <div class="photo-meta-data">
| + | |
- | Photo Credit: <a href="http://flickr.com/photos/astrolondon/2396265240/">Kaustav Bhattacharya</a><br />
| + | |
- | <span>"Free Tibet" Protest at the Olympic Torch Rally</span>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | <div class="panel" title="Panel 2">
| + | |
- | <div class="wrapper">
| + | |
- | <img src="images/tempphoto-2.jpg" alt="temp" />
| + | |
- | <div class="photo-meta-data">
| + | |
- | Chicago Bears at Seattle Seahawks<br />
| + | |
- | <span>Fifth field goal, overtime win for the Seahawks</span>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | <div class="panel" title="Panel 3">
| + | |
- | <div class="wrapper">
| + | |
- |
| + | |
- | <img src="images/scotch-egg.jpg" alt="scotch egg" class="floatLeft"/>
| + | |
- |
| + | |
- | <h1>How to Cook a Scotch Egg</h1>
| + | |
- |
| + | |
- | <ul>
| + | |
- | <li>6 hard-boiled eggs, well chilled (i try to cook them to just past soft boiled stage, then stick them in the coldest part of the fridge to firm up)</li>
| + | |
- | <li>1 pound good quality sausage meat (i used ground turkey meat, seasoned with sage, white pepper, salt and a tiny bit of maple syrup)</li>
| + | |
- | <li>1/2 cup AP flour</li>
| + | |
- | <li>1-2 eggs, beaten</li>
| + | |
- | <li>3/4 cup panko-style bread crumbs</li>
| + | |
- | <li>Vegetable oil for frying</li>
| + | |
- | </ul>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | <div class="panel" title="Panel 4">
| + | |
- | <div class="wrapper">
| + | |
- | <img src="images/tempphoto-4.jpg" alt="temp" />
| + | |
- | <div class="photo-meta-data">
| + | |
- | A Poem by Shel Silverstein<br />
| + | |
- | <span>Falling Up</span>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | <div class="panel" title="Panel 5">
| + | |
- | <div class="wrapper">
| + | |
- | <img src="images/tempphoto-5.jpg" alt="temp" />
| + | |
- | <div class="photo-meta-data">
| + | |
- | New Video on CSS-Tricks<br />
| + | |
- | <span>Using Wufoo for Web Forms</span>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | <div class="panel" title="Panel 6">
| + | |
- | <div class="wrapper">
| + | |
- | <h1>A Tale of Two Cities</h1>
| + | |
- | <p><em>Charles Dickins</em></p>
| + | |
- | <blockquote>It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to heaven, we were all going direct the other way - in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only.</blockquote>
| + | |
- | </div>
| + | |
- | </div>
| + | |
| | | |
- | </div>
| |
- | </div>
| |
| | | |
- | <a href="#1" class="cross-link active-thumb"><img src="images/tempphoto-1thumb.jpg" class="nav-thumb" alt="temp-thumb" /></a>
| |
- | <div id="movers-row">
| |
- | <div><a href="#2" class="cross-link"><img src="images/tempphoto-2thumb.jpg" class="nav-thumb" alt="temp-thumb" /></a></div>
| |
- | <div><a href="#3" class="cross-link"><img src="images/tempphoto-3thumb.jpg" class="nav-thumb" alt="temp-thumb" /></a></div>
| |
- | <div><a href="#4" class="cross-link"><img src="images/tempphoto-4thumb.jpg" class="nav-thumb" alt="temp-thumb" /></a></div>
| |
- | <div><a href="#5" class="cross-link"><img src="images/tempphoto-5thumb.jpg" class="nav-thumb" alt="temp-thumb" /></a></div>
| |
- | <div><a href="#6" class="cross-link"><img src="images/tempphoto-6thumb.jpg" class="nav-thumb" alt="temp-thumb" /></a></div>
| |
- | </div>
| |
| | | |
- | </div>
| + | <div id="galleria"> |
- |
| + | <img src="https://lh3.googleusercontent.com/-wRfqEDxRJM4/T-yvPE9SkVI/AAAAAAAAANU/FKW9buabxH4/s800/P1050501.JPG"> |
- | </div>
| + | <img src="https://lh3.googleusercontent.com/-4OxZtCS6lX4/T_WTV9vubmI/AAAAAAAAARI/Im7ADpihvWs/s800/P1050634.JPG"> |
| + | <img src="https://lh5.googleusercontent.com/-xb_QasdnsjA/UCLjx-nv-nI/AAAAAAAAAfM/j6PgaP_lcnQ/s800/P1060020.JPG"> |
| + | <img src="https://lh5.googleusercontent.com/-6fFuhw2-sf4/T-ywtnqKqbI/AAAAAAAAANs/wN9aqfgc2to/s800/20120620_180232.jpg"> |
| + | <img src="https://lh6.googleusercontent.com/-o770FjmW2oI/T-zOwxyS6mI/AAAAAAAAAP0/XSQfCEzgEdY/s800/P1050550.jpg"> |
| + | <img src="https://lh5.googleusercontent.com/-vunnaspAM3Y/UCvzDHzp7EI/AAAAAAAAAg8/Nbei_G9KGWo/s800/P1050993.JPG"> |
| + | <img src="https://lh4.googleusercontent.com/-5UrHwTMRPiM/UCvyrIlsayI/AAAAAAAAAhc/CKYZHdMvoFo/s800/P1060127.JPG"> |
| + | </div> |
| | | |
- | </body> | + | <script> |
| + | Galleria.loadTheme('http://washuigemphotogallery.googlecode.com/files/galleria.classic.min.js'); |
| + | Galleria.run('#galleria', { |
| + | imageCrop:'landscape', |
| + | transition: 'fade', |
| + | lightbox: true, |
| + | autoplay: 5000 |
| + | }); |
| | | |
| + | </script> |
| + | |
| + | </body> |
| </html> | | </html> |