|Embed Links etc|
| 11:36 am on Feb 3, 2011 (gmt 0)|
I'm just curious as I know you can do it with CSS, but, can you embedd a HTML Document into a website and how do you do it?
I'm using Dreamweaver CS5 to create my site (not using the functions it has more for ease/viewing when coding). My issue is, if I change one of my headings in the nav bar (or any of its drop downs (which I add to regularly)), I then have to go through every page to change them too.
Is it possible to have like a template, and when you change the template, it amends all the pages too?
| 11:44 am on Feb 3, 2011 (gmt 0)|
dreamweaver has what it calls library files for this purpose i think.
well it used to i haven't used it since macromedia version 4
| 11:47 am on Feb 3, 2011 (gmt 0)|
>>not using the functions it has more for ease/viewing when coding
it's none of my business, but what's the point in paying the premium price of dreamweaver cs5 if you are not going to use the advanced functionality! dreamweaver templates and library files are a core part of benefit of using it.
| 11:51 am on Feb 3, 2011 (gmt 0)|
I got the master collection for the other programs, I'm new to HTML/CSS and rather than "cheat" (as some would call it) I'd rather learn the bits of code, and find out what it all does etc first. Rather than just clicking on something and it doing it for me. (if that makes sense)
| 1:18 pm on Feb 3, 2011 (gmt 0)|
figuredd out how to do it, seems to be a lot of faffing until its sorted though lol
| 6:47 pm on Feb 3, 2011 (gmt 0)|
If you want to learn the code, keep the code window open . . .
However the legacy solution for what you are asking is Server Side Includes, which was designed for this purpose. It dynamically inserts a header from a single file. Down side: it's not a Dreamweaver thing, you won't be able to preview it locally on your computer. You need to upload files to your server and they will work there.
Many would suggest PHP includes for the same purpose, but IMO PHP is a rich dynamic server side language, using it "just for includes" is the equivalent of deploying a 30 lb sledgehammer to drive a thumbtack. It will work, though. The downside is still the same, only works on a server.