|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 -- |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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?
|
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 -- |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|