Julian Tulip's Licorice wrote:
> I am wondering if this can be done in CSS:
> 
> I have two columns. On the left is a set of links, on the right there
>  is nothing. when i click one of the links I want content to appear 
> on the right and stay there until another link on the left  is 
> clicked. Much like old school frames.
> 
> It seems like this would be fairly easy, I have done it on a hover 
> before. If anyone can send me to a link I would be very grateful.

To add to what others have provided...

Using 'position: fixed' for the set of links will work.

The problem with "CSS only" is that there's no reliable "click" without
actually following the link. Although going to "in-page anchors" will
work just fine, you'll also get a "history of links" to step [back]
through. Thus, a "CSS only" solution will not work all that well.

However, a "CSS + Javascript" combination will create few if any problems.

So, combining "position: fixed" with an IE6 workaround...
<http://www.gunlaug.no/contents/wd_additions_15.html>
...with scripting...
<http://www.icant.co.uk/forreview/dynamicelements/>
...can give you a variant of this...
<http://www.gunlaug.no/main-en.html>
...with one section up at a time in the main column.


regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to