[Javascript] Opening Intranet links with a set navigation fra me

Strom, Esther Esther.Strom at marchFIRST.com
Tue Mar 20 10:46:13 CST 2001


Just to clarify what you're trying to do...you want to be able to link to
your content pages directly, but have them open a frameset? I know this is
intranet, but a comparison is when a search engine indexes a content page,
you click the link, and it magically opens within the correct frameset.
 
This is easy enough to do - put the following code in your content files'
<head> tags:
 
<SCRIPT LANGUAGE="JavaScript">

<!--

if (window == top) top.location.href = "frameset.html";

// -->

</SCRIPT>
Esther
 
 -----Original Message-----
From: Ciko, David [mailto:david_ciko at merck.com]
Sent: Tuesday, March 20, 2001 10:13 AM
To: Javascript List (E-mail)
Subject: [Javascript] Opening Intranet links with a set navigation frame



Let me know if this is possible...
 
I'd like to be able to just pass in a URL and have that page open up in a
frame with a set header.
 
I do this now by setting up a separate file that sets the frames, but I like
to have one script that I can pass the various URL's to. 
 
Currently, most of the intranet site links we have open in separate browser
windows, but I'd like to tighten-up our navigation with a navigation frame
on top of all the links.
 
Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010320/7cf57549/attachment.htm>


More information about the Javascript mailing list