Diferencia entre revisiones de «MediaWiki:Descubriendo09.js»
De Descubriendo la Física
Ir a la navegaciónIr a la búsqueda| Línea 3: | Línea 3: | ||
linea="<style> body{ background-image:url('/descubriendo/background.php?anchoPantalla="+ window.screen.width + "');}</style>"; |
linea="<style> body{ background-image:url('/descubriendo/background.php?anchoPantalla="+ window.screen.width + "');}</style>"; |
||
alert(linea); |
alert(linea); |
||
| − | //linea="<style> body{ background-image:url('/descubriendo/blankbutton.png');}</style>"; |
||
| − | document.write(linea); |
||
| − | //alert(linea); |
||
} |
} |
||
Revisión del 11:56 9 dic 2009
if (window.screen) {
linea="<style> body{ background-image:url('/descubriendo/background.php?anchoPantalla="+ window.screen.width + "');}</style>";
alert(linea);
}
Debug data:
