|
|
Dreamweaver Libraries, Dreamweaver Templates, and Color SchemesYour friends are at the beach, but youre at home, building the same menu bar for the hundredth time. The site youre working on has lots of pages, but most of them are an awful lot alike. Isnt there some way that Dreamweaver can help you out?Yup. Dreamweaver has a couple of different time saving features that will leave you in high spirits.
The LibraryIf theres an item that you use a lot, like an image or a group of items like a nav bar or a banner, you can put those items in the Library. The Library is a convenient holding place for items that you repeatedly use. If you need it again, drag it out of the Library and place it on the screen. Use it as many times as you wish! The best part is if you change the item in the Library, all the placed items change too!
Putting Items in the Library
The Assets window opens. The assets help you to easily keep track of things in your site. The Library is kept in the assets window.
When you add items to the Library, Dreamweaver will create a Library Folder in your Site Files View. Dont delete it! The Library Folder doesnt need to be uploaded when you place your site on the web, but its a pretty good idea. Back-ups are always nice
Placing Items From the Library in your Web Pages
Editing Library ItemsLibrary items cannot be edited on the screen. You can only change them in the Library, but take care, if you change the Library item, Dreamweaver will want to update all of the placed library items in your website.
To Edit a Library Item:
Using A Library Item From Another Site You can use Library items from other sites, but you have to do it manually.
TemplatesEven if your site has fifty pages, it will probably be built from only two or three unique pages. Youll have a unique homepage, and a couple of different templates. Youll use the templates to automatically build the other pages. Templates are kind of like full-page versions of Library items, except that you can set changeable areas. Like Library items, if the original template is changed, all the documents created with the template will change. The web design course web site has over 700 full pages. We've use three templates.
To Create a Template1. Design the page that youd like to use over and over again. 2. Click FILE-> SAVE AS TEMPLATE
Marking Regions as "editable"Later youre going to be using the templates you create in Dreamweaver to build pages. When you create a page from a template everything in the template in not changeable, unless you stipulate otherwise. This is great if youre handing off work to little lackey web designers and you dont want them to mess up your award winning design. Its not so good when youre trying to add a new paragraph of text. Luckily, you can mark an item as editable, meaning you can change it or add to it. You can only mark text or images as editable. Tables, layers and other design elements are, sadly, not editable, but you can place text inside them and mark that as editable.
To mark an item as editable: 1. Select the item. 2. Click MODIFY-> TEMPLATES-> NEW EDITABLE REGION
The item surround itself with a blue line, signifying that it is an editable region. Remember, you must mark as editable everything that you might want to change.
To set up a template for text, image, or table insertion, simply type something like "insert text here" and mark it as editable.
Building Pages from Templates
Editing a TemplateIf you change a Template, Dreamweaver will give you the opportunity to automatically update any pages created with the template. Youll save days of work.
To edit a template:
The Assets WindowThe Assets window also helps you keep track of other elements in your site. Instead of searching through your file structure, you can find items much more easily by using the assets window. You can open the assets window by opening the Library, or by clicking: WINDOW-> ASSETS The following graphic illustrates the different assets available for you to use:
FavoritesIf you plan on using something often, you can declare it a "favorite". You can then easily find reuse the favorite object from the favorites folder.
To make an object a favorite:
To access your favorites, click the Favorites Radio Button at the top of the assets window.
Insert an item by selecting it and clicking the Insert button on the Assets Panel, in the lower left corner.
Recording CommandsYou can record your actions and replay them later. If youve got a hundred pages and every one needs the same thing done to it. You have to open a page, highlight all the text, change the font, save the page, and close the page. You can record multiple actions and then replay them all with one click. The only catch is that mouse activities cant be recorder, only buttons and menus. To Record Commands
To Play Commands
Color SchemesColor schemes are design tips you can use if youre having a hard time deciding what color to make you background and text. Color Schemes automatically set properties in the Page Properties Window. Take care when youre using them. Just because theyre in Dreamweaver doesnt mean they all look good
To set a color scheme:
|