Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Frameset issue

Options
  • 04-01-2008 8:18pm
    #1
    Closed Accounts Posts: 14


    Hi All,

    I have added a page to my site which uses a frameset , i would like to avoid rebuilding the whole site and as such I need to come up with a solution for the navigation.

    The scenario is that on the frameset page , I need the links in the top frame to cause the whole page to refresh (not a new window) and show the linked page as normal (i.e not only in the top frame). Anyone familar with a way to acheive this ?

    Cheers!


Comments

  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    I'm a little confused - can you post a link?

    Is it just the inner frame itself you want to refresh and not the whole frameset?


  • Registered Users Posts: 46 nogihno


    can you use the target="" in the href tags?

    or the top.frames["frame"].location.href="page"; in javascript


  • Closed Accounts Posts: 14 oceansapart


    Webmonkey, the link is http://81.17.241.45/search2.html

    Nogihno, target "" causes a new window(tab to open)


  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    nogihno wrote: »
    can you use the target="" in the href tags?

    or the top.frames["frame"].location.href="page"; in javascript
    Yes that was what I was getting onto but just confused with exactly what needed


  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    Webmonkey, the link is http://81.17.241.45/search2.html

    Nogihno, target "" causes a new window(tab to open)
    target="_self" will load the current frame only rather than the whole frame.

    Edit - i see your problem.

    Try

    target = "_blank"
    target = "_parent"
    target = "_self"
    target = "_top" <-


  • Advertisement
  • Closed Accounts Posts: 14 oceansapart


    Webmonkey wrote: »
    target="_self" will load the current frame only rather than the whole frame.

    Edit - i see your problem.

    Try

    target = "_blank"
    target = "_parent"
    target = "_self"
    target = "_top" <-

    Perfect , thanks for that !


  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    Welcome :)


Advertisement