HighDots Forums  

[?] Opera7 e offsetTop-offsetParent

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


Discuss [?] Opera7 e offsetTop-offsetParent in the Javascript (Italian) forum.



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

Default [?] Opera7 e offsetTop-offsetParent - 11-09-2004 , 06:52 AM






Mi restituisce valori errati.
alert(oggetto.offsetTop) restituisce valore corretti con mozilla, firefox,
IE6, mentre con Opera mi scompaiono misteriosamente una trentina di pixel.
Ho trovato in giro che è bacato l'offsetXXX (sbaglia a restituire i valori)
con Opera 7 (con Opera 6 leggo che manco esisteva, ma non mi interessa).

Conoscete un work-arond per questo problema? (ho aggiunto un
"if(window.opera) somma30px" ma è uno schifo.

Avevo abbandonato Opera dopo aver visto la 5; adesso leggo in giro che
"finalmente è conforme agli standard"...non mi sembra.

--
"e mai che mi sia venuto in mente
di essere più ubriaco di voi
di essere molto più ubriaco di voi"
F.D.A.

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.