Did you manage to get it to work? You inspired me to see if I could make
frames open and collapse.
This works in Mozilla 1.1 and IE 6:
function size(size)
{
parent.document.getElementById("framez").cols = size + ', *';
}
where "framez" is the name of the frameset in question.
If you pass 0 as the size, the frame dissapears completely.
Just for fun, I wrote this in a self-referencing CF page, but I can't think
of a single good use for that. :-)
--Ben Doom
Programmer & General Lackey
Moonbow Software
: -----Original Message-----
: From: S. Isaac Dealey [mailto:info@;turnkey.to]
: Sent: Friday, November 01, 2002 7:03 PM
: To: CF-Talk
: Subject: Re: Hidden frame in frameset
:
:
: > Not to beat this thread to death, but putting
: > style="display: none;" in your frame tag should work as
: > well.
:
: I thought it would ... but didn't have luck with that in IE 5.5 -- it was
: the same as visiblity: hidden; -- it made the content disappear,
: but didn't
: colapse the screen realestate taken up by the frame.
:
: I didn't just test this -- I was actually doing something recently with a
: frame that I wanted to be able to open and close and was trying to set
: visibility on the frame dynamically, which didn't seem to work.
:
: Isaac
: Certified Advanced ColdFusion 5 Developer
:
: www.turnkey.to
: 954-776-0046
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm