Implementing javascript menu into website -


i following tutorial on creating javascript menu , have got working in blank html file. however, i've tried working in index page , isn't working.

i've linked working nav nav2.html, 1 i'm trying working index.htm js files in folder on root called js , css files in folder on root called css.

i suspect need edit html code bit work in index file i've tried can , still isn't working.

would appreciate help

calebk

ok several things:

  1. your header's overflow set hidden hiding menu you'll have change that, can try setting overflow:visible removes problem header overflows right you'll have fix that.

  2. remove position:absolute submenu it's positioning wrong.

  3. slider hiding submenu, fix you'll have increase z-index of #topnav div let's z-index:10

after making changes result: http://prntscr.com/13f2lu


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -