Previous Message
Next Message

CSS to format <dl> as tabbed pane

Sent by Paul Novitski on 30 March 2006 02:02


At 04:56 PM 3/29/2006, Paul Novitski wrote:
>If either JavaScript or CSS is disabled, the markup will render as a
>(vertical) sequence of DT-DD pairs.


PS:  The model I described works in the absence of JavaScript with a 
server-side script supplying the necessary classNames:
______________________

<dl id="jstabs" class="item#">

         <dt class="item#"><a href="?item=#">Coffee</a></dt>
         <dd class="item#">Black hot drink</dd>
....
______________________

where "#" is the tab/panel number, suppied by the server-side script.

When a tab is clicked, the page reloads, the server-side script 
supplying the requested item#.

Doing so, however, assumes the CSS is enabled.

Paul  

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: