|
| People | Departments | Search UMD |
| |
Global events are great for using server-side includes. The header and footer for this page come from a directory in the ITSS web site and not off my hard drive. As I write this page I cannot see the effect the ssi will have until I put this page on the web server and view it off the server with my browser. Dreamweaver will only render a ssi in the editor if the ssi is on the local hard drive.
To see how this is done, open the file "GlobalEvent.html" from the example web site folder.
Why did I delete everything in the HTML source view? Dreamweaver assumed I'm starting a completely new web page and added the usual opening and closing HTML code. If I include this code in an existing web page, I'll have duplicate code items that should not exist. This can cause all kinds of nasty problems in a web page.
To see how this is done, open the file "EditMe.html" from the example web site folder.
You should see the lines of text created earlier where you placed your cursor.
Click on this inserted text. Notice how Dreamweaver automatically highlights
the group, and the properties window indicates the selection is a ssi (see Figure
3 below).

When you're ready, move on to "Making and Applying a Library Object."
| Did you find what you were looking for? YES NO | |
| ©2003 Regents of the University of Minnesota. All rights reserved.
The University of Minnesota is an equal opportunity educator and employer. Last modified on 04/22/02 | Contact ITSS | Privacy |