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

BASE HREF question

Options
  • 23-01-2004 1:25pm
    #1
    Closed Accounts Posts: 156 ✭✭


    Hi,

    Does anyone know if the following is possible:

    I want to be able to set the base href for a page but I dont want to edit the page.

    eg id like to put the page in an iframe and set a base href attribute for the frame - problem is there is none.

    or is it possible to make the base attribute of the parent page to be used by the page in the iframe

    any other suggestions welcome.


    Thanks


    joe


Comments

  • Registered Users Posts: 3,886 ✭✭✭cgarvey


    Would it not be cleaner to write a quick PERL script to insert a <base href> tag before the closing <head> tag (if there wasn't one there already), or is that not an option?

    .cg


  • Closed Accounts Posts: 156 ✭✭JJSolutions


    Not an option :(

    The file is basically in a new location and relative links are broken so wanted to show it in an iframe and set the frame's base href but it's probably not possible, guess ill have to struggle on...


Advertisement