Mikkel24
02-02-2005, 12:04 AM
Hi!
I have a smal problem, but its growing bigger. I'm making a homepage (Blue line) with two frames in it (A and B).
http://www.snurremustasje.com/hjelp.htm
I am using this script, to make a button change the two frames:
<SCRIPT language="JavaScript">
<!----hide
function change2()
{
parent.venstre.location="test.htm";
parent.hoyre.location="test2.htm";
}
//------>
</SCRIPT>
--------------------------------------------------------------
<tr><td><A HREF="javascript:change2()">Change 2 Frames</A>
</td></tr>
Now this works fine for one button, but how do I make it work on the other 7 buttons?? I'm pretty noob when it comes to Javascript, so I dont see how this script can help me do anything but to let all 8 buttons display the same content in the frames.
Please help!
Thanks
Michael
I have a smal problem, but its growing bigger. I'm making a homepage (Blue line) with two frames in it (A and B).
http://www.snurremustasje.com/hjelp.htm
I am using this script, to make a button change the two frames:
<SCRIPT language="JavaScript">
<!----hide
function change2()
{
parent.venstre.location="test.htm";
parent.hoyre.location="test2.htm";
}
//------>
</SCRIPT>
--------------------------------------------------------------
<tr><td><A HREF="javascript:change2()">Change 2 Frames</A>
</td></tr>
Now this works fine for one button, but how do I make it work on the other 7 buttons?? I'm pretty noob when it comes to Javascript, so I dont see how this script can help me do anything but to let all 8 buttons display the same content in the frames.
Please help!
Thanks
Michael