Team:AUC TURKEY/Test

From 2013hs.igem.org

(Difference between revisions)
 
(10 intermediate revisions not shown)
Line 1: Line 1:
{{AUC_Turkey}}
{{AUC_Turkey}}
-
 
-
<html>
 
-
<head>
 
-
<script type="text/javascript" src="http://www.twospy.com/galleriffic/js/jquery.galleriffic.js"></script>
 
-
<style type="text/css">
 
-
div#page html, body {
 
-
margin:0;
 
-
padding:0;
 
-
}
 
-
div#page body{
 
-
text-align: center;
 
-
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, Arial, sans-serif;
 
-
background-color: #eee;
 
-
color: #444;
 
-
font-size: 75%;
 
-
}
 
-
div#page a{
 
-
color: #27D;
 
-
text-decoration: none;
 
-
}
 
-
div#page a:focus, a:hover, a:active {
 
-
text-decoration: underline;
 
-
}
 
-
div#page p, li {
 
-
line-height: 1.8em;
 
-
}
 
-
div#page h1, h2 {
 
-
font-family: "Trebuchet MS", Verdana, sans-serif;
 
-
margin: 0 0 10px 0;
 
-
letter-spacing:-1px;
 
-
}
 
-
div#page h1 {
 
-
padding: 0;
 
-
font-size: 3em;
 
-
color: #333;
 
-
}
 
-
div#page h2 {
 
-
padding-top: 10px;
 
-
font-size:2em;
 
-
}
 
-
div#page pre {
 
-
font-size: 1.2em;
 
-
line-height: 1.2em;
 
-
overflow-x: auto;
 
-
}
 
-
div#page {
 
-
width: 7500px;
 
-
margin: 0 auto;
 
-
text-align: left;
 
-
}
 
-
div#page div#container {
 
-
padding: 20px;
 
-
}
 
-
div#page div#ads {
 
-
clear: both;
 
-
padding: 12px 0 12px 66px;
 
-
}
 
-
div#page div#footer {
 
-
clear: both;
 
-
color: #777;
 
-
margin: 0 auto;
 
-
padding: 20px 0 40px;
 
-
text-align: center;
 
-
}
 
-
div#page div.content {
 
-
/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
 
-
display: none;
 
-
float: right;
 
-
width: 550px;
 
-
}
 
-
div#page div.content a, div.navigation a {
 
-
text-decoration: none;
 
-
color: #777;
 
-
}
 
-
div#page div.content a:focus, div.content a:hover, div.content a:active {
 
-
text-decoration: underline;
 
-
}
 
-
div#page div.controls {
 
-
margin-top: 5px;
 
-
height: 23px;
 
-
displaY:none;
 
-
}
 
-
div#page div.controls a {
 
-
padding: 5px;
 
-
display:none;
 
-
}
 
-
 
-
div#page div.slideshow-container {
 
-
position: relative;
 
-
clear: both;
 
-
height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
 
-
}
 
-
div#page div.loader {
 
-
position: absolute;
 
-
top: 0;
 
-
left: 0;
 
-
background-image: url('loader.gif');
 
-
background-repeat: no-repeat;
 
-
background-position: center;
 
-
width: 550px;
 
-
height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
 
-
}
 
-
div#page div.slideshow {
 
-
 
-
}
 
-
div#page div.slideshow span.image-wrapper {
 
-
display: block;
 
-
position: absolute;
 
-
top: 0;
 
-
left: 0;
 
-
}
 
-
div#page div.slideshow a.advance-link {
 
-
display: block;
 
-
width: 550px;
 
-
height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
 
-
line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
 
-
text-align: center;
 
-
}
 
-
div#page div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
 
-
text-decoration: none;
 
-
}
 
-
div#page div.slideshow img {
 
-
vertical-align: middle;
 
-
border: 1px solid #ccc;
 
-
}
 
-
div#page div.download {
 
-
display:none;
 
-
}
 
-
div#page div.caption-container {
 
-
position: relative;
 
-
clear: left;
 
-
height: 75px;
 
-
}
 
-
div#page span.image-caption {
 
-
display: block;
 
-
position: absolute;
 
-
width: 550px;
 
-
top: 0;
 
-
left: 0;
 
-
}
 
-
div#page div.caption {
 
-
padding: 12px;
 
-
}
 
-
div#page div.image-title {
 
-
font-weight: bold;
 
-
font-size: 1.4em;
 
-
}
 
-
div#page div.image-desc {
 
-
line-height: 1.3em;
 
-
padding-top: 12px;
 
-
}
 
-
div#page div.navigation {
 
-
/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
 
-
}
 
-
div#page ul.thumbs {
 
-
clear: both;
 
-
margin: 0;
 
-
padding: 0;
 
-
}
 
-
div#page ul.thumbs li {
 
-
float: left;
 
-
padding: 0;
 
-
margin: 5px 10px 5px 0;
 
-
list-style: none;
 
-
}
 
-
div#page a.thumb {
 
-
padding: 2px;
 
-
display: block;
 
-
border: 1px solid #ccc;
 
-
}
 
-
div#page ul.thumbs li.selected a.thumb {
 
-
background: #000;
 
-
}
 
-
div#page h1, div#page h2, div#page h3
 
-
{
 
-
border-style:none;
 
-
}
 
-
div#page a.thumb:focus {
 
-
outline: none;
 
-
}
 
-
div#page ul.thumbs img {
 
-
border: none;
 
-
display: block;
 
-
}
 
-
div#page div.pagination {
 
-
clear: both;
 
-
}
 
-
div#page div.navigation div.top {
 
-
margin-bottom: 12px;
 
-
height: 11px;
 
