Click to See Complete Forum and Search --> : Link to a page


Foronol
09-27-2003, 03:56 PM
I am looking for solution of following problem.

I need to have the page on my hard disk. The page should open a page from the internet in the same window (which opens when I am clicking on 'page.html') and then open some additional pages in separated windows.

I know how to open additional windows with required pages. But I have problem how to force page opening from the internet in the same window.

Thank you for your help.

DaveSW
09-27-2003, 04:05 PM
have you tried

<a href="link.htm" target="_self">link</a>

Foronol
09-27-2003, 05:22 PM
Yes, it will work of course. But the question is how to do that automatically without necessity of creation a link to a page?

You are opening the .html file and you are automatically redirected to desired page.

DaveSW
09-29-2003, 02:19 AM
I'm still not 100% certain what you mean, but would

<base target="_self"> in the head section work for you?

Foronol
09-29-2003, 01:40 PM
Thanks DaveSW.

I have found the most convenient for me is the small JavaScript:

location="http://..."

When the page from hard disk is loaded I am automatically redirected to "http://...".

DaveSW
09-30-2003, 10:50 AM
neat