khal
asked on
Make a link open inside a pade with a header
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
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use
window.opener.location.hre f =
to change the URL in your original window from the navigator.
window.opener.location.hre
to change the URL in your original window from the navigator.
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
Martin
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=3 90,height= 8,resizabl e=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.
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
}
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.
You could use CGI though. Tell me if you want some Perl code.
Martin