-
}
 
-
div#page div.navigation div.bottom {
 
-
margin-top: 12px;
 
-
}
 
-
div#page div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
 
-
display: block;
 
-
float: left;
 
-
margin-right: 2px;
 
-
padding: 4px 7px 2px 7px;
 
-
border: 1px solid #ccc;
 
-
}
 
-
div#page div.pagination a:hover {
 
-
background-color: #eee;
 
-
text-decoration: none;
 
-
}
 
-
div#page div.pagination span.current {
 
-
font-weight: bold;
 
-
background-color: #000;
 
-
border-color: #000;
 
-
color: #fff;
 
-
}
 
-
div#page div.pagination span.ellipsis {
 
-
border: none;
 
-
padding: 5px 0 3px 2px;
 
-
}
 
-
div#page{
 
-
        width:750px;
 
-
        border-style:none;
 
-
        background:none;}
 
-
</style>
 
-
<script type="text/javascript">
 
-
;(function($) {
 
-
$.fn.opacityrollover = function(settings) {
 
-
 
-
};
 
-
})(jQuery);
 
-
 
-
</script>
 
-
<!-- We only want the thunbnails to display when javascript is disabled -->
 
-
<script type="text/javascript">
 
-
document.write('<style>.noscript { display: none; }</style>');
 
-
</script>
 
-
</head>
 
-
<body>
 
-
<div id="page">
 
-
<div id="container">
 
-
<h1><a href="index.html">Galleriffic</a></h1>
 
-
<h2>Thumbnail rollover effects and slideshow crossfades</h2>
 
-
 
-
<!-- Start Advanced Gallery Html Containers -->
 
-
<div id="gallery" class="content">
 
-
<div id="controls" class="controls"></div>
 
-
<div class="slideshow-container">
 
-
<div id="loading" class="loader"></div>
 
-
<div id="slideshow" class="slideshow"></div>
 
-
</div>
 
-
<div id="caption" class="caption-container"></div>
 
-
</div>
 
-
<div id="thumbs" class="navigation">
 
-
<ul class="thumbs noscript">
 
-
<li>
 
-
<a class="thumb" name="leaf" href="https://static.igem.org/mediawiki/2013hs/2/2e/AUC_Turkey_Survey_AUC_1.PNG" title="Title #0">
 
-
<img src="https://static.igem.org/mediawiki/2013hs/2/2e/AUC_Turkey_Survey_AUC_1.PNG" alt="Title #0" />
 
-
</a>
 
-
<div class="caption">
 
-
<div class="download">
 
-
<a href="https://static.igem.org/mediawiki/2013hs/2/2e/AUC_Turkey_Survey_AUC_1.PNG">Download Original</a>
 
-
</div>
 
-
<div class="image-title">Title #0</div>
 
-
<div class="image-desc">Description</div>
 
-
</div>
 
-
</li>
 
-
</ul>
 
-
</div>
 
-
<div style="clear: both;"></div>
 
-
</div>
 
-
</div>
 
-
<div id="footer">&copy; 2009 Trent Foley</div>
 
-
<script type="text/javascript">
 
-
jQuery(document).ready(function($) {
 
-
// We only want these styles applied when javascript is enabled
 
-
$('div.navigation').css({'width' : '150px', 'float' : 'left'});
 
-
$('div.content').css('display', 'block');
 
-
 
-
// Initially set opacity on thumbs and add
 
-
// additional styling for hover effect on thumbs
 
-
var onMouseOutOpacity = 1.0;
 
-
$('#thumbs ul.thumbs li').opacityrollover({
 
-
mouseOutOpacity:  onMouseOutOpacity,
 
-
mouseOverOpacity:  1.0,
 
-
fadeSpeed:        'fast',
 
-
exemptionSelector: '.selected'
 
-
});
 
-
 
-
// Initialize Advanced Galleriffic Gallery
 
-
var gallery = $('#thumbs').galleriffic({
 
-
delay:                    2500,
 
-
numThumbs:                5,
 
-
preloadAhead:              5,
 
-
enableTopPager:            true,
 
-
enableBottomPager:        true,
 
-
maxPagesToShow:            4,
 
-
imageContainerSel:        '#slideshow',
 
-
controlsContainerSel:      '#controls',
 
-
captionContainerSel:      '#caption',
 
-
loadingContainerSel:      '#loading',
 
-
renderSSControls:          true,
 
-
renderNavControls:        true,
 
-
playLinkText:              'Play Slideshow',
 
-
pauseLinkText:            'Pause Slideshow',
 
-
prevLinkText:              '&lsaquo; Previous Photo',
 
-
nextLinkText:              'Next Photo &rsaquo;',
 
-
nextPageLinkText:          'Next &rsaquo;',
 
-
prevPageLinkText:          '&lsaquo; Prev',
 
-
enableHistory:            false,
 
-
autoStart:                false,
 
-
syncTransitions:          true,
 
-
defaultTransitionDuration: 900,
 
-
onSlideChange:            function(prevIndex, nextIndex) {
 
-
// 'this' refers to the gallery, which is an extension of $('#thumbs')
 
-
this.find('ul.thumbs').children()
 
-
.eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
 
-
.eq(nextIndex).fadeTo('fast', 1.0);
 
-
},
 
-
onPageTransitionOut:      function(callback) {
 
-
this.fadeTo('fast', 0.0, callback);
 
-
},
 
-
onPageTransitionIn:        function() {
 
-
this.fadeTo('fast', 1.0);
 
-
}
 
-
});
 
-
});
 
-
</script>
 
-
</body>
 
-
</html>
 

Latest revision as of 12:24, 22 June 2013