View Full Version : show/hide button

07-21-2005, 02:13 PM
does anyone know how to make the buttons (script, command) that show and hide text as shown on this web page?

example ('http://www.boyken.com/services/projectmanagement.asp')


07-22-2005, 12:09 PM
Hi there,

Bit fuzzy on it myself - but if you look at the code it shows this:

<img src="/media/blue.gif" height="1" width="100%"> <span class="h2">Development
Management</span> <span class="content"><a href="#" style="text-decoration: none;" onclick="showHide('display2', this); return false;" id="aControl1">[+]
Show more information</a><br>
Development management services include the creation of a master
plan for implementing a capital improvements program.
<div id="display2" style="display: none;"><br>
<strong>Project Planning</strong><br>
This plan incorporates objectives and functional needs, criteria
for spatial relationships among areas, quality levels of areas
and an outline of design criteria for structural, mechanical,
electrical and special systems with estimated net-gross-area
ratios. </div>

You could try sticking that code into a webpage of your own and see what happens? As the page has <DIV ID> sections in then it could well be to do with CSS also.