View Full Version : How to insert html piece?

12-15-2011, 05:06 AM
I use one layout template for all pages. On some of themI'll need to insert/include a new menu which is in a plain html. Thismenu will be changing and unfolding so I'll do frequent updates ofit. That means I need to have a separate html file of it (for ease of updating)and insert it into the pages I want by calling it with javascript or somethinglike that. What's my options in dreamweaver CS5.5? In old times Iused to convert the menu's html to a file.js and then call it on the pagewith javascript. I've been out of designing for 5 years so I needyour help please. Any suggestion will be greatly appreciated.

12-15-2011, 07:48 AM
Hi and welcome to the forum. You can use Dreamweaver's templating system or try PHP includes; http://www.dreamweaverclub.com/php-includes.php

12-15-2011, 07:06 PM
Thank you for your quick reply. Yes, php is an elegant and simple way to include other pieces in the webpage. Manmy thanks