Jump to content

changing nav different pages


aircooled57

Recommended Posts

hey everyone

i would simply like t n how the following effect is acheived

 

i have ust used the follwoing site as an example

www.daily.co.uk

 

how do u get it soo that different page have different menus according to the page name

 

see the domains page that has a menu called domains and all the menu items

then the web hosting page has a menu called web hosting and all the menu items

 

hows this done ?

 

includes?

seperate templates?

 

thank u  ;D

Link to comment
https://forums.phpfreaks.com/topic/133714-changing-nav-different-pages/
Share on other sites

aircooled,

 

on that web site they are using a current id tag. similar to this:

 

<li id="current"><a href="index.html"><span>Home</span></a></li>

 

by doing this, you make the tag, like Domains highlighted. Also, by doing that you would need to make a navigation menu on each html page. to have each page go to another by hitting the appropriate tab you link it. The above example shows that when i hit "Home", i want it to go to index.html. And by doing another for a tab called "Test" it would look like so..

 

<a href="test.html">Test</a>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.