Solved

Make a link open inside a pade with a header

Posted on 1998-09-23
5
143 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 50 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Obtaining data on ASP 8 35
html border input line 7 26
Bootstrap 3 - Style a dropdown 1 26
href return to normal window 5 29
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 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