Thanks jpadie for the reply.
I've already figured out how to solve the bugs in my script.
And you're right. I used large scale images (i.e. 1000x1000), which were scaled to 100x100 that caused the CPU load on Firefox.
I have several thumbnails on my page which I would like to enlarge on mouseover and revert them to their initial position on mouseout. So when the user mouses over any of the aforementioned thumbnails onmouseover is called triggering MLTo function and when the mouse is out, onmouseout triggers...
I'm trying to achieve this level of smoothness http://www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_13
but I can't.
Whenever I try increasing the value of pixels, let's say by 5 times
objT=objT - (def1*5);
obj.style.top = objT + "px";
objL-=5;
obj.style.left =...
It is for any browser.
I'm not currently using HTML5, just learning Javascript and prefer not using any framework/library.
What do you mean by "not clearing the screen"?
What is it supposed to do?
Could you please post an example or some link?
And thanks for the reply!
I'm currently working on a project which basically involves dragging the object, after which the script begins sorting the elements inside the parent DIV and when dropped, the dragged object should return to the "placeHolder's" position.
Well everything works fine, but the last part. I've used...
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.