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