25 users online (2 members and 23 guests)  


  Results 1 to 4 of 4

Related

  1. Trimming a word.How?    Forum: PHP Forum
    Replies: 1
  2. Links in Microsoft word to pdf    Forum: HTML Forum
    Replies: 1
  3. word is slightly lower on p.c.    Forum: CSS Forum
    Replies: 1
  4. Replies: 2
  5. MS Word in websites    Forum: HTML Forum
    Replies: 5
  1. #1
    ZeroAccess's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2001
    Location
    Hiram - Ga
    Posts
    2

    Post 1 word 2 links How do you do it?

    Ok here's the situation
    I'm in frames about 8 of them and I need one word to make a website appear in 1 frame (one target) while another website comes up in another frame (another target) I've been playing around with the code for about 45+minutes and beginning to get frustrated ...

    If anyone has a clue how to fix this plz e-mail ZeroAccess@purehonda.com

    Or if you need more details let me know

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Post

    Try this Javascript - ( I'm getting dejavu here...)

    This goes in the <HEAD>

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function changePages (leftURL, rightURL) {
    parent.left.location.href=leftURL;
    parent.right.location.href=rightURL;
    }
    //-->
    </script>


    This presumes that your frames are called left and right, but you can change to suit.

    The Links would then be -

    <A HREF="javascript:changePages ('page1.html','page2.html');">Load both Frames</A>

    Just change the HTML pages to suit.

    Have fun. let me know if this makes no sense. BTW, as Hugo (or worldweb) has shown you can use this to load lots more frames at once than two.



    ------------------
    QuietDean-

  3. #3
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426

    Post

    Another way to do it, if you use a button instead of a text link: http://htmlgoodies.earthweb.com/tutors/2atonce.html

  4. #4
    ZeroAccess's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2001
    Location
    Hiram - Ga
    Posts
    2

    Post

    I found it some time last night that javascript

    I was using an Image Map so it was a bit harder to do..(not that much more difficult)

    But now I'm doing like all 9 frames @ once very cool

    Thanks and it only took me to read back ALL the way to page 20+ to get the answer I almost wish people would explain the problems in topics better but none the less you all helped a lot



Tags for this Thread