If I understood you correctly, basically, you would just enter the HTML code you wish to show for each switch content in between the designated DIV tags of the code of Step 2, for example:
Code:
<h3 onClick="expandcontent(this, 'sc1')" style="cursor:hand; cursor:pointer"><span class="showstate"></span>What is JavaScript?</h3>
<div id="sc1" class="switchcontent">
My content 1
</div>
Code:
<h3 onClick="expandcontent(this, 'sc2')" style="cursor:hand; cursor:pointer"><span class="showstate"></span>Difference betwen Java & JavaScript?</h3>
<div id="sc2" class="switchcontent">
My content 2
</div>
and so on.
Bookmarks