View Full Version : mouse on, mouse off

11-22-2010, 06:47 AM
hi, when i mouseon an image, how can i make it so, the image i'm mousingon and a second image both fade into alternate images, and then fade back out to the original images when i mouseoff? here is an example- http://www.javascript-fx.com/development/ifctest/ifctest.html . any help would be most appreciated.

Old Pedant
11-22-2010, 07:12 AM
So why not use that code?

It says it's share ware.

11-22-2010, 07:52 AM
i tried, but all i end up with is a plain black page... i don't have all the js listed in the source and don't know where to find them.

11-22-2010, 05:45 PM
The src elements on the SCRIPT tags are relative paths to the javascript files. For example, to get your page to load JSFX_Layer.js you would either point your browser to http://www.javascript-fx.com/development/ifctest/javascript/JSFX_Layer.js and download it into a directory called "javascript" in your web folder, or prepend "http://www.javascript-fx.com/development/ifctest/" to the src to make it absolute.