Forum Moderators: not2easy

Message Too Old, No Replies

resizeable frames using CSS?

         

cssjoe

10:06 pm on May 30, 2003 (gmt 0)

10+ Year Member



Hi,

I'm looking for a cross browser way to emulate a frameset with CSS's overflow: auto. The thing I'm having difficulty with is allowing the user to resize the frames by grabbing a side and dragging it. I see that it is done here:

[webfx.eae.net...]

(try dragging dragging the side of the left hand frame to expand it). But I have not figured out how it works yet and it may not work for mozilla.

Is this possible?

thanks.

outrun

1:05 am on May 31, 2003 (gmt 0)

10+ Year Member



[edit]Miss Read The Question Just Ignore My Answer[/edit]

I dont think this is a css question but anyway, When you set the frameset leave out the noresize tag and work in percentages rather then pixels for example.

<frameset rows="20%,*" bordercolor="#000000">
<frame name="top" scrolling="NO" src="top.htm" >
<frame name="main" src="main.htm">
</frameset>

Will set a top frame of 20% and the main frame as whatevers left. I set the boder color black so you can see it. The website you give (against TOS) is more complex and requires more then one frameset, but not hard to work out. And will work in mozilla.

regards,
Mark.