Results 1 to 2 of 2

Thread: How to change multiple frames with multiple buttons?

  1. #1
    Join Date
    Feb 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to change multiple frames with multiple buttons?

    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).


    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

  2. #2
    Join Date
    Feb 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default no picture...

    There is no picture showing.. sorry.
    Here's the URL: pic

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •