Navigation bar on the first page of Website


R

Rashmi

I desgined my own navigation bar with mouseover properties. Its of cascading
style vertical menu bar. It appears perfectly fine on the rest of the pages
in the website but on the first page (home.htm) it appears in a different
format like with bullets and underline. Why is it so? Do i need to change any
properties for the home page or the navigation bar.

I am pasting the link below which is similar to the type of navigation bar i
have designed. http://www.javascriptkit.com/script/script2/verticalmenu.shtml

I haven't still uploaded my website otherwise i would have given a link to
that.
 
Ad

Advertisements

R

Rob Giordano [MS MVP]

See step 1? You have to put that part in the <head> section of your
webpage...kinda difficult in Publisher, not sure you can get there easily.
As you have to create that CSS page and put it in the root directory of your
website...it's just a text file, do it in Notepad.
 
R

Rashmi

Thanks for your reply Rob. But it works for all the other pages except the
home page. So i was thinking it has something to do with the home page
property or with the design layout i selected while starting to design the
website. That design had bullets in the navigation bar. And i deleted that
default navigation bar and pasted my own code to create a new navigation bar.
 
D

DavidF

Even though the instructions say that you have to put the code in the head
section, like many scripts, they do frequently work without doing that....as
you discovered.

As to why your first page doesn't work the same as the other pages, I would
study the code that you inserted. One potential difference is that all your
pages but your home page (index.htm) are contained in a supporting folder
called index_files, unless you changed the default settings, and assuming
that you are using Pub 2003 or 2007. That might require a different path for
your home page.

DavidF
 
R

Rashmi

Thanks David for your reply. Now i understand what the problem is. I have
saved the css and javascript file in the index_files folder. I think thats
why it works for all the other pages except the index.htm page. Can you
please guide me to where shall i save these files?
 
Ad

Advertisements

R

Rob Giordano [MS MVP]

The index page is not "finding" the css style sheet then, check the path.


--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top