Template:Uppsala-SwedenTemplatetest

From 2011.igem.org

(Difference between revisions)
 
(62 intermediate revisions not shown)
Line 1: Line 1:
__NOTOC__<html lang="en">  
__NOTOC__<html lang="en">  
<head>  
<head>  
-
 
-
<script type="text/javascript">
 
-
  var _gaq = _gaq || [];
 
-
  _gaq.push(['_setAccount', 'UA-65298-13']);
 
-
  _gaq.push(['_trackPageview']);
 
-
  (function() {
+
<!-- START Top enlarge function -->
-
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+
-
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+
-
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+
-
  })();
+
-
</script>
 
-
<style>
 
-
h2{color:#96d446; }
 
-
h1, h2, h3, h4, h5{font-family:"Vollkorn", serif; font-size:200%; line-height:35px; border-bottom:0; margin-bottom:5px; border-top:1px dotted #e3e3e3; margin-top:10px; padding-top:30px; font-weight:normal;}
 
-
h2.noline{ border-top:0; margin-top:0; padding-top:0; margin-bottom:0; line-height:20px; padding-top:2px; font-size:20px;}
 
-
h2.topheader{border-top:0; padding-top:0; margin-top:5px;}
 
-
</style>
+
<style type="text/css">
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+
ul.thumb {
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
+
float: left;
-
<script type='text/javascript' src='http://www.srcf.ucam.org/~wac26/iGEM/jquery.lavalamp-1.3.4b.js'></script>
+
list-style: none;
-
<script type='text/javascript' src='http://www.srcf.ucam.org/~wac26/iGEM/jquery.easing.1.3.js'></script>
+
margin: 0; padding: 10px;
 +
width: 360px;
 +
}
 +
ul.thumb li {
 +
margin: 0; padding: 5px;
 +
float: left;
 +
position: relative;  /* Set the absolute positioning base coordinate */
 +
width: 110px;
 +
height: 110px;
 +
}
 +
ul.thumb li img {
 +
width: 100px; height: 100px; /* Set the small thumbnail size */
 +
-ms-interpolation-mode: bicubic; /* IE Fix for Bicubic Scaling */
 +
border: 1px solid #ddd;
 +
padding: 5px;
 +
background: #f0f0f0;
 +
position: absolute;
 +
left: 0; top: 0;
 +
}
 +
ul.thumb li img.hover {
 +
background:url(thumb_bg.png) no-repeat center center;  /* Image used as background on hover effect
 +
border: none; /* Get rid of border on hover */
 +
}
-
<link href='http://fonts.googleapis.com/css?family=Nobile:regular,bold' rel='stylesheet' type='text/css'>
 
 +
</style>
 +
 +
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">  
<script type="text/javascript">  
-
$('.left-menu ul')[0].innerHTML="<li><a href=\"https://2010.igem.org\" style=\"font-weight:bold; text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML;
+
$(document).ready(function(){
-
$(function() {
+
 
-
$('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
+
//Larger thumbnail preview
 +
 
 +
$("ul.thumb li").hover(function() {
 +
$(this).css({'z-index' : '10'});
 +
$(this).find('img').addClass("hover").stop()
 +
.animate({
 +
marginTop: '-110px',
 +
marginLeft: '-110px',
 +
top: '50%',
 +
left: '50%',
 +
width: '500px',
 +
height: '500px',
 +
padding: '20px'
 +
}, 200);
 +
 +
} , function() {
 +
$(this).css({'z-index' : '0'});
 +
$(this).find('img').removeClass("hover").stop()
 +
.animate({
 +
marginTop: '0',  
 +
marginLeft: '0',
 +
top: '0',
 +
left: '0',
 +
width: '100px',
 +
height: '100px',
 +
padding: '5px'
 +
}, 400);
});
});
-
$(function(){
+
 
-
        $('ul#accmenu').accordion({
+
//Swap Image on Click
-
              header:'.head',
+
$("ul.thumb li a").click(function() {
-
              fillSpace:false,
+
-
              autoHeight:false,
+
var mainImage = $(this).attr("href"); //Find Image Name
-
              navigation:true,
+
$("#main_view img").attr({ src: mainImage });
-
              animated: 'easeslide'})
+
return false;
 +
});
 +
});
});
-
</script>
+
</script>  
-
<script type="text/javascript" src="/Team:Cambridge/lightbox/js?action=raw"></script>
+
 
 +
<!-- END Top enlarge function -->
 +
 
 +
 
 +
 
 +
 
 +
<!-- START Lower enlarge function -->
 +
 
 +
 
 +
 
 +
<style type="text/css">
 +
 
 +
a.p1 {display:block; width:75px; height:75px; text-decoration:none; background:#fff; border:0; margin:20px 0 0 100px; float:left;}
 +
a.p1 img {display:block; border:0;}
 +
a.p1:hover {text-decoration:none; background-color:#8c97a3; color:#000; position:relative; z-index:500;}
 +
a.p1 b {display:block; position:absolute; left:-9999px; padding:10px; opacity:0;
 +
 
 +
-o-box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4);
 +
-icab-box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4);
 +
-khtml-box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4);
 +
-moz-box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4);
 +
-webkit-box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4);
 +
box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4);
 +
 
 +
