Template:Team:KIT-Kyoto/first

From 2014.igem.org

(Difference between revisions)
Line 2: Line 2:
<div class="clear"><hr /></div>
<div class="clear"><hr /></div>
<div id="first">
<div id="first">
-
<img src="https://static.igem.org/mediawiki/2014/7/7f/Kitlogo.png" width="120" height="120" alt="kit" style="position:fixed;top:50%;left:50%;margin-top:-60px;margin-left:-60px;"><br>
+
<img src="https://static.igem.org/mediawiki/2014/7/7f/Kitlogo.png" width="120" height="120" alt="kit" style="top:50%;left:50%;margin-top:-30px;margin-left:-60px;"><br>
<div id="pc"><a href="javascript:void(0);">PC</a></div> or <div id="#mobile"><a href="javascript:void(0);" id="mobile">Cell phone</a></div>
<div id="pc"><a href="javascript:void(0);">PC</a></div> or <div id="#mobile"><a href="javascript:void(0);" id="mobile">Cell phone</a></div>
</div>
</div>
Line 10: Line 10:
$("#container,#SideMenu").css({opacity:'0'});
$("#container,#SideMenu").css({opacity:'0'});
$("#pc a").click(function(){
$("#pc a").click(function(){
-
                 $("#container,#SideMenu").stop().animate({opacity:'1'},1000);
+
                 $("#container,#SideMenu").stop().animate({opacity:'1'},1500);
         $("#first").css({display:'none'});
         $("#first").css({display:'none'});
});   
});   

Revision as of 12:14, 13 September 2014