/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script> //WEBKIT == CHROME if ($.browser.webkit) { document.write("HOLA CHROME"); }else if ($.browser.msie){ if ($.browser.version>=7){ if(screen.width<=1024){ document.write("<link rel='stylesheet' type='text/css' href='http://universitarios.cl/universidades/images/2011/style.css' />"); } if((screen.width>=1088)&&(screen.width<=1360)){ document.write("<link rel='stylesheet' type='text/css' href='http://universitarios.cl/universidades/images/2011/css_1280_1360.css' />") } if(screen.width>=1600){ document.write(" <link rel='stylesheet' type='text/css' href='http://universitarios.cl/universidades/images/2011/1600.css' media='screen' />"); } }else{ document.write("HOLA INTENET EXPLORER 6"); } }else if ($.browser.mozilla) { if((screen.width<=1024)) { document.write("<link rel='stylesheet' type='text/css' href='http://universitarios.cl/universidades/images/2011/style.css' />"); } if((screen.width>=1088)&&(screen.width<=1360)) { document.write("<link rel='stylesheet' type='text/css' href='http://universitarios.cl/universidades/images/2011/css_1280_1360.css' />"); } if(screen.width>=1600){ document.write("<link rel='stylesheet' type='text/css' href='http://universitarios.cl/universidades/images/2011/1600.css' />"); } } </script>