Template:Team:KIT-Kyoto/browser

From 2014.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 19: Line 19:
  'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
  'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
  Meiryo, メイリオ, sans-serif;
  Meiryo, メイリオ, sans-serif;
 +
z-index:10;
}
}
#kit_browser a:link {  
#kit_browser a:link {  
Line 35: Line 36:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function() {   
$(document).ready(function() {   
-
setTimeout("animation()",600);   
+
setTimeout("animation()",1200);   
});   
});   
function animation(){
function animation(){
-
$("#kit_browser").animate({'left':'0px'},'slow','linear');
+
$("#kit_browser").animate({'left':'0px'},'slow','swing');
}
}
$(function(){
$(function(){
$("#kit_browser a").click(  
$("#kit_browser a").click(  
           function(){
           function(){
-
             $("#kit_browser").animate({'left':'-340px'},'slow','linear');
+
             $("#kit_browser").animate({'left':'-340px'},'slow','swing');
});
});
});
});
</script>
</script>
 +
 +
 +
<div id="kit_browser">Your browser is <strong>NOT</strong> FireFox.<br>We recommend FireFox. <a href="javascript:void(0);">Click here to close.</a></div>

Latest revision as of 04:12, 18 September 2014

Your browser is NOT FireFox.
We recommend FireFox. Click here to close.