hvad er der galt?
Jeg har denne html kode i min menu, men jeg kan ikke få linksene til at åbne op i frame 2. Her er koden :<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">
<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">
<title>menu</title>
<base target=\"hovedramme\">
<SCRIPT LANGUAGE=javascript>
// No of items in menu
constMaxItem=3
function fnDispThis(active)
{
for (i=1; i < constMaxItem+1; i++)
{
if (i!=active)
{
document.all(\"sub\"+i).style.display=\"NONE\"
}
else
{
document.all(\"sub\"+active).style.display=\"BLOCK\"
}
}
}
</SCRIPT>
</head>
<body bgcolor=\"#336699\">
<table BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<tr>
<td class=\"format\" onclick=\"fnDispThis(1)\" style=\"Cursor:HAND;\"><B><u><h3><font face=\"Arial\">Menu 1</font>
</u>
</B></h3>
<u>
<DIV id=\"sub1\" style=\"Display:\'NONE\';\">
<font face=\"Arial\">
<A href=\"index2.htm\" target=\"index2.htm\">whatever</a><br>
<A href=\"link.htm\" target=\"index2.htm\">whatever</a><br>
<A href=\"link.htm\" target=\"index2.htm\">whatever</a><br>
</font>
</DIV>
</u>
</td>
</tr>
<tr>
<td class=\"format\" onclick=\"fnDispThis(2)\" style=\"Cursor:HAND;\"><B><h3><u><font face=\"Arial\"><br>Menu 2</font>
</u>
</B></h3>
<u>
<DIV id=\"sub2\" style=\"Display:\'NONE\';\">
<font face=\"Arial\">
<A href=\"link.htm\" target=\"index2.htm\">whatever</a>
<A href=\"link.htm\" target=\"index2.htm\">whatever</a><br>
<A href=\"link.htm\" target=\"index2.htm\">whatever</a><br>
</font>
</DIV>
</u>
</td>
</tr>
<tr>
<td class=\"format\" onclick=\"fnDispThis(3)\" style=\"Cursor:HAND;\"><B><h3><u><font face=\"Arial\"><br>Menu 3</font></u></B></h3>
<u>
<DIV id=\"sub3\" style=\"Display:\'NONE\';\">
<font face=\"Arial\">
<A href=\"link.htm\" target=\"index2.htm\">whatever</a><br>
<A href=\"link.htm\" target=\"index2.htm\">whatever</a><br>
<A href=\"link.htm\" target=\"index2.htm\">whatever</a><br>
</font>
</DIV>
</td>
</tr>
</body>
