This is a discussion on "How to highlight the current page Nav link ?" within the Web Page Design section. This forum, and the thread "How to highlight the current page Nav link ? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
How to highlight the current page Nav link ?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
How to highlight the current page Nav link ?
I want the the Nav link of the page that is showing to be defined.
Please provide link, proper search term to tutorial or code Thanks again!! |
|
|
|
||||
|
Re: How to highlight the current page Nav link ?
Ok. You need to give the link which is active an id. Presuming you have used an unordered list, it would be:
__________________
Resources Administrator
Grilling Gurus - Interviews with the Best Web Designers and Developers in the Industry Got a Question for Ryan Carson and his Web Design/Development team Carsonified? Jack Franklin - My Blog (It's a Pen in My Mouth BTW)
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
|
|
|||
|
Re: How to highlight the current page Nav link ?
so when someone is on a page of me website the page link will indicate that it is active, yes.
Do I have to add the id <li id="active"><a href="#">mywebpage</a> to each link? <ul> <li><a href="/">Welcome</a></li> <li><a href="#" rel="dropmenu1">Classes</a></li> <li><a href="capoeira-school-contact.php">Contact</a></li> <li><a href="capoeira-school-images.php">Images</a></li> <li><a href="capoeira-school-links.php">Links</a></li> <li><a href="capoeira-events-up-coming.php">Events</a></li> <li><a href="#" rel="dropmenu2">Capoeira FAQs</a></li> <li class="end"><a href="capoeira-school-risadinha.php">The Teacher</a></li> </ul> |
|
||||
|
Re: How to highlight the current page Nav link ?
You have to do it manually, yes.
__________________
Resources Administrator
Grilling Gurus - Interviews with the Best Web Designers and Developers in the Industry Got a Question for Ryan Carson and his Web Design/Development team Carsonified? Jack Franklin - My Blog (It's a Pen in My Mouth BTW)
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
|
|
|||
|
Re: How to highlight the current page Nav link ?
The nav bar is not liking this.
example <ul> <li><a href="capoeira-school-links.php">Links</a></li> <li id="active"><a href="#">Link</a> </ul> so I tried this !? <li id="active"><a href="capoeira-school-links.php">Links</a></li> This seems to do the job, though the back ground colour that I chose does not fill the nav tab. Last edited by Oak; Jan 19th, 2008 at 20:36. |
|
||||
|
Re: How to highlight the current page Nav link ?
You say that this code is not working?
__________________
Resources Administrator
Grilling Gurus - Interviews with the Best Web Designers and Developers in the Industry Got a Question for Ryan Carson and his Web Design/Development team Carsonified? Jack Franklin - My Blog (It's a Pen in My Mouth BTW)
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
|
|
|||
|
Re: How to highlight the current page Nav link ?
hmm.. this produces two link nav tabs?
|
|
|||
|
Re: How to highlight the current page Nav link ?
Not necessarily.
You can use PHP or javascript to match the link HREF with the page URL, and apply a class (or remove the link entirely). |
|
|||
|
Re: How to highlight the current page Nav link ?
Quote:
For the colour not taking up the whole space, screenshot please? ~Dean |
|
|||
|
Re: How to highlight the current page Nav link ?
Quote:
Quote:
I would like to know how take a screen shot! Cheers |
|
|||
|
Re: How to highlight the current page Nav link ?
Quote:
Ok, theres a Print Screen button on your keyboard, find it, push it. Then open an image program (Paint usualy) Push Ctrl+V (Paste) and your screenshot will appear. Save it, then upload it to a free image host (www.imageshack.us ) or google one. As for a Tut, im not sure..someone else will have to help you on that bit. ~Dean |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Current page problems | unitedcraig | Web Page Design | 3 | Jun 10th, 2008 20:44 |
| After login: Redirect to page in history (Current - 2)... | skuliaxe | PHP Forum | 4 | Feb 20th, 2008 16:54 |
| highlight current page | unitedcraig | Web Page Design | 53 | Feb 13th, 2008 22:20 |
| highlight the current page of a drop down menu | Oak | Web Page Design | 2 | Feb 12th, 2008 03:08 |
| Indicating current page on navigation bar | masonbarge | PHP Forum | 2 | Oct 30th, 2006 19:40 |