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

Re: Grouping input from multiple frames



>gordon,
>
>Actually what I want to do is slightly different.  I don't want my
>javascript to generate the html for the third frame.  What I want is
>simplier than that.  I want to use the javascript to call a custom URL
>that will have the third frame as the target.
>
>In this manner the JS will validate the input in the two frames, then
>form a URL like:
>http://www.mydomain.com/cgi-bin/myExecute?Data+data+data
>and send this with the target being the bottom frame.
>
>gp
>
>
>At 16:08 PM 3/13/96 EST, you wrote:
>   > If I understand you correctly, you want to provide input in two frames, 
and
>   > use that to build the content of the third frame.  That's done by writing
>   > the whole document for the third frame "on-the-fly." You can set up a 
blank
>   > window for the third frame with about:blank in the SRC= of the frameset
>   > document, or use an empty file, or whatever content you want to show 
there.
>   > You then write to that frame with document.write, using the syntax (I'm
>   > calling the third frame "frame3"):
>   > 
>   > Result = "<HTML><BODY>blah blah blah</BODY></HTML>";
>   > parent.frame3.document,.write (Result);
>   > 
>   > Of course, you'll probably need to build a pretty long string. You can do
>   > that with the old concatenation trick:
>   > 
>   > Result = "start of string ";
>   > Result += "more of the string ";
>   > Result += "and even more"
>   > 
>   > I have an example of a perpetual calendar at my site that generates the
>   > content of the second frame.  It was the first JavaScript program I 
wrote,
>   > and it has some "long way around" code, but the output stuff should still 
be
>   > valid (I've since rewritten the calendar, but haven't had a chance to 
upload
>   > it yet).  You might look at that to see if it gives you any ideas.   (My
>   > background selector uses a similar technique, too, but its size makes it 
a
>   > little harder to piece out.)
>   > 
>   > I hope I understood your request. 
>   > 
>   > -- Gordon
>   > http://gmccomb.com/javascript/
>   > 
>   > 
>   > At 05:15 PM 3/13/96 EST, you wrote:
>   > >Hello all,
>   > >
>   > >I am trying to write a page w/ multiple frames, in which two of the
>   > >frames are input frames, and the combination of the input is
>   > >used to build the third frame.
>   > >
>   > >Does anyone have any examples of this?  I looked at the form example
>   > >that Gordon did (which is cool).
>   > >
>   > >I am thinking of adding hidden objects to one of the frames, and
>   > >filling them in from the other input frame.
>   > >
>   > >Any other ideas?
>   > >
>   > >gp
>   > >
>   > -- Gordon
>   > http://gmccomb.com/javascript/
>   > 
I have a page at http://www2.msstate.edu/~mab7/JB.html   go check it out


The page has two frames, a small vertical frame on the far left and the rest to 
the right is my main page. How could I have a link like read my guestbook in 
the small frame and make the guestbook appear in the big frame.

=-=-=-=-=-Jamie Buehler
--------------------------------------------------------------------
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/