Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


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

[Javascript] RE: Javascript digest, Vol 1 #699 - Dynamically altering frameset s


  • From: javascript@xxxxxxxxxx (Senior, Henry (TWIi London))
  • Subject: [Javascript] RE: Javascript digest, Vol 1 #699 - Dynamically altering frameset s
  • Date: Fri, 19 Jul 2002 14:27:45 +0100

I don't think this can be done in netscape 4.

In IE and Netscape 6 you can do the following:



document.getElementsByTagName('frameset')[0].cols="200,*,34";

	or

document.getElementsByTagName('frameset')[0].rows="50,50,*";

(for ie4.* you will have to give the frameset an ID and then use
document.all[yourID] to reference it.)


-----Original Message-----
From: javascript-request@xxxxxxxxxx
[mailto:javascript-request@xxxxxxxxxx]
Sent: 17 July 2002 18:01
To: javascript@xxxxxxxxxx
Subject: Javascript digest, Vol 1 #699 - 1 msg


Send Javascript mailing list submissions to
	javascript@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.LaTech.edu/mailman/listinfo/javascript
or, via email, send a message with subject or body 'help' to
	javascript-request@xxxxxxxxxx

You can reach the person managing the list at
	javascript-admin@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javascript digest..."


Today's Topics:

   1. Any way to alter frames height dynamically? (pd)

--__--__--

Message: 1
Date: Tue, 16 Jul 2002 17:44:49 -0400
To: javascript@xxxxxxxxxx
From: pd <pd4953@xxxxxxxxxxxxx>
Subject: [Javascript] Any way to alter frames height dynamically?
Reply-To: javascript@xxxxxxxxxx

--=====================_35601295==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

I have a frameset.html -

<html>
     </head>

<frameset rows="130,*" border=0 ><!-- top frame height -->
         <frame src="framehdr.html" name="top" SCROLLING="no">
         <frame src="framebody.html" name="main" >
</frameset>


<noframes>
<body>
<p>This page requires a browser that can view frames.</p>
</body>
</noframes>
</html>


Is it possible to create an object with an id in this file for for 
<frameset> and then be able to alter the number of rows in <frameset> from 
framebody.html?

Could I use some form of  parent.frames to access it?

Thank you,

pd
--=====================_35601295==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
I have a frameset.html - <br>
<br>
&lt;html&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/head&gt;<br>
<br>
&lt;frameset rows=&quot;130,*&quot; border=0 &gt;&lt;!-- top frame height
--&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame
src=&quot;framehdr.html&quot; name=&quot;top&quot;
SCROLLING=&quot;no&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;frame
src=&quot;framebody.html&quot; name=&quot;main&quot; &gt;<br>
&lt;/frameset&gt;<br>
<br>
<br>
&lt;noframes&gt;<br>
&lt;body&gt;<br>
&lt;p&gt;This page requires a browser that can view
frames.&lt;/p&gt;<br>
&lt;/body&gt;<br>
&lt;/noframes&gt;<br>
&lt;/html&gt;<br>
<br>
<br>
Is it possible to create an object with an id in this file for for
&lt;frameset&gt; and then be able to alter the number of rows in
&lt;frameset&gt; from framebody.html?<br>
<br>
Could I use some form of&nbsp; parent.frames to access it?<br>
<br>
Thank you,<br>
<br>
pd</html>

--=====================_35601295==_.ALT--



--__--__--

_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript


End of Javascript Digest


DISCLAIMER - The preceding e-mail message (including any attachments)
contains information that may be confidential, may be protected by the
attorney-client or other applicable privileges, or may constitute non-public
information.  It is intended to be conveyed only to the designated
recipient(s) named above.  If you are not an intended recipient of this
message, or have otherwise received it in error, please notify the sender by
replying to this message and then delete all copies of it from your computer
system.  Any use, dissemination, distribution, or reproduction of this
message by unintended recipients is not authorized and may be unlawful. The
contents of this communication do not necessarily represent the views of
this company.