-o-border-radius: 8px;
 +
-icab-border-radius: 8px;
 +
-khtml-border-radius: 8px;
 +
-moz-border-radius: 8px;
 +
-webkit-border-radius: 8px;
 +
border-radius: 8px;
 +
 
 +
-webkit-transition: opacity 0.6s ease-in-out;
-
<link href='http://fonts.googleapis.com/css?family=Vollkorn:regular,bold&subset=latin' rel='stylesheet' type='text/css'>
 
-
<style>
 
-
/**
 
-
* jQuery lightBox plugin
 
-
* This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 
-
* and adapted to me for use like a plugin from jQuery.
 
-
* @name jquery-lightbox-0.5.css
 
-
* @author Leandro Vieira Pinho - http://leandrovieira.com
 
-
* @version 0.5
 
-
* @date April 11, 2008
 
-
* @category jQuery plugin
 
-
* @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 
-
* @license CCAttribution-ShareAlike 2.5 Brazil - http://creativecommons.org/licenses/by-sa/2.5/br/deed.en_US
 
-
* @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 
-
*/
 
-
#jquery-overlay {
 
-
position: absolute;
 
-
top: 0;
 
-
left: 0;
 
-
z-index: 90;
 
-
width: 100%;
 
-
height: 500px;
 
}
}
-
#jquery-lightbox {
+
 
-
position: absolute;
+
 
-
top: 0;
+
a.p1:hover b {top:-65px; left:110px; padding:10px; border:1px solid #aaa; background:#fff; opacity:1.0;
-
left: 0;
+
 
-
width: 100%;
+
-
z-index: 100;
+
-
text-align: center;
+
-
line-height: 0;
+
}
}
-
#jquery-lightbox a img { border: none; }
+
 
-
#lightbox-container-image-box {
+
#info {z-index:100; height:22em;}
-
position: relative;
+
 
-
background-color: #fff;
+
#info {z-index:100; height:22em;}
-
width: 250px;
+
 
-
height: 250px;
+
 
-
margin: 0 auto;
+
<!-- END Lower enlarge function -->
-
}
+
 
-
#lightbox-container-image { padding: 10px; }
+
 
-
#lightbox-loading {
+
</style>
-
position: absolute;
+
 
-
top: 40%;
+
 
-
left: 0%;
+
 
-
height: 25%;
+
 
-
width: 100%;
+
 
-
text-align: center;
+
<!-- START OPACITY TEST -->
-
line-height: 0;
+
 
-
}
+
<style type="text/css">
-
#lightbox-nav {
+
 
-
position: absolute;
+
 
