Template:Team:KIT-Kyoto/browser

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script type="text/javascript">
+
<style type="text/css">
-
var _ua = (function(){
+
@-moz-document url-prefix() {
-
return {
+
    #kit_browser {
-
Gecko:'MozAppearance' in document.documentElement.style,
+
        display:none;
-
}
+
-
})();
+
-
    if(!_ua.Gecko){
+
-
    document.getElementById('kit_browser').innerHTML = 'We recommend FireFox';  
+
     }
     }
-
</script>
+
}
 +
</style>

Revision as of 07:06, 11 September 2014