TekNek Web Services Twitter Page TekNek Web Services Facebook Page TekNek Web Services RSS Feed TekNek Web Services LinkedIn Page

Oct 3 2010 Show and Hide Multiple Divs Using CSS, Javascript, and HTML. With Different Image States!

I read an article by randomsnippets.com about showing and hiding a DIV using javascript. Although there were some good examples, they weren’t quite what I was looking for (the ones that were close contained tables, eww). SO, I created my own! Quite Simple Really! Below is a basic page with as much of the code commented as I could for you. It’s ready to go, all you gotta do is replace the buttons with your own, and the text with your own as well! Use at your leisure. If you do, can you give a brotha’ some cred? You don’t have to but it would be nice! icon wink Show and Hide Multiple Divs Using CSS, Javascript, and HTML.  With Different Image States! Below is a screen cap. Click it or the link to see the actual demo:
SEE THE DEMO HERE!

showhidescreencap Show and Hide Multiple Divs Using CSS, Javascript, and HTML.  With Different Image States!

I almost forgot to give props to www.RandomSnippets.com for giving some examples!

Reader Comments

RSS feed for comments on this post. TrackBack URL

Leave a comment

Anti-Spam Quiz:

  • © 2010 TekNek Web Services • 224 E. Garden St., Pensacola, FL 32502 • 850-390-1846