>On 16/12/05, Christian Montoya <[EMAIL PROTECTED]> wrote: >> On 12/15/05, MocaLoca <[EMAIL PROTECTED]> wrote: >> > I am fresh trying to start creating clean standard sites and I always have >> > trouble with sticky menus. I mean the down state that sticks on the next >> > page clicked. >> >> If you mean menus that have the link to the current page styled >> differently, that has to be done server side. You can style the >> appearance with CSS, but server side techniques to differentiate the >> "current" link from the others is not on topic for this list. > >Hmm, I beg to differ. There is a nice way to handle this, using just CSS: > >http://www.456bereastreet.com/archive/200503/setting_the_current_menu_state_with_css/ >______________________________________________________________________
While that [link] is clever, it still doesn't provide a "same code" solution for each page. Instead, you still must provide something unique on each page (i.e., body id="") for the menu-set to use. As such, you might as well hand-code each menu as per each page. There is NOT a css solution to this "Sticky Menu" problem -- there is no way for css to know what page it is on unless it gets the information from a server-side provider (i.e., php, shtml, whatever) -- now let's see someone prove me wrong. tedd -- -------------------------------------------------------------------------------- http://sperling.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