-
top: 0;
+
a.opac img{
-
left: 0;
+
opacity:.40;
-
height: 100%;
+
filter:alpha(opacity=40);
-
width: 100%;
+
filter: “alpha(opacity=40)”;
-
z-index: 10;
+
-
}
+
-
#lightbox-container-image-box > #lightbox-nav { left: 0; }
+
-
#lightbox-nav a { outline: none;}
+
-
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
+
-
width: 49%;
+
-
height: 100%;
+
-
zoom: 1;
+
-
display: block;
+
-
}
+
-
#lightbox-nav-btnPrev {
+
-
left: 0;
+
-
float: left;
+
-
}
+
-
#lightbox-nav-btnNext {
+
-
right: 0;
+
-
float: right;
+
-
}
+
-
#lightbox-container-image-data-box {
+
-
font: 10px Verdana, Helvetica, sans-serif;
+
-
background-color: #fff;
+
-
margin: 0 auto;
+
-
line-height: 1.4em;
+
-
overflow: auto;
+
-
width: 100%;
+
-
padding: 0 10px 0;
+
-
}
+
-
#lightbox-container-image-data {
+
-
padding: 0 10px;
+
-
color: #666;
+
-
}
+
-
#lightbox-container-image-data #lightbox-image-details {
+
-
width: 70%;
+
-
float: left;
+
-
text-align: left;
+
-
}
+
-
#lightbox-image-details-caption { font-weight: bold; }
+
-
#lightbox-image-details-currentNumber {
+
-
display: block;
+
-
clear: left;
+
-
padding-bottom: 1.0em;
+
-
}
+
-
#lightbox-secNav-btnClose {
+
-
width: 66px;  
+
-
float: right;
+
-
padding-bottom: 0.7em;
+
}
}
-
</style>
+
a.opac:hover img{
-
<script>
+
opacity:1;
-
$(document).ready(function() {
+
filter:alpha(opacity=100);
-
$('a.lightbox').lightBox(); // Select all links with lightbox class
+
filter: “alpha(opacity=100);
-
$('a.image').each(function(idx, item) {
+
}  
-
        var src = item.firstChild.src;
+
-
src=src.replace(/wiki\/images\/thumb\/(.+)\/(.+)\/(.+)\/(.+)\..../,"wiki/images/$1/$2/$3");
+
-
item.href=src;
+
-
    });
+
-
$('a.image').lightBox();
+
-
});
+
-
</script>
+
-
<link rel="stylesheet" type="text/css" href="https://2010.igem.org/Team:Cambridge/thecss?action=raw&ctype=text/css" />
+
</style>
 +
 +
 +
<!-- END OPACITY TEST -->
</head>  
</head>  
 +
<body>  
<body>  
-
<style>
+
 
-
body{background-image:url('https://static.igem.org/mediawiki/2010/a/a9/Cam-Theoback.png');
+
 
-
background-position:top center;
+
 
-
background-repeat:repeat-y
+
 
-
}
+
<ul class="thumb">
 +
<li><a href="#"><img src="https://static.igem.org/mediawiki/2011/c/c3/Erik.jpg" alt="" /></a></li>
 +
 
 +
</ul>
 +
 
 +
 
 +
 
 +
<div id="info">
 +
 
 +
<a class="p1" href="#v"><img src="https://static.igem.org/mediawiki/2011/c/c3/Erik.jpg" alt="" /><b><img class="large" src="https://static.igem.org/mediawiki/2011/7/73/Erik_L.jpg" alt="" /></b></a>
 +
 
 +
 
 +
</div>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
</div>
 +
 
 +
 
 +
<a href="http://www.uu.se/" class="opac"><img src="https://static.igem.org/mediawiki/2011/7/7a/UUlogo.png" alt="css opac" /></a>
 +
 
 +
 
 +
 
 +
<style type="text/css">
 +
 
 +
 
 +
 
 +
