Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - How to get CSS to emulate Frames

 
Thread Tools Search this Thread
Old 12-23-2004, 10:40 PM   #1
Default How to get CSS to emulate Frames


OK, frames are evil, but I'm not sure how to emulate the same behavior
using CSS. I currently have a javascript menu that has an expandable
tree in one frame which launches the content in a second.

The advantage I see in frames is that the 2 windows independently
scroll. So when the user expands the tree, the content doesn't scroll
up with the tree. I've looked at a lot of CSS examples looking for a
solution, but I haven't seen one. When using CSS it seems like the
only solution is to scroll the entire window of both columns.

Am I understanding the limits of CSS correctly or is there a
convenient solution? Or do I have the problem stated incorrectly?

--
Erik


erikd@nospam.wanted.here
  Reply With Quote
Old 12-23-2004, 10:44 PM   #2
Neal
 
Posts: n/a
Default Re: How to get CSS to emulate Frames

On Thu, 23 Dec 2004 16:40:34 -0600,
<> wrote:

> OK, frames are evil, but I'm not sure how to emulate the same behavior
> using CSS. I currently have a javascript menu that has an expandable
> tree in one frame which launches the content in a second.
>
> The advantage I see in frames is that the 2 windows independently
> scroll. So when the user expands the tree, the content doesn't scroll
> up with the tree. I've looked at a lot of CSS examples looking for a
> solution, but I haven't seen one. When using CSS it seems like the
> only solution is to scroll the entire window of both columns.
>
> Am I understanding the limits of CSS correctly or is there a
> convenient solution? Or do I have the problem stated incorrectly?


This has been discussed to death over the last month. Read back a bit.

  Reply With Quote
Old 12-23-2004, 10:47 PM   #3
Mark Parnell
 
Posts: n/a
Default Re: How to get CSS to emulate Frames

Previously in alt.html, "" <>
said:

> OK, frames are evil,


Hooray! A convert!

> but I'm not sure how to emulate the same behavior
> using CSS.


Why would you want to? The behaviour is evil, remember?

> I currently have a javascript menu that has an expandable
> tree in one frame which launches the content in a second.


With appropriate fallback for users without Javascript, of course.

> The advantage I see in frames is that the 2 windows independently
> scroll.


You can do this with CSS, using overflow: scroll; but it still causes
problems - I can't scroll it with my mouse wheel for example.

--
Mark Parnell
http://www.clarkecomputers.com.au
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump