View Full Version : ul in a javascript or external file

03-27-2008, 07:52 PM
I have drop down menus on a site I am working on but there are so many menu options it's turning out to be a lot of code.

Is there a way to place an unordered list into an external js file and have the page call it up instead of having a massive amount of code on each page?

I want to do this also because there are a lot of pages and this will be on all of them and I know it will be a lot of work to change the drop down contents on all pages.

-- Nate