Originariamente inviato da Reale_Augello
... così:

codice:
<script language="JavaScript">

function Sfondo() {
 var corpo=document.getElementById('mybody');
 var a=screen.height;
 var l=screen.width;
 if (a==600 && l==800) corpo.style.backgroundImage='url("sfondo800.gif")';
 else if (a==768 && l==1024) corpo.style.backgroundImage='url("sfondo1024.gif")';
}

</script>
Da avviare così:

codice:
<body onLoad="Sfondo();" id="mybody">
Ciao e fammi sapere se ci sono problemi !
Come posso adattare questo codice per gestire il backhround di una cella ?

thks