I am not very good at javascript, and i was wondering if anyone could rewrite this script so that it will work in a Mozilla browser (from [url]www.mozilla.org
>is there any way to rewrite the script or the page so that it performs
> the same function in windows ie then?
I thought I had given sufficient pointers to do that in my comments…
As for opacity. the code will look very similar; you’ll need to set object.style.MozOpacity instead of setting object.filters.whatever (and probably condition that on the presence of document.all).
Boris
I have the script at [url]http://www.windedhero.com/cgi-bin/fade.js.
the goal of this script is to make an object fade to 80% opacity when a mouse passes over it, and to return to 100% opacity after the mouse moves out. there is an active example at [url]http://www.windedhero.com/board/index.shtml,
[upl-file uuid=d2c85e30-8c05-468a-9938-c4d6c2c9562a size=1kB]fade.txt