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: | ||
if (window.screen) { |
if (window.screen) { |
||
imageBackground= "url(descubriendo/background.php?anchoPantalla="+ screen.width + ");"; |
imageBackground= "url(descubriendo/background.php?anchoPantalla="+ screen.width + ");"; |
||
| ⚫ | |||
| − | alert(imageBackground); |
||
| ⚫ | |||
} |
} |
||
Revisión del 06:25 30 nov 2009
if (window.screen) {
imageBackground= "url(descubriendo/background.php?anchoPantalla="+ screen.width + ");";
document.body.style.backgroundImage="url(background.png)";
}
Debug data:
