Team:Korea U Seoul/template/Main

From 2012.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>
<head>
 +
<script type="text/javascript">
 +
function browserCheck(){
 +
userAgent = new String(navigator.userAgent);
 +
if(userAgent.search("iPhone")>-1){
 +
alert('Welcome iPhone User!');
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
 +
else if(userAgent.search("iPad")>-1){
 +
alert('Welcome iPad User!');
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
 +
else if(userAgent.search("iPod")>-1){
 +
alert('Welcome iPod User!');
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
 +
}
 +
 +
function gotoMain(){
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
 +
 +
</script>
</head>
</head>
-
<body>
+
<body onLoad="browserCheck()">
<div id="front_logo" style="width:200; height:40;">
<div id="front_logo" style="width:200; height:40;">
<a href="https://2012.igem.org/Team:Korea_U_Seoul/Main">  
<a href="https://2012.igem.org/Team:Korea_U_Seoul/Main">  

Revision as of 01:37, 27 September 2012