ASM <> writes:
> where you want a button you past this code :
>
> <script type="text/javascript">
> writeMoreButton("loremMore");
> toggleContent("loremMore", false);
> </script>
>
> then just after (or before if prefered) this script
> you put your hidden text inside a span *idded* :
Actually, you should put the call to "writeMoreButton" where you want
the button, but the call to "toggleContent" *after* the content that
must be hidden.
> that could give us :
>
> <p>then just after this script you put your hidden text
> inside a span or a P or a div *idded* : <script type="text/javascript">
> writeMoreButton("here_01"); toggleContent("here_01", false);</script>
just:
writeMoreButton("here_01");</script>
> <br><span id="here_01"> My hidden text here</span>
and
<script type="text/javascript">toggleContent("here_01",false);</script>
here.
/L
--
Lasse Reichstein Nielsen -
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'