From: Josep M. i T. <jm...@ne...> - 2000-12-13 04:02:18
|
Hi all, I've made a widget that I call SimpleRollOver because I simply use a DynLayer and set an image using a <IMG> tag. Then I apply a link using an anchor or a map. So I don't use events, just to keep it simple. I can use as many images as you want and seems to work well under IE4, IE5 and NS4.7. The problem is when you resize the window under NS4.7, the layer is deleted and created by the resize fix, but then the images doesn't swap. I've tried to change the NAME attribute of the IMG tag every time it is created (this is the version that I've attached), and it sometimes works and sometimes not, but the NS always crashes. If I can't solve this bug I'll try to make it use DynImage and layer events, but I liked it this way because it was so simple! Or I may include a "if(is.ns4)history.go(0);" in the resize handler! TIA, Josep P.D.: I don't know if devwidget was the appropiate list but it was so dead! |