fredaudet
11-18-2006, 08:28 PM
Hello,
I rencently installed this script on my page which works perfectly :
http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm
I have a question though... How can I prevent the content from behing displayed by default ?
I tried this : <script type="text/javascript">window.onload = sweeptoggle('contract');</script>
Without any success... I would want the content to be hidden unless the user clicks on it.
Anybody can help me ?
Thank you very much !!!
I rencently installed this script on my page which works perfectly :
http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm
I have a question though... How can I prevent the content from behing displayed by default ?
I tried this : <script type="text/javascript">window.onload = sweeptoggle('contract');</script>
Without any success... I would want the content to be hidden unless the user clicks on it.
Anybody can help me ?
Thank you very much !!!