HighDots Forums  

Re: altezza iFrame e !DOCTYPE

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss Re: altezza iFrame e !DOCTYPE in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nonce999
 
Posts: n/a

Default Re: altezza iFrame e !DOCTYPE - 04-26-2008 , 07:00 AM






zer0.shock (AT) libero (DOT) it (ZER0) wrote in
news:1ig03x3.y2bbl51drn1mrN%zer0.shock (AT) libero (DOT) it:

Quote:
Hai impostato anche l'height del body e dell'html?
no



Quote:
Questo perché vai in quirks mode e non sei in standard mode.
Quindi "funziona come ti aspetti" perché sei abituato a lavorare
in quirks e non in standard mode.
ma c'è un modo per farlo andare in un modo piuttosto che nell'altro
o funziona tipo pilota automatico quando non sa come interpretarlo?


Quote:
Anche di questo se ne è già parlato.
In sintesi, in standard mode devi utilizzare:

document.documentElement.offsetWidth
document.documentElement.offsetHeight

non mi servono più ora, ma mettiamo nel cassetto.
var ifrm = document.getElementById("StartFrm");
ifrm.attachEvent("onload", Nuovo);
anche questo è perfetto

Grazie di tutto!!!!

--
http://interno.netsons.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.