Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How to get CSS to emulate Frames

Reply
Thread Tools

How to get CSS to emulate Frames

 
 
erikd@nospam.wanted.here
Guest
Posts: n/a
 
      12-23-2004
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
 
Reply With Quote
 
 
 
 
Neal
Guest
Posts: n/a
 
      12-23-2004
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
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      12-23-2004
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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
having a problem with scrolling frames as if no frames surfunbear@yahoo.com HTML 0 03-08-2006 09:54 PM
Frames and borders around specific frames meyousikmann@yahoo.com HTML 1 02-10-2006 11:12 PM
Frames or not Frames... Ale HTML 17 08-05-2005 12:10 AM
Link needed to go from a non-frames page to a Frames page, and load a particular frame. How? - Newbe Philip HTML 3 06-28-2004 03:06 PM
From Frames to no frames? Powerslave2112 HTML 2 01-20-2004 10:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57