I have a pretty good start to a really cool concept, the script uses contractable headers. I want only 1 to be expanded at a time, Can anyone help me with this??????
I'll post the full code
<html>
<head>
<script language="JavaScript1.2">
<!--
var ns6=document.getElementById&&!document.all?1:0
var head="display:''"
var origPos=''
function openup(curobj){
origPos=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style
if (origPos.display=="none")
origPos.display=""
else
origPos.display="none"
}
//-->
</script>
<style><!--
body{cursor:default; overflow:auto}
{background:#111999; color:#111999}
a{color:#111999}
a:hover{color:#FFFFFF}
a{text-decoration:none}
//--></style>
<title>uhhh</title>
</head>
<body bgcolor="111999" text="111999">
<font face="Verdana">
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="111999" width="600" height="76" align="center"><a href=http://www.webdeveloper.com/forum/archive/index.php/"#top">
<font color="#FFFFFF"><h3 style="cursorointer; cursor:hand" onClick="openup(this)">My Resume</h3></font></a>
<tr span style="display:" style=&{head};>
<td bgcolor="111999" width="600" height="0" align="center"><a name="top"><font color="#FFFFFF">jsdjl dkfjalksd jflk djflkajd flakj dflkad jsflkas jdfl;aksjd flaksdj flaksdjf laksdjf laksdj flaksdjf laksdjf laksdjf laksdj fsfgfg<BR></font></td>
</tr>
<tr>
<td background="files/menu1.jpg" width="600" height="76" align="center"><a href="#objectives">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Objectives</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="objectives">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu2.jpg" width="600" height="76" align="center"><a href="#qualifications">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Qualifications</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="qualifications">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu3.jpg" width="600" height="76" align="center"><a href="#education">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Education</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="education">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu4.jpg" width="600" height="76" align="center"><a href="#references">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">References</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="references">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu5.jpg" width="600" height="76" align="center"><a href="#contact">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Contact</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="contact">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
</table></font>
</body>
</html>
I'll post the full code
<html>
<head>
<script language="JavaScript1.2">
<!--
var ns6=document.getElementById&&!document.all?1:0
var head="display:''"
var origPos=''
function openup(curobj){
origPos=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style
if (origPos.display=="none")
origPos.display=""
else
origPos.display="none"
}
//-->
</script>
<style><!--
body{cursor:default; overflow:auto}
{background:#111999; color:#111999}
a{color:#111999}
a:hover{color:#FFFFFF}
a{text-decoration:none}
//--></style>
<title>uhhh</title>
</head>
<body bgcolor="111999" text="111999">
<font face="Verdana">
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="111999" width="600" height="76" align="center"><a href=http://www.webdeveloper.com/forum/archive/index.php/"#top">
<font color="#FFFFFF"><h3 style="cursorointer; cursor:hand" onClick="openup(this)">My Resume</h3></font></a>
<tr span style="display:" style=&{head};>
<td bgcolor="111999" width="600" height="0" align="center"><a name="top"><font color="#FFFFFF">jsdjl dkfjalksd jflk djflkajd flakj dflkad jsflkas jdfl;aksjd flaksdj flaksdjf laksdjf laksdj flaksdjf laksdjf laksdjf laksdj fsfgfg<BR></font></td>
</tr>
<tr>
<td background="files/menu1.jpg" width="600" height="76" align="center"><a href="#objectives">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Objectives</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="objectives">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu2.jpg" width="600" height="76" align="center"><a href="#qualifications">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Qualifications</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="qualifications">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu3.jpg" width="600" height="76" align="center"><a href="#education">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Education</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="education">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu4.jpg" width="600" height="76" align="center"><a href="#references">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">References</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="references">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
<tr>
<td background="files/menu5.jpg" width="600" height="76" align="center"><a href="#contact">
<h3 style="cursorointer; cursor:hand" onClick="openup(this)">Contact</h3></a>
<tr span style="display:none" style=&{head};><td bgcolor="FFFFFF" width="600" height="300" align="center"><a name="contact">kfj hskjdf hskjdf hksdhf aksjdh fkd hfkasd hfk hsdfkjh asdkjf hasdkj fhkjasd hfkjasd hfkjs dhfkjasd hfkj ahsdkfjh askdjf hkjasd hfkajsd hfkjsd hafkja hsdfkjasd hfkj hsadkjf haksdjf hkajsd hfkjasd hfkja sdhfkj asdhfk asdkf hkasd fhkjsda hfkjahsd fkahd sfkjhasd kjahsd fkjhasd fkj ahsdfkjh asdfkh askdjfh aksdjf hkasdj hfkajsd hfkajshd fkjas dhfkajsd hfkjasd hfkjas hdfkja hsdfkjha sdfk hasdkfh aksdj hfkasjd hfkasd hfkds fsdaf</td></tr>
</table></font>
</body>
</html>