You can also do this with CSS and not change your navigation HTML at all. Just give each of your navigation items an id (#nav-about, #nav-contact, etc.) and in each section of the site, assign a class to the body tag based on the section you're in.
Then you can create CSS rules for the "current" section something like this: .about #nav-about, .contact #nav-contact { font-weight:bold; } On 2/21/06, coulix <[EMAIL PROTECTED]> wrote: > > i have this website : > http://ozserver.no-ip.com:345/cefinban/recette/1 > i would like to highlight the menu link representing the current page, > for example if its "contacts" , the ">> contacts link in the menu > should be bold. > > using template i could load a different menu block for each page ? :/ > any other way ? > > thank you. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---