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