help!? yes, i am very new... i cant figure out why this isnt working. i am trying to get 4 different html pages to load into different frames. with the code below, only the content_frame pages loads. the three staff pages stay the same.
<html>
<head>
<script language = "JavaScript">
<!-- hide
function changeFrames(content_frame, staff_one, staff_two, staff_three)
{
parent.content.location = content_frame;
parent.billy.location = staff_one;
parent.joel.location = staff_two;
parent.matt.location = staff_three;
}
// show -->
</script>
</head>
<body>
<font face="verdana, arial, helvetica, sans-serif" size=1 color="#333333">
<a href = "#" onClick = "changeFrames('a.room.html','billyNAV.html','joel.html','matt.html'); return false;">A ROOM</a><br>
<a href = "#" onClick = "changeFrames('b.room.html','billy.html','joelNAV.html','matt.html'); return false;">B ROOM</a><br>
<a href = "#" onClick = "changeFrames('c.room.html','billy.html','joel.html','mattNAV.html'); return false;">C ROOM</a><br>
</font>
</body>
</html>
<html>
<head>
<script language = "JavaScript">
<!-- hide
function changeFrames(content_frame, staff_one, staff_two, staff_three)
{
parent.content.location = content_frame;
parent.billy.location = staff_one;
parent.joel.location = staff_two;
parent.matt.location = staff_three;
}
// show -->
</script>
</head>
<body>
<font face="verdana, arial, helvetica, sans-serif" size=1 color="#333333">
<a href = "#" onClick = "changeFrames('a.room.html','billyNAV.html','joel.html','matt.html'); return false;">A ROOM</a><br>
<a href = "#" onClick = "changeFrames('b.room.html','billy.html','joelNAV.html','matt.html'); return false;">B ROOM</a><br>
<a href = "#" onClick = "changeFrames('c.room.html','billy.html','joel.html','mattNAV.html'); return false;">C ROOM</a><br>
</font>
</body>
</html>
Comment