OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Fun with the DOM -- setting <button> type
This page's ID:
22214
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] [b]Bugimus said:[/b] poi, please go easy on me. [/quote]:eek: what does it mean ? I'm not a croquemitaine ( the French version of the "bogeyman" ). Your code looks nice. The only thing that puzzles me is that you base your cross browser ( backward ) compatibility on a browser detection instead of a ( forward compatibiliy based on ) property detection. For instance I would write the [i]getoOpacity()[/i] that way :[code]function getoOpacity() { if( this.style ) { if( this.style.opacity ) return this.style.opacity // css3 version if( this.style.MozOpacity ) return this.style.MozOpacity } if( this.filters && this.filers.alpha && this.filters.alpha.opacity ) return this.filters.alpha.opacity return 1 }[/code]But it's certainly not the best way. [url=http://www.p01.org/] [img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »