/    Sign up×
Community /Pin to ProfileBookmark

Link to a page

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.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@DaveSWSep 27.2003 — have you tried

<a href="link.htm" target="_self">link</a>
Copy linkTweet thisAlerts:
@ForonolauthorSep 27.2003 — 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.
Copy linkTweet thisAlerts:
@DaveSWSep 29.2003 — I'm still not 100% certain what you mean, but would

<base target="_self"> in the head section work for you?
Copy linkTweet thisAlerts:
@ForonolauthorSep 29.2003 — 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://...".
Copy linkTweet thisAlerts:
@DaveSWSep 30.2003 — neat
×

Success!

Help @Foronol spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...