HTML interesse |
|
ik heb een vraag ik heb in een tabel een javascript menu gemaakt waarin ik zeg dat ik de informatie in tabel content wil laten zien net als bij frames en ik vraag me af hoe ik dat in een tabel kan doen
de 2 tabelen staan in elkaar
javascript
<script>
function menuItem1Click()
{
index.content.location = "index2.html";
index.innerHTML = "<img src='Images/info-balk.gif'>";
}
function menuItem2Click()
{
index.content.location = "index2.html";
index.innerHTML = "<img src='Images/meer-balk.gif'>";
}
function menuItem3Click()
{
index.content.location = "index2.html";
index.innerHTML = "<img src='Images/zoek-balk.gif'>";
}
function menuclick()
{
index.innerHTML = "<img src='img/info-balk.gif'>";
}
</script>
<script> function menuItem1Click() { index.content.location = "index2.html"; index.innerHTML = "<img src='Images/info-balk.gif'>"; } function menuItem2Click() { index.content.location = "index2.html"; index.innerHTML = "<img src='Images/meer-balk.gif'>"; } function menuItem3Click() { index.content.location = "index2.html"; index.innerHTML = "<img src='Images/zoek-balk.gif'>"; } function menuclick() { index.innerHTML = "<img src='img/info-balk.gif'>"; } </script>
tabel code
<table height="20" cellspacing="0" cellpadding="0" border="0">
<tr valign="top">
<td width="95" ><A HREF="javascript:void();" onclick="menuItem1Click(); return false;" TARGET="content"><img border="0" src="Images/info.gif"></a></td>
<td width="105"><A HREF="javascript:void();" onclick="menuItem2Click(); return false;" TARGET="content"><img border="0" src="Images/film.gif"></a></td>
<td width="95"> <A HREF="javascript:void();" onclick="menuItem3Click(); return false;" TARGET="content"><img border="0" src="Images/zoek.gif"></a></td>
</tr>
<tr>
<td colspan="3" id="index"><img src="Images/info-balk.gif"></td>
</table>
<table height="275" class="body" cellspacing="0" cellpadding="0" border="0">
<tr height="262" class="body" valign="top">
<td colspan="2" name="content"></td>
</tr>
<table height="20" cellspacing="0" cellpadding="0" border="0"> <tr valign="top"> <td width="95" ><A HREF="javascript:void();" onclick="menuItem1Click(); return false;" TARGET="content"><img border="0" src="Images/info.gif"></a></td> <td width="105"><A HREF="javascript:void();" onclick="menuItem2Click(); return false;" TARGET="content"><img border="0" src="Images/film.gif"></a></td> <td width="95"> <A HREF="javascript:void();" onclick="menuItem3Click(); return false;" TARGET="content"><img border="0" src="Images/zoek.gif"></a></td> </tr> <tr> <td colspan="3" id="index"><img src="Images/info-balk.gif"></td> </table> <table height="275" class="body" cellspacing="0" cellpadding="0" border="0"> <tr height="262" class="body" valign="top"> <td colspan="2" name="content"></td> </tr>
als iemand me hierbij zou kunnen helpen bedankt
|