Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Frameset issue

  • 04-01-2008 08: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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Welcome :)


Advertisement