Closed Thread Icon

Topic awaiting preservation: Nested Frame(set) Resizing in NN6.2.x/Mozilla 1.0 (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=8273" title="Pages that link to Topic awaiting preservation: Nested Frame(set) Resizing in NN6.2.x/Mozilla 1.0 (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Nested Frame(set) Resizing in NN6.2.x/Mozilla 1.0 <span class="small">(Page 1 of 1)</span>\

 
hopeful
Obsessive-Compulsive (I) Inmate

From:
Insane since: Aug 2002

posted posted 08-23-2002 02:11

I have been looking all over for scripts that will work to resize a frameset once it is loaded in NN6.2.x/Mozilla. I have seen only a few examples, but these only allow you to grab the current value of the .cols variable or the .rows variable.

Here is an example of the scripts I am testing:

parent.frameset2.cols="90%, 10%"; //Works in IE4 and up

top.document.getElementById('frameset2').setAttribute('cols','900,*');
This sets the value of cols to a different value, but it does not change the appearance of the frameset. Is there a way to reload the frameset with the new values?

I verified that this value got set by using the following code:

alert(top.document.getElementById('frameset2').cols);
top.document.getElementById('frameset2').setAttribute('cols','900,*');
alert(top.document.getElementById('frameset2').cols);

Thanks,

-Hopeful

============
What's a sig?

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-23-2002 03:23

My post in http://www.ozoneasylum.com/Forum2/HTML/001721.html may be of help.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-23-2002 09:59

Maybe this example that I created a long time ago can help you: http://www.max.co.yu/ozone/max_frames.html


hopeful
Obsessive-Compulsive (I) Inmate

From:
Insane since: Aug 2002

posted posted 08-23-2002 20:31

Hmm, it looks like in the example by mr.maX that you have to respecify the frame src. This becomes a problem because the web page I am working on can have dynamic data posted in that frame and may also have a form that is partially filled out. If someone begins filling out the form and wants to dynamically resize the frame, then the frame may be reloaded with the page they are working on, but it no longer contains the data that they were working on. I could have the form submit to itself, but that is one additional hit on the web server each time they are resizing the frames.

Frustration...
...
...
Well, if there is any other insight out there or if I am missing out on some piece of information here, let me know.

Thanks for the info Slime and mr.maX

-hopeful


============
What's a sig?

hopeful
Obsessive-Compulsive (I) Inmate

From:
Insane since: Aug 2002

posted posted 08-28-2002 21:08

Bumping up my post in the hopes that someone somewhere can tell me whether what I am looking for is possible in NS/Mozilla

============
What's a sig?

« BackwardsOnwards »

Show Forum Drop Down Menu