Andre Linoge
05-02-2007, 09:42 AM
Good morning.
Is there a possibility to at another script within a script, for example:
<div onClick="expandcontent('sc1')" style="cursor:hand; cursor:hand">Subject</div>
<p id="sc1" class="switchcontent">
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
(this should be the "subscript".)
<div onClick="expandcontent('sc1')" style="cursor:hand; cursor:hand">Subject</div>
<p id="sc1" class="switchcontent">
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
</p>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
</p>
<div onClick="expandcontent('sc2')" style="cursor:hand; cursor:hand">Subject</div>
<p id="sc2" class="switchcontent">
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
</p>
Is there a possibility to at another script within a script, for example:
<div onClick="expandcontent('sc1')" style="cursor:hand; cursor:hand">Subject</div>
<p id="sc1" class="switchcontent">
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
(this should be the "subscript".)
<div onClick="expandcontent('sc1')" style="cursor:hand; cursor:hand">Subject</div>
<p id="sc1" class="switchcontent">
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
</p>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
</p>
<div onClick="expandcontent('sc2')" style="cursor:hand; cursor:hand">Subject</div>
<p id="sc2" class="switchcontent">
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
<a title="" href=".htm">some text.</a>
</p>