|
Answer» I want to create a show / hide button for my thml document.
Souppose i have the following topic:
Examples Required
CNN.com is looking for examples of how the Web and Internet have changed PEOPLE's lives -- at home, at work and at play. Did you start a business that wouldn't have been possible WITHOUT the Web? Did you find true love on an online dating SERVICE? Tell us your story! Send us a PICTURE!
The best stories include details, the more the better. Include every URL and statistic you have. We'll take text, photos, audio and video.
Some of the videos, photos and audio submitted may be selected for use in CNN.com's Online Evolution special report, CNN television programming or other CNN programming services
Where "example Required" is the subject
And the description is written thereafter.
Now in my webside it will LOOK like this:
Examples Required
Show/Hide( this is a hyperlink or button)
such that pressing the "Show/Hide" link it will show the description.
Again clicking on the "Show/Hide" button it will hide the description.
How to do this ? Or is there any link where i can find this ? I have looked for some JavaScipt tutorial but has not found itoops
I have solved it. maby javascript can do this
|