Easily show and hide content using JavaScript and CSS. If the demo on this page does not work, another version of the demo is here:http://cdia.zhannes.webfactional.com/js/toggle.php
where the param passed to the function, theID, is the CSS ID (#something) element you want to read and set. You just need to attach and event handler to an element, such as an empty link, like this:
onclick=”toggle(‘content’);” 1
1Hoping to get syntax highlighting soon…
and the CSS for the classes added to the elements looks like:
Content © professional dilettante
Proudly powered by WordPress
Theme designed by Artisan Themes
22 queries.
0.514 seconds.
Thank you very much!!
Thats a simple and easy template to work with.