At 11/16/2006 11:18 AM, James Ward wrote:
>I'm wanting to use a technique similar to Eric Meyer's:
>
>http://meyerweb.com/eric/css/edge/popups/demo.html
>
>My problem is that I want the popup text to be positioned in a
>different div to the anchor to which it is linked.


Not using CSS alone.  But with the help of client-side or server-side 
scripting to set the class or id of a common ancestor (such as body), 
CSS can then toggle the display of any page elements along with the 
linked anchor.

One example: http://novitskisoftware.com/nsindex.asp
Once javascript loads, clicking on a menu item changes the body 
class, changing which section of the page is displayed.

The way I express the reason that CSS can't do this by itself is that 
CSS rules operate downward to descendants and not upward to ancestors 
or sideways to cousin elements.

Paul 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to