Looks like you have it working now. BTW, on your HTML page, do the script call like so (retaining the credit):
Code:
<SCRIPT TYPE="text/javascript" SRC="scripts/switchcontents2.js">
/***********************************************
* Switch Content script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. Last updated April 2nd, 2005.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</SCRIPT>
This is as per DD's usage terms.
Bookmarks