einbeiniger
11-03-2002, 05:12 PM
what i have been thinkink about for quite some time is the following situation:
there should be an image (eg a door) which should change into a second gif (rollover effect) so that it seems like the door would open when the mouse moves over that image. so far no problem. one gif that doesn't move (eg closed door), rollover img = gif with an opening door (repeating only once, so that the door stays open).
now i want the door to close when the mouse leaves the image.
basic img: closed door
--> mouse over: door opens slowly and stays open until
--> mouse away: door closes slowly
is that possible?
a third gif with the function onMouseout?
thanks
there should be an image (eg a door) which should change into a second gif (rollover effect) so that it seems like the door would open when the mouse moves over that image. so far no problem. one gif that doesn't move (eg closed door), rollover img = gif with an opening door (repeating only once, so that the door stays open).
now i want the door to close when the mouse leaves the image.
basic img: closed door
--> mouse over: door opens slowly and stays open until
--> mouse away: door closes slowly
is that possible?
a third gif with the function onMouseout?
thanks