DMXzone Bootstrap 3 Navigation Support Product Page
Answered
Navigation include file for automatic active links
Asked 28 Oct 2015 13:34:33
1
has this question
28 Oct 2015 13:34:33 David Woolley posted:
Suggestion: It would be great to be able to put the navigation in a separate include file that automatically highlights the Active page in the menu. Currently it's quite a lot of work to set the active page link for each page. One of your competitors has implemented this, so it's a breeze to add the navigation to each page, without having to set the active link.Dave
Replies
Replied 28 Oct 2015 13:54:23
28 Oct 2015 13:54:23 Teodor Kuduschiev replied:
Well, actually the DMXzone Bootstrap 3 navigation automatically highlights the active link. You do not have to "mark" it active for each page...
Also you can cut the navigation code and paste it into an include file, which you can include on your pages.
Also you can cut the navigation code and paste it into an include file, which you can include on your pages.
Replied 28 Oct 2015 14:18:54
28 Oct 2015 14:18:54 David Woolley replied:
Yes I know it highlights the active link, but one does have to intervene and set the active link for each page individually. I'm suggesting that this should be fully automatic, so that one creates the navbar without setting any active links, then the script automatically selects the page link to be active.
The menus supplied by Project Seven do this.
The manual says: 'Check active to indicate the current page'
Am I missing something here?
Dave
The menus supplied by Project Seven do this.
The manual says: 'Check active to indicate the current page'
Am I missing something here?
Dave
Replied 28 Oct 2015 14:24:50
28 Oct 2015 14:24:50 Teodor Kuduschiev replied:
No, this statement is not right: "but one does have to intervene and set the active link for each page individually."
If your menu item points to index.html and you open the index.html page in the browser, the menu script automatically highlights the menu item.
If your menu item points to index.html and you open the index.html page in the browser, the menu script automatically highlights the menu item.
Replied 28 Oct 2015 15:29:12
28 Oct 2015 15:29:12 David Woolley replied:
Oh yes - I see now. I've removed all the
from the navbar that I had set, and the pages are highlighting the active links.
Just what I want - so much easier.
So why do you have an 'Active' checkbox under Navbar item then?
Thanks
Dave
li class="active"
from the navbar that I had set, and the pages are highlighting the active links.
Just what I want - so much easier.
So why do you have an 'Active' checkbox under Navbar item then?
Thanks
Dave