Please help! I need a link to perform 2 functions!

Discussion in 'OT Technology' started by chlywly, Nov 23, 2003.

  1. chlywly

    chlywly Active Member

    Joined:
    Dec 15, 2000
    Messages:
    18,745
    Likes Received:
    1
    Location:
    Toronto
    A simple link, you know frames? lets say I have a top/bottom frame, I want one click to not only change the bottom frame to another page but also change the iframe on the top page to something else,

    www.3dluvr.com/chlywly/other

    is the site, there are 2 main frame pages, top and small thin bottom layer,
    iframe in center, I would like so that the buttons on the right not only change whats in the iframe in the (topframe) but as well change the bottom frame to another page.

    PLease help! No clue how to do this.
     
  2. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    Use Javascript.

    Code:
    <a href="topframe.html" target=topframe onClick="bottomframe.location='bottomframe.html'">link text</a>
    Or something like that, I haven't used frames in forever :o For a full JS guide, look at devedge.netscape.com.
     
  3. chlywly

    chlywly Active Member

    Joined:
    Dec 15, 2000
    Messages:
    18,745
    Likes Received:
    1
    Location:
    Toronto
    Hmm syntax didn't work... :( When I click nothing happens.
     
    Last edited: Nov 23, 2003
  4. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    My syntax probably sucks, I haven't done frames in a while, but like I said, check devedge, you'll find the proper object heirarchy in there somewhere.
     

Share This Page