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
    Oct 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Frame Link to Main frame problem

    Hi guys,

    I created a small menu for my top frame, and I set the links and frame page, so the top links will change the "main" frame contents. I have gone over and over all of the script, but the links just keep opening up a whole new page.

    Therefore, and ideas on how to actually fix this problem would be greatly appreciated.

    Cheers,

    Naim

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    <a href="..." target="targetframename">

    so if the target frame name is "main", then

    <a href="..." target="main">

    if the link is opened using window.open:

    window.open('urlhere','main')
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

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