Team:Sevilla/test3

From 2011.igem.org

(Difference between revisions)
Line 182: Line 182:
 +
<!--===================================CANVAS================================================-->
-
 
+
function SupportHTML5(){
-
 
+
try{
 +
  document.createElement("canvas").getContext('2d');
 +
  return true;
 +
}catch(e){
 +
  return false;
 +
}
 +
}
<script>
<script>

Revision as of 10:23, 17 April 2011

Loading...pulsa F5
function SupportHTML5(){ try{ document.createElement("canvas").getContext('2d'); return true; }catch(e){ return false; } } Este texto se muestra para los navegadores no compatibles con canvas.
Por favor, utiliza Firefox, Chrome, Safari u Opera.