Cadwalader
IS-IT--Management
I am so lost, and I should know better...
I am trying to produce a navigation bar similar to the one at the top of this page, the "Forum, FAQ,..", BUT I need to be able to change the image in the table cell right below it. The tabs are 100px wide, and the cell below the tabs is 700px wide. The trouble I am having with the code below, is that the page gets really wide. I can't get the images that are supposed to be below the tabs to appear in the same cell.
Maybe if you see what I have so far, it will make more sense...
<table valign="center" width="700px" cellpadding="0" cellspacing="0" border="1" bordercolor="red">
<tr>
<td width="100" onMouseOver="id0.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/hometab.gif"></td>
<td width="100" onMouseOver="id1.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/aboutustab.gif"></td>
<td width="100" onMouseOver="id2.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/alftab.gif"></td>
<td width="100" onMouseOver="id3.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/womentab.gif"></td>
<td width="100" onMouseOver="id4.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/mentab.gif"></td>
</TR>
<TR style="z-index:2;position:absolute;">
<td colspan="5" border="1" id="id0" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/bar.gif"></td>
<td border="1" id="id1" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/aboutusbar.gif"></td>
<td border="1" id="id2" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><a href="images/alfbar.gif"</a></td>
<td border="1" id="id3" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/mensbar.gif"></td>
<td border="1" id="id4" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/womenbar.gif"></td>
</TR>
</table>
The reason why I need to so it this way, is a long story. Let's just say I would use js for this, and I should, but IE is giving me trouble and I have to make this navbar work, or I might be out of a job...Please help.
...thanks. Hope I was of some help...
--OR--
Thanks for the help...
--Rich
I am trying to produce a navigation bar similar to the one at the top of this page, the "Forum, FAQ,..", BUT I need to be able to change the image in the table cell right below it. The tabs are 100px wide, and the cell below the tabs is 700px wide. The trouble I am having with the code below, is that the page gets really wide. I can't get the images that are supposed to be below the tabs to appear in the same cell.
Maybe if you see what I have so far, it will make more sense...
<table valign="center" width="700px" cellpadding="0" cellspacing="0" border="1" bordercolor="red">
<tr>
<td width="100" onMouseOver="id0.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/hometab.gif"></td>
<td width="100" onMouseOver="id1.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/aboutustab.gif"></td>
<td width="100" onMouseOver="id2.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/alftab.gif"></td>
<td width="100" onMouseOver="id3.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/womentab.gif"></td>
<td width="100" onMouseOver="id4.style.visibility='';" onMouseOut="id0.style.visibility='hidden';" id="lnk" align="center"><img src="images/mentab.gif"></td>
</TR>
<TR style="z-index:2;position:absolute;">
<td colspan="5" border="1" id="id0" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/bar.gif"></td>
<td border="1" id="id1" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/aboutusbar.gif"></td>
<td border="1" id="id2" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><a href="images/alfbar.gif"</a></td>
<td border="1" id="id3" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/mensbar.gif"></td>
<td border="1" id="id4" onMouseOver="this.style.visibility='';" onMouseOut="this.style.visibility='hidden';" style="visibility:hidden;" align="center"><img src="images/womenbar.gif"></td>
</TR>
</table>
The reason why I need to so it this way, is a long story. Let's just say I would use js for this, and I should, but IE is giving me trouble and I have to make this navbar work, or I might be out of a job...Please help.
...thanks. Hope I was of some help...
--OR--
Thanks for the help...
--Rich