Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

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

For example: www.apple.com

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
1  
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
2  
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 api.jquery.com/load ( 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
1  
For everyone itching to answer, the question has been asked in stackoverflow now: stackoverflow.com/questions/13160267/… –  Joonas Nov 1 '12 at 8:18
add comment

closed as off topic by e100, Joonas, Yisela, Ken, 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.

1 Answer

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
add comment

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