.rollover Antonio {
 +
    background: url(https://static.igem.org/mediawiki/2011/6/67/Antonio-UU.jpg) no-repeat 0px 0px;
 +
    width: 204px;
 +
    height: 218px;
 +
    display: block;
 +
}
 +
.rollover Antonio:hover {
 +
    background-position: -204px;
 +
        }
 +
 
 +
.rollover Lidaw {
 +
    background: url(https://static.igem.org/mediawiki/2011/5/5d/Lidaw-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Lidaw:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
.rollover Lei {
 +
    background: url(https://static.igem.org/mediawiki/2011/d/d3/Lei-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Lei:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
.rollover Tomas {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/76/Tomas-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Tomas:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
.rollover Erik {
 +
    background: url(https://static.igem.org/mediawiki/2011/a/ac/Erik-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Erik:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
 
 +
.rollover Amin {
 +
    background: url(https://static.igem.org/mediawiki/2011/f/f9/Amin-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Amin:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
 
 +
.rollover Sibel {
 +
    background: url(https://static.igem.org/mediawiki/2011/c/c0/Sibel-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Sibel:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
.rollover Cherno {
 +
    background: url(https://static.igem.org/mediawiki/2011/d/df/Cherno-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Cherno:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
 
 +
.rollover Johanna {
 +
    background: url(https://static.igem.org/mediawiki/2011/2/28/Johanna-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Johanna:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
.rollover Mohammed {
 +
    background: url(https://static.igem.org/mediawiki/2011/5/5c/Mohammed-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Mohammed:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
 
 +
 
 +
.rollover Laura {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/70/Laura-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Laura:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
 
 +
.rollover Hamid {
 +
    background: url(https://static.igem.org/mediawiki/2011/0/0b/Hamid-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Hamid:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
.rollover Pikkei {
 +
    background: url(https://static.igem.org/mediawiki/2011/5/5b/Pikkei-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Pikkei:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
 
 +
.rollover Karl {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/74/Karl-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Karl:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
 
 +
.rollover Phani {
 +
    background: url(https://static.igem.org/mediawiki/2011/7/7b/Phani-UU.jpg) no-repeat 0px 0px;
 +
    width: 192px;
 +
    height: 201px;
 +
    display: block;
 +
}
 +
.rollover Phani:hover {
 +
    background-position: -192px;
 +
}
 +
 
 +
.rollover Eugenia {
 +
    background: url(https://static.igem.org/mediawiki/2011/b/ba/Eugenia-UU.jpg) no-repeat 0px 0px;
 +
    width: 200px;
 +
    height: 200px;
 +
    display: block;
 +
}
 +
.rollover Eugenia:hover {
 +
    background-position: -200px;
 +
}
 +
 
 +
}
</style>
</style>
-
<div id="wrap">
 
-
<div id="header"><img align="center" style="margin-bottom:0px; padding:0;" src="https://static.igem.org/mediawiki/2010/d/d4/CamBillHeaderSq.png" usemap="#headermap" alt="E. glowli"> </div>
 
-
<map name="headermap">
 
-
              <area shape="rect" coords="10,30,250,240" href="https://2010.igem.org/Team:Cambridge" />
 
-
              <area shape="rect" coords="888,177,942,201" href="http://www.flickr.com/people/roberts87/" />
 
-
        </map>
 
-
<div id="left">
 
-
 
-
<ul id="accmenu">
 
-
<li><a href="/Team:Uppsala-Sweden">Home</a></li>
+
<div align="right" class="rollover"><Antonio href="#"></a></div>
-
<li><a href="/Team:Uppsala-Sweden/Team">Team</a></li>
+
 +
<div align="right" class="rollover"><Lidaw href="#"></a></div>
-
<li><a class="head" href="/Team:Uppsala-Sweden/Project">Project</a>
+
<div align="right" class="rollover"><Lei href="#"></a></div>
-
<ul class="llmenu llmenugreen">
+
-
<li><a href="/Team:Uppsala-Sweden/Project/Model">Model</a></li>
+
-
<li><a href="/Team:Uppsala-Sweden/Project/Protocol">Protocol</a></li>
+
 +
<div align="right" class="rollover"><Tomas href="#"></a></div>
-
</ul>
+
<div align="right" class="rollover"><Erik href="#"></a></div>
-
</li>
+
-
<li><a class="head" href="/Team:Uppsala-Sweden/Notebook">Notebook</a>
+
<div align="right" class="rollover"><Amin href="#"></a></div>
-
<ul class="llmenu llmenugreen">
+
-
<li><a href="/Team:Uppsala-Sweden/Notebook#Week_1">Week 1</a></li>
+
-
<li><a href="/Team:Uppsala-Sweden/Notebook#Week_2">Week 2</a></li>
+
-
<li><a href="/Team:Uppsala-Sweden/Notebook#Week_3">Week 3</a></li>
+
-
</ul>
+
<div align="right" class="rollover"><Sibel href="#"></a></div>
-
</li>
+
 +
<div align="right" class="rollover"><Cherno href="#"></a></div>
-
</ul>
+
<div align="right" class="rollover"><Johanna href="#"></a></div>
 +
 
 +
<div align="right" class="rollover"><Mohammed href="#"></a></div>
 +
 
 +
<div align="right" class="rollover"><Laura href="#"></a></div>
 +
 
 +
<div align="right" class="rollover"><Hamid href="#"></a></div>
 +
 
 +
<div align="right" class="rollover"><Pikkei href="#"></a></div>
 +
 
 +
<div align="right" class="rollover"><Karl href="#"></a></div>
 +
 
 +
<div align="right" class="rollover"><Phani href="#"></a></div>
 +
 
 +
<div align="right" class="rollover"><Eugenia href="#"></a></div>
-
</p>
+
</body>
-
</div>
+
</html>
-
<div id="right">
+

Latest revision as of 15:24, 8 September 2011

css opac