Team:Tianjin/header

From 2012.igem.org

(Difference between revisions)
Line 3: Line 3:
<link rel="stylesheet" href="https://2012.igem.org/Team:Tianjin/page.css?action=raw&ctype=text/css" />
<link rel="stylesheet" href="https://2012.igem.org/Team:Tianjin/page.css?action=raw&ctype=text/css" />
<link rel="stylesheet" href="https://2012.igem.org/Team:Tianjin/fixedtest.css?action=raw&ctype=text/css" />
<link rel="stylesheet" href="https://2012.igem.org/Team:Tianjin/fixedtest.css?action=raw&ctype=text/css" />
 +
<script type="text/javascript" src="https://2012.igem.org/Team:Tianjin/js/jquery-1.8.0.js?action=raw&ctype=text/javascript"></script>
<style>
<style>
body{background:{{{color}}};}
body{background:{{{color}}};}
</style>
</style>
 +
 +
<script type="text/javascript">
 +
$(document).ready(function(){
 +
  $(".navtext").css("opacity","0");
 +
  $(".navtext").hover(function(){
 +
  $(this).stop().animate({opacity:1},'slow');},
 +
  function () {
 +
  $(this).stop().animate({opacity: 0}, "slow");
 +
});
 +
});
 +
</script>
 +
</html>
</html>
Line 33: Line 46:
<div id="nav-9" class="block" style="background:{{{Bgc9}}}">[[file:{{{B9}}}|link={{{url9}}}]]
<div id="nav-9" class="block" style="background:{{{Bgc9}}}">[[file:{{{B9}}}|link={{{url9}}}]]
<div id="navtext-9" class="navtext"></div></div>
<div id="navtext-9" class="navtext"></div></div>
-
<html><div id="nav-A" class="block" style="background:#aaa"><a href="#" target='_top'><img src="https://static.igem.org/mediawiki/2012/e/e8/TJU2012-Hp-BKT-ico-s.png"></a>
+
<html><div id="nav-A" class="block" style="background:#aaa;position:relative;"><a href="#" target='_top'><img src="https://static.igem.org/mediawiki/2012/e/e8/TJU2012-Hp-BKT-ico-s.png"></a>
-
<div id="navtext-A" class="navtext"></div></div></html>
+
<div id="navtext-A" class="navtext" style="position:absolute;left:10px;top:10px;"><a href='#' target='_top'><img src="https://static.igem.org/mediawiki/2012/7/71/TJU2012-Hp-Topt-ico-s.png"></a></div></div></html>
</div></div>
</div></div>
</div>
</div>

Revision as of 08:32, 24 August 2012