This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Dynamic creation of frames & the data within
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Dynamic creation of frames & the data within
- From: "Gottesman, Elisheva" <egottesm at lehman dot com>
- Date: Tue, 19 Dec 2000 12:06:14 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
you can create an html file for the frame (which you call in your frameset
to load), giving the body and ID and leaving it empty-- as follows:
<html>
<head>
</head>
<body ID="doc_info" />
</html>
then you can write to the frame using javascript, as follows:
(depending on what frame you're in)
<SCRIPT language="JavaScript1.2">
<!--
parent.frames.frame_id.doc_info.innerHTML = "dynamic_info";
-->
</SCRIPT>
where frame_id is the frame ID attribute in your frameset, and doc_info is
the body ID attribute in the HTML file.
> -----Original Message-----
> From: Linda Santiago [SMTP:lasantia@us.ibm.com]
> Sent: Tuesday, December 19, 2000 11:32 AM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Dynamic creation of frames & the data within
>
> I am trying to create an page with 4 frames where one of the frames:
> <FRAME marginwidth="20" marginheight="0" NORESIZE src=(??? - dynamic
> data)>
>
> The only way we've found to include dynamic data in SRC is:
> <FRAME marginwidth="20" marginheight="0" NORESIZE src="javascript:
> '<HTML> . . . </HTML>'"
>
> Is there a better way to do this? Or another way to do this?
>
> Linda A Santiago
> ISX Development/T&M ISU
> Phone: (954) 938-3935, T/L 599-3935
> Fax: (954) 958-6970, T/L 599-6970
> E-Mail: lasantia@us.ibm.com
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list