Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    duouble target link....

    I read a thread on this forum about double target links.
    People said that the only way to do this was to make a java script, and so i did.
    This is how i did:

    <html>
    <head>
    <script language="JavaScript">

    <!--

    function linkFrames(u1, u2) {
    parent.druidmiddle.location = u1;
    parent.druidright.location = u2;
    }

    // -->

    </script>
    </head>


    <body bgcolor="black" link="ff0000" alink="ff3333" vlink="dd0000">

    <div align="center">

    <font face="Papyrus" size="5" color="ff0000">
    Druid instance list
    </font>

    </div>

    <A href="javascript:linkFrames('druid_dm.htm', 'dmpic.htm);">The Deadmines</a>17-26<br/>

    </body>
    </html>


    I did exactly as they wrote it but still it doesn't work. When i press the link nothing happens. I dont know if i have to use some kind of program to make it work (I write my own code in Notepad). Please tell me whats wrong, i would also apreciate if someone told me how to do this in normal html, if possible.

    The site looks like this: it's three frames in the same size, three collumns. In the first frame (left) i have a bunch of links, i want these links to open different url's in the two other frames (middle and right). I got every file on my computer, in the same folder (nothing on internet).
    Last edited by Asterius; 12-25-2006 at 03:13 PM.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Provo, UT
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    instead of
    Code:
    function linkFrames(u1, u2) {
    parent.druidmiddle.location = u1;
    parent.druidright.location = u2;
    }
    Try

    Code:
    function linkFrames(u1, u2) {
    top.druidmiddle.location = u1;
    top.druidright.location = u2;
    }
    I try to convince 'em that I am computer geek, but I just can't do it. Why? Oh why?


  •  

    Posting Permissions

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