Javascript and frames - simplify navig for users

Subject: Javascript and frames - simplify navig for users
From: John Trollope <John_Trollope -at- WATSONWYATT -dot- COM>
Date: Wed, 2 Jul 1997 08:45:30 -0700

Kris et al,


>In what context does the link fail? When welcome.htm is loaded
>into one of the other frames (i.e., list_of_files or navbar)?
>Or when welcome.htm is loaded into frameless window?

When it is in a frameless window.

Oh, I forgot to mention my other workaround: I just create a frame
definition set for each link. That is to say,

--BEGIN extract of FrameHR.htm--
<frameset cols="25%,*" border="1" bordercolor="#0033CC">
<frame src="list.htm" name="list_of_files">
<frame src="launder.htm" name="cible">
--END extract of FrameHR.htm--

However this is not very practical as hundreds of these files will need to be
created.


----------
> From: John Trollope <John_Trollope -at- WATSONWYATT -dot- COM>
>
> This* is fine and dandy *if the page is loaded into the correct
> frames*. If hr/welcome.htm is not in the frame named "cible",
> you'll get the following error:
>
> Javascript Error: http://develop/hr/welcome.htm
> Window[0] has no property named 'location'.

This=

--BEGIN CORRECT LINK IN EXCERPT of http://develop/hr/welcome.htm--
...vital information in the <a
href="http://develop/benefits/cws.htm"; target="cible"
onclick="parent.frames[0].location='benefits/list.htm'">Benefits report</a>
--END--




Cheers,
John

John_Trollope -at- Watsonwyatt -dot- com (w)
john -dot- trollope -at- easynet -dot- co -dot- uk (h)

http://easyweb.easynet.co.uk/~john.trollope/scripts/
Javascripts for technical communicators and translators

TECHWR-L (Technical Communication) List Information: To send a message
to 2500+ readers, e-mail to TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU -dot- Send commands
to LISTSERV -at- LISTSERV -dot- OKSTATE -dot- EDU (e.g. HELP or SIGNOFF TECHWR-L).
Search the archives at http://www.documentation.com/ or search and
browse the archives at http://listserv.okstate.edu/archives/techwr-l.html


Previous by Author: Javascript and frames - simplify navig for users
Next by Author: SSI Facts and Myths, etc.
Previous by Thread: Re: Javascript and frames - simplify navig for users
Next by Thread: Re: Javascript and frames - simplify navig for users


What this post helpful? Share it with friends and colleagues:


Sponsored Ads