Click to See Complete Forum and Search --> : Nav bar question


pdlstl
04-29-2003, 04:01 PM
I'm brand-spanking new to building web pages and need help with a hyperlink question.

I read a post here regarding links with no line under them and will try that. But what I'm wondering is, in HTML is there a way that when someone is browsing a page the link in the nav bar at the top of the page they are viewing can be a different color to indicate which page they are viewing?

I've included a mock-up of what I'm wanting to do. In the example, the viewer would be on the "About Us" page.

http://www.earlclark.com/images/navbar001.htm

Please explain in simple terms because as I said, I'm a totally newbie.

Thanks,

Earl

khalidali63
04-29-2003, 04:16 PM
HTML itself does not keep track of the state of the page,therefore there is not way for html to compare.However,there are work arounds and techniques you can use,for e.g
highlite the link for all the pages,so when a page is being viewed link for it will be highlited...make sense?

pdlstl
04-29-2003, 04:22 PM
Khalid,

Thanks!

I think I understand what you're saying.

I would make a separate nav bar for each page much as I did in the example. Then use either a different colored text or make the area around the current page link text a diiferent color.

Thanks again,

Earl

Kaisa
04-29-2003, 04:30 PM
You have to do it like its not DHTML or CSS like

Home.html the First link is white then once you make the page for the first page you make the text of page your on a different color like for example

-Home------------------------------
Anime
^v^v^


--After you get on the page anime--

-Home------------------------------
Anime



Etc.

pdlstl
04-29-2003, 04:34 PM
Gotcha'!

Thanks!

Earl