html - Drop Down Menu Stacking -


so have custom css drop down menu , works fine except realized writing menu out across html pages on website become tedious if should update new section website , need add on new tier menu, end billion htmls update 1 simple line of code.

i wondering, there way write menu once (on main page) , call on on other htmls?

i experimented bit objects, iframe, call on dropdown menu written on separate html file , such when menu expands scroll bars , both methods seem embed page. want contents of page behind drop down menu standardly looks right now.

the following unedited page:

http://www.blue-cicada.net/trivial/index.html

and test:

http://www.blue-cicada.net/trivial/test/

not looking there, top image obscured, submenus wont fly out etc, how fix?

im new stuff appreciated.

you want server side really, in day have been http://en.wikipedia.org/wiki/server_side_includes, depending on hosting site may still be, though that's unlikely. chances have provision webhost server side, ie php includes say.

if not @ doing javascript client side includes crufty,

if you're hand editing html files , have no access server side technologies well, can have text editor can search , replace across multiple files

update

given comments download notepad++ , read bulk find , replace here 'http://www.dedoimedo.com/computers/notepadpp-tricks.html'. can have test page use figuring out 'what want do' , use global find , replace update of 'current' versions of header/menu/whatever new version.

backup files first!