Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm planning to create a website with many webpages which are shared by a navigational menu.

For example:

Do I have to create separate html files with the same menu code or is there an easier way to accomplish the same task? (using javascript, php, etc)

share|improve this question

closed as off topic by e100, Joonas, Yisela, K3N, Scott Nov 24 '12 at 19:46

Questions on Graphic Design Stack Exchange are expected to relate to graphic design within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This would be far better fit for stackoverflow as it is about coding the menu, rather than any graphical aspect of the menu. I'm not someone that uses dreamveawer, but I'm pretty sure it has something that is called library that, to my understanding works like this: You can store html in this library and place it in multiple documents with some specific code that it gives you. The places where you would put these codes will be filled with the library content stored in the library ( in your final html files ). This would probably work for small websites. – Joonas Oct 31 '12 at 7:44
On the other hand that is pretty much software equivalent for the php include: <?php include 'header.php'; ?>. As far as javascript goes, in jquery you can use load to 'include' content from external files really easily ( not that I'd recommend it for something as important as menu since it would be totally lost if js would be disabled ). – Joonas Oct 31 '12 at 7:54
For everyone itching to answer, the question has been asked in stackoverflow now:… – Joonas Nov 1 '12 at 8:18

I would truly consider using a platform such as WordPress. There are many themes that can be easily customized to fit your needs accordingly. Navigational menus can be edited very easily and moved around. There are many handy plug-ins that you can also get on Code Canyon from Theme Forest.

I hope I was helpful.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.