PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > Current Page Indicator
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Current Page Indicator

Réponse
 
LinkBack Outils de la discussion
Vieux 01/06/2008, 00h32   #1
SDCSInc
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Current Page Indicator

As is so cases... such a simple thing... but no simple answer.

How do you get a CSS built nav menu to indicate your current location? In
other words, if i've clicked on the "Home" menu item, how do i get it to show
me i'm on the Home page?

Thanks much... i've looked all over for this and found nada.

Scott

  Réponse avec citation
Vieux 01/06/2008, 00h35   #2
Nancy O
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Current Page Indicator

Current menu state with CSS and body id

http://www.456bereastreet.com/archiv...tate_with_css/


--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com


"SDCSInc" <webforumsuser@macromedia.com> wrote in message
news:g1sn5n$nt5$1@forums.macromedia.com...
> As is so cases... such a simple thing... but no simple answer.
>
> How do you get a CSS built nav menu to indicate your current location? In
> other words, if i've clicked on the "Home" menu item, how do i get it to

show
> me i'm on the Home page?
>
> Thanks much... i've looked all over for this and found nada.
>
> Scott
>



  Réponse avec citation
Vieux 01/06/2008, 01h29   #3
E Michael Brandt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Current Page Indicator

For an easy way to highlight the current menu item:

http://divahtml.com/products/divaGPS...u_location.php

with both a free and a paid version.

--


E. Michael Brandt

www.divahtml.com
http://www.divahtml.com/products/scr...extensions.php
Standards-compliant scripts and Dreamweaver Extensions

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--
  Réponse avec citation
Vieux 01/06/2008, 14h29   #4
SDCSInc
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Current Page Indicator

Thanks for the info. Is the more common way of doing this thru server-side code or is it better in general not to rely on that?

  Réponse avec citation
Vieux 01/06/2008, 14h52   #5
E Michael Brandt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Current Page Indicator

SDCSInc wrote:
> Thanks for the info. Is the more common way of doing this thru server-side code or is it better in general not to rely on that?
>


If you are able to do server-side coding, then indeed that is the
preferred method.

--


E. Michael Brandt

www.divahtml.com
http://www.divahtml.com/products/scr...extensions.php
Standards-compliant scripts and Dreamweaver Extensions

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--
  Réponse avec citation
Vieux 01/06/2008, 21h29   #6
RICH POW
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Current Page Indicator

There is this .js route:

http://www.adelantedesign.co.uk/webs...currentPage.js

Immediately after the menu add:

<script language="javascript">setPage()</script>

now make a style .current

Off you go, works a treat.

Rich

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h15.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11654 seconds with 14 queries