Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disjointed rollovers not working

Status
Not open for further replies.

boyfromoz

Technical User
Joined
Feb 1, 2001
Messages
469
Location
AU
I've built a disjointed rollover on a rollover button. That is, burron when rollove swap to a different image, and another image on anotehr part of the page also swaps.

Problem is, though the other image reverts to its inital image when I mouse out, the button itself does not.

Anyoen else had this problem?

Got a work around?

 
Hi Nippi,

I had a similar problem a while back. I am assuming you are using behaviours to create the rollovers. The solution that I found was to create a single swap/restore action (in which you specify both images to be swapped) rather than a separate swap and restore action for each rollover.

It seemed to mess up like the two swap/restore actions were conflicting, and using a single one solved this problem. It may mean creating both rollovers using the behaviour box (rather than using the Insert Rollover function for your button).

I hope this makes sense, try it and see if it works.

:-) Nick (Web Designer)


nick@retrographics.co.uk
 
Thanks Nic,

I worked it out and was coming back to say how. The problem was I made a rollover button in FW, then tried to ad a swap image behaviour in dm. The result, the ubtton rollover didn't restore.

I went to fireworks and did them both in their then exported, checked how the code was written and yes, the two swap image behaviours are combined into one "on mouse out" seperated by a comma.

Personally? I think its a coding stuffup by macromedia. My javascript was not good enough to work it out, but by having a look at how it is done in fireworks I solved it.

Thanks for the help in any case.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top