[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading a document in a new frame with JavaScript



Form within the 'quiz' frame, you would say something like this in the
onClick method:

parent.answers.location = right.html

At 01:31 PM 3/11/96 -0500, Mike Darrin wrote:
>This has probably been asked before, but I can't find the answer in the FAQ 
>or Netscape's documentation. I need to know how to have JavaScript launch a 
>document into frame X from frame Y when a user completes a certain event (an 
>onClick, for example).  You can see what I'm talking about at 
>http://www.paonline.com/mdarrin/javas/mainquiz.htm .  The Quiz isn't 
>functional yet, but I do have a script to handle the quiz pretty much figured 
>out.  However, when a user gets a right answer in the "Quiz" frame (by 
>clicking on Mountain Laurel for question #1, for example), I want to have 
>JavaScript launch a document in the "answers" frame.  How would I do this?
>
>Thanks a lot, 
>Mike D.

--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/