Charlie,
Thanks for your help with this... you wouldn't happen to have a code example
of your navigation would ya. I really like the way it works. The way I have
it working now is that it passes a variable in the url but this seems kind
of messy. Yours is cleaner and I could probably learn something from it.
Thanks...
Neal Bailey
Internet Marketing Manager
E-mail: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
_____
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 12:47 PM
To: CF-Community
Subject: Re: Any CSS guru here?
Neal:
check out http://charlie.griefer.com/. The nav is nowhere near as fancy as
what you have, but I think the concept is the same as what you want. If you
click on 'About', the 'About' stays highlighted.
what I do there is put the navigation into a custom tag. When I call it, I
pass the current page as a tag attribute. Within the tag itself, I loop
over an array (held in the application scope that holds structures
containing the 'display name' and target of each navigation element), and a
conditional within each to determine whether or not the display name matches
the 'current page' attribute. If match, no <a href> and set background
color to 'active'. Otherwise, include the href and the appropriate CSS
(including the hover).
Charlie
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: Any CSS guru here? Bailey, Neal
- RE: Any CSS guru here? Bailey, Neal
- Re: Any CSS guru here? Charlie Griefer
- Re: Any CSS guru here? Deanna Schneider
- Re: Any CSS guru here? Kevin Graeme
- RE: Any CSS guru here? Erika L Walker-Arnold
- RE: Any CSS guru here? Sandy Clark
- RE: Any CSS guru here? Bailey, Neal
- RE: Any CSS guru here? Marlon Moyer
- RE: Any CSS guru here? Bailey, Neal
- Re: Any CSS guru here? Bailey, Neal
- Re: Any CSS guru here? Charlie Griefer
- Weather Service Erika L Walker-Arnold
- Re: Weather Service Charlie Griefer
- RE: Any CSS guru here? Bailey, Neal
- Re: Any CSS guru here? Charlie Griefer
- RE: Any CSS guru here? Bailey, Neal
- RE: Any CSS guru here? Bailey, Neal
- Re: Any CSS guru here? Charlie Griefer
- South Park Character Generator Charlie Griefer
- Re: South Park Character Generator Kevin Graeme