Link to home
Start Free TrialLog in
Avatar of Hosam
HosamFlag for Egypt

asked on

Hide a Table when I click over image

How to hide a Table when i click over an image and then make the table visible when i click on the image next time.

thanks
ASKER CERTIFIED SOLUTION
Avatar of b1xml2
b1xml2
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jpoesen
jpoesen

nice code
thank you =)
finally a perfect example of how to use trinary operators. EE really IS a great place to learn :)
Well very pretty, if you don't need to support level 4 browsers and if it only has one image and one table and the user is actually able to understand the code well enough to maintain it.  

Of cross-browser means you actually have to do a little more work in both the script and the HTML.  Of course I'm an old dinosaur, so maybe slick is better, flexible.

elzohry,

If you need to support level 4 browsers, let us know.  I'm sure b1 will be happy to give you a complete solution.

Cd&

cd&
you old codger you =))