A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Multiple Link

Hybrid View

  1. #1
    Senior Member ::bluemoth::'s Avatar
    Join Date
    Jun 2001
    Posts
    521
    This isn't a flash problem as such, but since i get shockwave help in here more than anywhere, i thought someone could help me out with this 'undoubtedly' simple html problem i have.

    I want to Click on the "OPEN" text link, to open 2 .html's in 2 different frames at once.

    I know how to refernce 'one':

    __________________________________________________

    <a href="Link1.htm" target="TargetFrame1">OPEN</a>
    __________________________________________________


    The problem i have is, how do i get this one link to also open "Link2.htm" in "TargetFrame2"?

    I pitty myself for stumbling on this simple problem . . .

  2. #2
    Senior Member
    Join Date
    Oct 2000
    Posts
    113
    Afraid I can't help you with the code offhand, though I've seen your request asked before with solutions.
    Dreamweaver does this easily enough, if you have a copy - it is a feature on the behaviour menu. If you don't have it you can download a demo to view the code.

  3. #3
    Senior Member
    Join Date
    Jul 2000
    Posts
    128
    a job for javascript (which incidentally is all Dreamweaver's "behaviours" really are)

    best way I can think of to do this is write a function and call it:

    (in between your HEAD tags)

    function open_multiple (url1,url2) {

    _top.frame1.src = url1;
    _top.frame2.src = url2;

    }


    And then on your link:

    <A HREF="#" onClick="javascriptpen_multiple(blah1.html,blah2.html);">blah</A>


    Now, you'll need to play with this because I am absolutely certain it will not work properly like this. It's been a while since I did any javascript and I don't remember some of the syntax I need here... but you get the idea of what you need to do here.

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

HTML5 Development Center