Team:Korea U Seoul/template/Main

From 2012.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 6: Line 6:
userAgent = new String(navigator.userAgent);
userAgent = new String(navigator.userAgent);
if(userAgent.search("iPhone")>-1){
if(userAgent.search("iPhone")>-1){
-
alert('Welcome iPhone User!');
+
alert('Welcome iPhone User! You need Flash supporting web brower to fully use our wiki page');
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
}
}
else if(userAgent.search("iPad")>-1){
else if(userAgent.search("iPad")>-1){
-
alert('Welcome iPad User!');
+
alert('Welcome iPad User! You need Flash supporting web brower to fully use our wiki page');
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
}
}
-
else if(userAgent.search("Mozilla")>-1){
+
else if(userAgent.search("iPod")>-1){
-
alert('Welcome iPod User!
+
alert('Welcome iPod User! You need Flash supporting web brower to fully use our wiki page');
-
You need Flash supporting web brower to fully use our wiki page');
+
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
}
}
Line 29: Line 28:
<body onLoad="browserCheck()">
<body onLoad="browserCheck()">
-
<div id="front_logo" style="width:200; height:40;">
+
 
-
<a href="https://2012.igem.org/Team:Korea_U_Seoul/Main">
+
-
<img src="https://static.igem.org/mediawiki/2012/f/fd/KUS_Frontlogo.jpg" width="200px" height="40px"> </a>
+
-
</div>
+
<div id="front_flash" style="width:922; height:691;">
<div id="front_flash" style="width:922; height:691;">
<embed src="https://static.igem.org/mediawiki/2012/6/63/KUS_Mainf.swf" width="922" height="691">
<embed src="https://static.igem.org/mediawiki/2012/6/63/KUS_Mainf.swf" width="922" height="691">

Latest revision as of 03:33, 27 September 2012