|
Posted by Peterken on 12/18/05 10:53
"Mark Simon" <mark@comparity.not.example.net> wrote in message
news:43a4b6ca$0$18203$afc38c87@news.optusnet.com.au...
>I like to use the <base> tag in, say, the contents frame of a frameset. The
>idea is that the target attribute will direct all of the links into another
>frame.
>
> The base tag technically has a required href attribute, which should be an
> absolute reference. I have no use for this href attribute, and it tends to
> cause the relative links on the page not to work properly. However,
> without it, the page won't validate properly.
>
> Is there a valid href value I can use which will allow other relative
> links on the page to work?
>
> Below is an example:
>
> <html>
> <head>
> ...
> <base href="?" target="mainFrame" />
> </head>
> <body>
> ...
> <a href="otherpage.html">Other Page</a>
> ...
> </body>
> </html>
>
> The only "correct" solutions I can think of are either to simply put
> targets into all of my links, or to use absolute addresses ... ?
>
> Thanks,
>
> Mark
hm, tried <base href="./" target="mainFrame"/> for that matter?
using "dot slash" sets current dir as base.
not sure if it's correct, but it would my first attempt.....
[Back to original message]
|