Team:Korea U Seoul/template/Main

From 2012.igem.org

(Difference between revisions)
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! You need Flash supporting web brower to fully use our wiki page');
alert('Welcome iPod 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";

Revision as of 02:20, 27 September 2012