OZONE Asylum
Forums
Site reviews!
redsplat.org
This page's ID:
31085
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
As it says on the tin, reponseXML is for XML. Valid XHTML is valid XML. The question is: is the thing you request valid X(HT)ML ? If it's not then kaboom the responseXML will be null or an empty document. Oh and using innerHTML the way you do ( [i]element.innerHTML=xmlhttp.responseText;[/i] ) is bad. Very, very bad. It is subject to script, style, iframe injections... if you don't have a strict sanity check of the content sent by the server, esp. since you also have a comment section where anyone can come and post something. I noticed the line [i]setInterval(fadeOut,'20');[/i]. The second argument of [i]setInterval[/i] is a number, not a string. Ok, the type coercion of JavaScript saves you here, but meh In your [i]fadeIn[/i] and [i]fadeOut[/i] methods, you should set the actual opacity after clipping it to the range [ 0 ; 1 ], not before. [url=http://www.p01.org/][sigrotate][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love_small.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_charly.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_dk.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_reason.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_galaxy.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_neon88x31.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_teapot.png[/img][/sigrotate][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »