Forum Moderators: open
I am working on a project with a menu across the top which i am doing in javascript.
The menu is quite large and so doing it in a frame is not deiserable as the frame would take up half the screen, and we do not want to have to scroll the frame to see the menu. So frames are out.
BUT, the problem i have now is that it looks like i have to include (and modify) the code for each page of the document. There are over 200 pages in multiple nested folders which means a TON of work and testing.
Is there a way to not use frames and not to have to code every page independantly?
Some sort of frame that contains the code, but can overlap the frame below so i can keep it small?
*If its javascript you can write one .js file including the code then use <script src="whatever.js> on each page.
*If you can you could use server side includes to include a file containing the menu on each page.
Both would mean you only have one menu to update no matter how many pages you have.