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
----- Original Message -----
From: "Bailey, Neal" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Tuesday, April 06, 2004 10:20 AM
Subject: RE: Any CSS guru here?
> Hmmm yeah I have notice this also... but other people seem to make this
work
> when it loads the target page. Oh well...
>
> Neal Bailey
> Internet Marketing Manager
> E-mail: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
>
> _____
>
> From: Marlon Moyer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 06, 2004 10:58 AM
> To: CF-Community
> Subject: RE: Any CSS guru here?
>
> As soon as the page reloads, you've lost the active state. In mozilla,
> you can click on one of your top links and then move the mouse off, then
> release, and this link will retain the active link, but as soon as you
> move to the new page, it's lost.
>
> --
> Marlon Moyer, Sr. Internet Developer
> American Contractors Insurance Group
> phone: 972.687.9445
> fax: 972.687.0607
> mailto:[EMAIL PROTECTED]
> www.acig.com
>
> > -----Original Message-----
> > From: Bailey, Neal [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 06, 2004 11:33 AM
> > To: CF-Community
> > Subject: OT: Any CSS guru here?
> >
> > Hey guys... I am having a problem with a bit of CSS I have on my page.
> I
> > posted this on the CSS discussion list but something seems jacked up
> over
> > there, their list is running about 2 hours behind and I need to figure
> > this
> > out soon. Anyway for some reason I cannot get the active state to stay
> > active when you click on a link. Maybe I am missing something here, I
> am
> > pretty new to the world of CSS so I'm sure I'm not understanding
> something
> > or I simply missed something.
> >
> > Here is my code:
> >
> > And here is the link to the test site... its still under
> development...
> > big
> > time.
> > http://65.218.34.47 <http://65.218.34.47/>
> >
> >
> > /*
> > <--- Top Horizontal Menu -
> > */
> > table.lix2 a {
> > display: block;
> > width:128px;
> > border-Top: 1px solid #FFFFFF; /*border:1px solid white;*/
> > border-Bottom: 1px solid #FFFFFF; /*border:1px solid white;*/
> > border-Right: 1px solid #FFFFFF;
> > }
> > td.lix2 a {
> > color:#FFFFFF;
> > background-color:#5880A2;
> > font:11px Arial, Helvetica, sans-serif;
> > text-align: center;
> > text-decoration: none;
> > padding: 2px 2px 2px 2px;
> > height: 21px;
> > font-weight:bold;
> > cursor:hand;
> > filter:blendTrans(duration=0.9);
> > }
> > td.lix2 a:link {
> > color:#FFFFFF;
> > }
> > td.lix2 a:hover {
> > color:#FFFFFF;
> > background-color:#FF8E04;
> > }
> > td.lix2 a:active {
> > color:#FFFFFF;
> > background-color:#FF8E04;
> > }
> >
> > Thanks,
> >
> > Neal Bailey
> > Internet Marketing Manager
> > E-mail: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
> >
> >
> >
> >
> _____
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]