Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Menu problem

Author
Message
Eeyore
18
Years of Service
User Offline
Joined: 28th Mar 2006
Location: Netherlands
Posted: 27th Sep 2006 21:51 Edited at: 27th Sep 2006 21:53
When the mouse enters a button the image must change.
when the mouse leaves the button the original button must come back.
With my code it won't work, what is wrong with the code?

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 27th Sep 2006 22:28
Change this:



to this:


Basically, your second 'if' was not the opposite of the first 'if'. Rather than sort that out (change all 'and' or 'or' in the second 'if), just use an 'else'.

Eeyore
18
Years of Service
User Offline
Joined: 28th Mar 2006
Location: Netherlands
Posted: 27th Sep 2006 22:48
I see Stupid

Thanks...

Login to post a reply

Server time is: 2024-11-27 05:39:39
Your offset time is: 2024-11-27 05:39:39