?
Solved

Make a link open inside a pade with a header

Posted on 1998-09-23
5
Medium Priority
?
148 Views
Last Modified: 2010-04-09
om my main index page, I have several links. Some of these links basically will take the user out of my site. How can I open the link in a page that includes a header (without using frames) so  the user can have a connection back to the index page?
thanks
0
Comment
Question by:khal
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1838051
There is no way of doing this in HTML :-(

You could use CGI though. Tell me if you want some Perl code.

Martin
0
 
LVL 1

Accepted Solution

by:
slinky earned 100 total points
ID: 1838052
Launch a separate navigator window and have the links back to your page in it.
Use Javascript to allow links in the other window to change the URL in the main original window.
0
 
LVL 1

Expert Comment

by:slinky
ID: 1838053
Use
window.opener.location.href =
to change the URL in your original window from the navigator.
0
 
LVL 4

Expert Comment

by:martinag
ID: 1838054
slinky, how if khal want to link to www.experts-exchange.htm? How will he put the links at top of EE's home page using JavaScript???

Martin
0
 
LVL 1

Expert Comment

by:slinky
ID: 1838055
That's not what I mean.
He would launch a new browser window (could be small) which would hold the links back to his pages. The original browser window could go to EE or anywhere else but he would be able to navigate back to his page from the new window that was launch.
Launch a new window with a function like this...
function winOpen(url)

{
      var hWnd = window.open(url,"navWindow","width=390,height=8,resizable=no, scrollbars=no");
}
You can call this from any event you like on your page.
Pass it a URL that contains a link back to your page but use
window.opener so that you can change the URL in the parent window.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question