You are assigning to the readystate handler, the return value of the function that creates it. This is going to cause infinite recursion.
xmlReq2.onreadystatechange = function()
{
.........
}Also the switch-case constuct is pointless here.
It would help if you would explain your scenario.
A common use is to provide an alternative image if the original can't be loaded.<img src='http://someremotesite/pics/353.jpg' onerror="this.src='backup.gif'">A safer version would be:<img src='http://someremotesite/pics/353.jpg'...
It looks line 170
crossobj.style.KhtmlOpacity=obj.degree/100
should read:
crossobj.style.KhtmlOpacity=this.degree/100;
I think someone forgot to change it when they changed the other references.
I can think of a few tweaks that I could try, but like virtually everything from that site, the code is not easy on the eye.
I do have an alternative that just produces a styleable %age display, based on the image sizes you specify.
Upon completion you can navigate to a new document or run some...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.