Results 1 to 3 of 3

Thread: How do I target 2 frames with one click

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    2

    Exclamation How do I target 2 frames with one click

    How do I target two frames with a singel click?

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    how about an example of what you mean?

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Try this, if this is what you are talking about.

    Code:
    <frameset cols="20%, 80%">
    <frame src="page1.html" name="nav">
    <frame src="page2.html" name="main">
    </frameset>
    
    <script>
    function go(url1, url2)
    {
      parent.nav.location.href = url1;
      parent.main.location.href = url2;
    }
    <script>
    
    <a href="javascript:go('page3.html','page4.html')">Change Pages</a>
    Alcohol & calculus don't mix.
    Never drink & derive.

Posting Permissions

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



Click Here to Expand Forum to Full Width