Re: [WSG] Active Links

2006-01-14 Thread Patrick H. Lauke
Thierry Koblentz wrote: I think it was mentionned by Josh already (2nd post to this thread). Doh...serves me right for only skimming over the thread rather than reading it ;) -- Patrick H. Lauke __ re·dux (adj.): brought back; returned

Re: [WSG] Active Links

2006-01-14 Thread David Hucklesby
Hi Helmut, Justin suggested: > 2) Use JavaScript to traverse the element containing the navigation to > find the achor tags href attribute which matches the page which is > currently being viewed (this would be done unobtrusively of course, I don't know your particular situation, but in my case

Re: [WSG] Active Links

2006-01-14 Thread Thierry Koblentz
Patrick H. Lauke wrote: > Unless I'm missing something, I'm surprised that nobody mentioned > what I thought was the most common way to do this with static content: I think it was mentionned by Josh already (2nd post to this thread). Thierry | www.TJKDesign.com ***

Re: [WSG] Active Links

2006-01-14 Thread Paul Novitski
At 07:18 AM 1/14/2006, Patrick H. Lauke wrote: assign an id or class to each navigation bar link, and also assign an id or class to the body element. then, in your css, define rules that match up the two. ... home portfolio contact ... ... ... body#home a#navhome { /* styling for acti

Re: [WSG] Active Links

2006-01-14 Thread Patrick H. Lauke
Unless I'm missing something, I'm surprised that nobody mentioned what I thought was the most common way to do this with static content: assign an id or class to each navigation bar link, and also assign an id or class to the body element. then, in your css, define rules that match up the two.

Re: [WSG] Active Links

2006-01-14 Thread Alexis
On Sat, 14 Jan 2006 09:16 am, Justin Carter wrote: > Hope that helps. Maybe someone else can suggest another idea... Well, i use m4 macros - each (static) page on the site is generated from an m4 source file, which (via an include) contains a macro to only generate items in the nav menu which /

RE: [WSG] Active Links

2006-01-13 Thread Helmut Granda
arter Sent: Friday, January 13, 2006 4:17 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Active Links On 1/14/06, Helmut Granda <[EMAIL PROTECTED]> wrote: > Thanks for the tips, unfortunately no Server Side technology can be used, > just static HTML files. If the pages must be sta

Re: [WSG] Active Links

2006-01-13 Thread Justin Carter
On 1/14/06, Helmut Granda <[EMAIL PROTECTED]> wrote: > Thanks for the tips, unfortunately no Server Side technology can be used, > just static HTML files. If the pages must be static then you only have two options that I can think of... 1) Use a "current" class (or id) on the navigation element t

RE: [WSG] Active Links

2006-01-13 Thread Helmut Granda
@webstandardsgroup.org Subject: RE: [WSG] Active Links Helmut Granda said: > What I am trying to achieve is this: > http://www.alistapart.com/articles/keepingcurrent/ > but without using an ID or a class. What server side language do you have support for? Creating navigation like the php ex

RE: [WSG] Active Links

2006-01-12 Thread Terrence Wood
Helmut Granda said: > What I am trying to achieve is this: > http://www.alistapart.com/articles/keepingcurrent/ > but without using an ID or a class. What server side language do you have support for? Creating navigation like the php example and including it with your pages is the best way to ach

RE: [WSG] Active Links

2006-01-12 Thread Helmut Granda
Helmut Granda Sent: Thursday, January 12, 2006 2:57 PM To: WSG Subject: [WSG] Active Links   Hello,   I am trying to show on a left menu what page is currently active with CSS. So far the only way I know how to do it is by hand-coding it   link.html   What I was thinking about doing was to set

Re: [WSG] Active Links

2006-01-12 Thread Juergen Auer
Hello Helmut, On 12 Jan 2006 at 14:56, Helmut Granda wrote: > So far the only way I know how to do it is by hand-coding it > link.html > What I was thinking about doing was to set up the a:Active class to > like > bold or something, now the only time when the text shows bold is when I > press o

Re: [WSG] Active Links

2006-01-12 Thread Joshua Street
The :active pseudo-class is used on the, well, current active element. In any browser other than IE this doesn't even need to be an anchor: you could (probably, haven't tested just now) use it on a form element so that the background changed colour when you were entering information into an input e

Re: [WSG] Active Links

2006-01-12 Thread Terrence Wood
Helmut Granda said: > Hello, > > > > I am trying to show on a left menu what page is currently active with CSS. > So far the only way I know how to do it is by hand-coding it > > > > link.html > > > > What I was thinking about doing was to set up the a:Active class to like > bold or something, now

[WSG] Active Links

2006-01-12 Thread Helmut Granda
Hello,   I am trying to show on a left menu what page is currently active with CSS. So far the only way I know how to do it is by hand-coding it   link.html   What I was thinking about doing was to set up the a:Active class to like bold or something, now the only time when the text sh