Saturday, February 11, 2023

Adobe dreamweaver cs6 manual pdf free download. Adobe Dreamweaver CS6 Classroom In A Book

Looking for:

[PDF] Adobe Dreamweaver CS6 free tutorial for Beginners 













































     


(PDF) Adobe Dreamweaver CS6 Classroom In A Book | Jorge Sousa - .



 

WizCase includes reviews written by our experts. Wizcase may earn an affiliate commission when a purchase is made using our links. Our content may include direct links to buy products that are part of affiliate programs.

Such standards require the reviewer to consider the technical qualities and characteristics of the product alongside its commercial value for users, which may affect the product's ranking on the website. Adobe Dreamweaver is a professional web design program that is also popular among students and aspiring web designers. It has all the tools for creating responsive websites, ensuring that your pages will display properly on computers, tablets, and smartphones. Dreamweaver also includes plenty of video tutorials and smart coding tools that will help you quickly recognize coding errors to get them fixed before publishing the web page.

You can uninstall Adobe Dreamweaver through the Creative Cloud by completing the following steps:. Adobe Dreamweaver is a one-stop solution for all your web development and design needs from the coding perspective. While Dreamweaver requires some basic coding knowledge to use, there are plenty of video tutorials that will go through all the different functions and show tricks and tips for correctly coding your work. There are also templates and CSS style sheets that you can use to quickly build a site or add functions like forms and e-commerce functions.

The coding on the page uses a color scheme, which helps keep everything organized so you can quickly find any code mistakes. Responsive design: Design and code your websites with a Responsive design so it will properly display on smaller tablets and smartphone screens. There is a preview option that will allow you to change the screen size, so you can see exactly how the published page will look on any device.

Click-to-edit in live view: One of the newest features in Dreamweaver makes it easy to make edits and view in real-time how it would look once the page is published. Compatible with Adobe products: Adobe makes it easy to integrate other Creative Cloud apps with Dreamweaver. You can seamlessly include images from Photoshop and Illustrator , and video files from Premiere Pro to your web design. Not only that, but Dreamweaver can extract the elements from a Photoshop design and recreate it for your web page.

You can download a free 7-day trial of Adobe Dreamweaver. Dreamweaver is compatible with most third-party site-building tools. This means that you can build, design, and edit pages for websites hosted on WordPress, Joomla, Drupal, and more. You can also create a Git repository for tracking any changes that you make to a custom CMS. WizCase is an independent review site. We are reader-supported so we may receive a commission when you buy through links on our site.

You do not pay extra for anything you buy on our site — our commission comes directly from the product owner. Support WizCase to help us guarantee honest and unbiased advice. Share our site to support us! Please type an email. Please type a Name. I want more news and awesome tips. WizCase Downloads Adobe Dreamweaver. Our Reviews WizCase includes reviews written by our experts. Referral fees Wizcase may earn an affiliate commission when a purchase is made using our links.

Version: Written by: Shauli Zacks. Office and Business Tools, Editing Software.

   

 

Adobe dreamweaver cs6 manual pdf free download



   

Note that the new rule was inserted directly after the. Dreamweaver makes it easy to apply classes. Make sure the cursor is lashing in the element and that no text is selected. P Note: You may need to refresh the page display to see the updated tag selector. When the cursor is inserted in an existing element, Dreamweaver assumes you want to apply the class to the entire element.

Choose green from the Class menu in the Property inspector. Now remove the class. Insert the cursor anywhere in the formatted text. When the cursor is inserted in Design or Code view. Creating custom IDs he CSS id attribute is given the highest speciic weight in CSS styling because it is used to identify unique content on a webpage and therefore should trump all other styling. Right-click the selector name and choose Edit Selector from the context menu.

Note the ID displayed in the Property inspector. Note that the menu has two apparent options: apDiv1 and logo. You can demonstrate this functionality with a simple test. You see this diference as soon as you insert an AP div into a document: Dreamweaver creates a rule for it automatically and assigns it attributes for width, height, position, and z-index, and it then displays these speciications in the Property inspector.

In fact, the special treatment persists even after the rule is created. If you change the id attribute of the AP div in the Property inspector, Dreamweaver will update the name of the rule in the CSS Styles panel at the same time.

However, the reverse is not true. If you change the rule name using the style sheet as you did in this lesson , Dreamweaver does not change the ID on the element itself. The program leaves this chore up to you. What happened to apDiv1? Additionally, as each ID stored in the style sheet is used in your layout, Dreamweaver interactively removes it from the menu to prevent you from accidentally using it a second time. Many designers create these attributes irst and then deine them later, or use them to diferentiate speciic page structures, or to create hyperlink destinations.

Some class and id attributes may never appear in the style sheets or pop-up menus. Examine the available class attributes. Note that all class attributes are available. You should now know some of the diferences between classes and IDs, as well as how to create, edit, and assign them to elements on your page. Creating an interactive menu By combining descendant selectors, classes, and IDs, you can produce amazing behaviors from seemingly static elements.

Videos, Flash animation, and JavaScript behaviors will all perform as they would on the Internet. Observe the behavior and appearance of the menu items. P Note: Rollover refers As the mouse moves over each button, the cursor icon changes to the hand back to the time when pointer, indicating that the menu items are formatted as hyperlinks.

Observe the behavior and appearance of the menu items, if any. Do not select the spaces on either making changes to your side of the word or the vertical bars, or pipes, that separate the words. If Adding a hash mark in the Link ield creates a hyperlink placeholder and desired, you can change will allow you to create and test the necessary formatting for the horizontal both the content and navigation menu without having to create an actual link.

Note that the text now styling using the Code displays the formatting of a typical text hyperlink. Be sure to select both words in each item before applying the placeholder. Watch for any undesirable side efects. The a:link pseudoclass in many cases is interchangeable with the a selector in CSS rules. However, as you already experienced earlier, a:link is more speciic and may override speciications assigned to the less speciic a selector if both are used in the style sheet.

This speciication is reset whenever the browser cache or history is deleted. When used, the pseudoclasses must be declared in the order as listed above to be efective. Remember, whether declared in the style sheet or not, each state has a set of default formats and behaviors. When a link has been used, it usually changes color, indicating that you visited that destination earlier.

However, in the vertical and horizontal menus, we do not want the links to change their appearance after you click them. To prevent or reset this behavior, you can create a compound rule that will format both states of the link at once. Type :link to add it at the end of the selector name. Type a comma , and press the spacebar to insert a space. By combining these two selectors into one rule, you are formatting the default properties of both hyperlink states at once.

Position the cursor over the hyperlink placeholders in the horizontal menu. But these hyperlinks have none of the lair of the vertical menu, with its changing background color. As explained, that interactive behavior is controlled by the pseudoclass a:hover.

Save the ile. Select the nav p a:link, state inherits much of its formatting from a nav p a:visited rule in the CSS Styles panel. In most he New CSS Rule dialog box appears with the Compound selector type cases, you only need to declare values for displayed and the text. Edit the Selector Name to say nav p a:hover, nav p a:active, and click OK. You can create a more interesting efect by add space outside the adding a little padding to the element.

Double-click the nav p a:hover, nav p a:active rule to edit it. Luckily, the solution to this problem is quite simple. Have you igured out what you need to do? It can be used to delete a rule property or the entire rule, depending on how it is invoked. Before using it, note the tooltip that appears when the cursor hovers over it. When the mouse moves over the links, the background color extends ive pixels around the link without shifting.

Do you understand why you added the padding to the default hyperlink? By adding padding to the default state, the hover state automatically inherits the extra padding and allows the background color to work as desired, without shifting the text. To be consistent, the colors used in the site should adhere to the overall site theme. Since you know that the hover state is responsible for creating the interactive link behavior, it should be a simple matter to change the background color in the vertical menu.

Observe the names and the order of elements in the tag selector display. Is there an a:hover pseudoclass associated with it? In the Background category, change the background color to By applying diferent colors to each border, you can give the but- tons a 3D appearance. As in the previous exercise, you irst need to locate the rules formatting the elements.

Observe the attributes displayed in the Properties section of the panel. Enter solid, 1px, in the Right border ields. Enter solid, 1px, in the Bottom border ields. Enter solid, 1px, 0C0 in the Left border ields. Before After By adding lighter colors to the top and left and darker colors to the right and bottom, you have created a subtle but efective three-dimensional efect.

Creating faux columns Although multicolumn designs are very popular on the web, HTML and CSS have no built-in commands to produce true column structures in a webpage. Instead, columnar designs—like the one used in the Dreamweaver CSS layouts—are simu- lated by using several types of HTML elements and various formatting techniques, usually combining margins and the loat attribute. HTML5 and CSS3 can display text in multiple columns, but for the time being, the page layouts themselves will still depend on the older techniques.

Unfortunately, these methods have their limitations and downsides. For example, one of the problems with the layout used in this lesson is getting both columns to display at the same height. Either one column or the other will almost always be shorter. Since the sidebar has a background color, there will be a visible gap at the bottom as content is added to the main page. Many designers sidestep the issue alto- gether simply by refusing to use background colors.

Instead, you will create the efect of a full-height sidebar column by using a back- ground graphic combined with the CSS repeat function. Examine the tag selector display. Examine its properties. In the Background category, click the Browse button. Select divider. Right-click the button and choose Code Navigator from the context menu. Chances are a margin setting is producing the spacing efect.

Select the bottom-margin setting in the Properties section. It makes the process of testing and uploading quick and simple. But an internal style sheet can style only one page.

An external style sheet can be linked to any number of pages and, for most web applications, is the normal and preferred worklow. Dreamweaver provides the means to handle that task quickly and easily. Hold the Shift key P Note: The last style and select the last style.

You could also right-click the selected area to access the Move CSS Rules option from the context menu. Click Save. Note at the top of the document window that Dreamweaver now displays the name of the external style sheet in the Related Files interface.

More than one style and referenced that have been changed are sheet can be linked to a page. By creating and attaching style sheets optimized for not automatically saved. For example, the style sheet created and applied in the previous exercises was designed for a typical computer display.

Print style sheets often adjust colors to work better for laser and inkjet printers, hide unneeded page elements, or adjust page sizes and layouts to be more suitable for printing. When the print queue is activated, the printing application checks for a print- media style sheet. If one is present, the relevant CSS rules are taken into account. Displaying the style rendering toolbar If no media-type attribute appears in a style sheet, the browser or web applica- tion assumes that the CSS styles are intended for screen display.

However, you have the ability to switch what media type is rendered in Design view by using the Style Rendering toolbar. Leave it visible for the next exercise. Make sure the site root folder is targeted. From the Media ield menu, choose print. At the moment, both style sheets are identical.

You will modify the print style sheet in the next exercise. Using the print- media style sheet, you can hide unwanted portions of a page. Before you can hide these menus, we need to create a new rule. Delete repeat-y from the Background-repeat ield. Deleting the image reference is not enough. Click the Live view button.

Although the Style Rendering toolbar is set to Print, Dreamweaver ignores the print-media styles and renders the page for the screen. To properly test the page, you have to use the print preview function in an actual browser. P Note: Some 15 Once the page has loaded in the browser, activate print preview. Always test printing the butterly logo and the page borders. In the Border category, what other styles you if necessary, select the Same For All option in the Style section.

Choose none need to modify for from the Top Style ield. You should know enough now to keep the butterly logo from printing, too. Take a few minutes here and see if you can do it. Whenever you can remove unneeded code from your pages, you should do so. It reduces ile size and allows the pages to download and respond more quickly. You can delete unneeded styles using the CSS Styles panel. Click Yes to delete multiple rules. In fact, you can remove all the rules that format hyperlink behavior.

After deleting any rules, make sure you test the page in the browser and in the print application. Observe the screen display in Design view. Dreamweaver renders the document for the web. Dreamweaver renders the screen using the print style sheet. You have adapted a screen-media style sheet to render a webpage more appropriately in print. You have completed the basic design of the page that will be used as the project template, and you have adapted it to print media.

In the next lesson, you will learn how to convert this layout into a dynamic web template. Observe the design and structure of this page. Note the mouse icon Dreamweaver displays. Type Get a fresh start with GreenStart to replace the text. Select your default browser. For all intents and purposes, a template-based page is just a normal HTML ile.

Creating a template from an existing layout A template is a type of master page from which related child pages are produced.

Templates are useful for setting up and maintaining the overall look and feel of a website, while providing a means for quickly and easily producing site content.

A template is diferent from the pages you have already completed; it contains areas that are editable and other areas that are not. Templates enable a workgroup environment where page content can be created and edited by several people on the team, while the web designer is able to control the page design and speciic ele- ments that must remain unchanged.

Or, if you are starting from scratch in this exercise, in the lesson06 folder. Because of their special nature, templates are stored in their own folder, Templates, which Dreamweaver automatically creates at the site root level. Leave the Description ield empty. If you have more than one ilename, like adding template in a site, a description may be useful.

P Note: A dialog box may appear asking about saving the ile without deining editable regions; just click Yes to save anyway.

An untitled dialog box appears asking whether you want to update links. Since the template is saved in a subfolder, updating the links in the code is neces- sary so that they will continue to work properly when you create child pages later.

Although the page still looks exactly the same, you can identify a template in two ways. Second, the ile extension is. A template is dynamic, meaning that Dreamweaver maintains a connection to all pages within the site that are derived from it. Whenever you add or change content within the dynamic regions of the page and save it, Dreamweaver passes those changes to all the child pages automatically, keeping them up to date. Some sections of the page should contain areas where you can insert unique content.

Dreamweaver allows you to designate these areas of the page as editable. Inserting editable regions When you irst create a template, Dreamweaver treats all the existing content as part of the master design.

Child pages created from the template would be exact duplicates, except that the content would be locked and uneditable. You get around this barrier by deining editable regions in the template. First, give some thought to which areas of the page should be part of the template and which should be open for editing. Each editable region must have a unique name, but there are no other special conventions. However, keeping them short and descriptive is a good practice. In Design view, you will see the name in a blue tab above the designated area, identifying it as an editable region.

It contains an P Note: If you are image placeholder and caption that you can customize on each page. But it also building this template using an alternative includes the vertical menu, which will hold the main navigation links for the HTML 4 layout site. Adding a title to each page is a good practice. Each title should relect the speciic content or purpose of the page.

But many designers also append the name of the company or organization to help build more corporate or organizational awareness. Adding the name in the template will save time typing it in each child page later. P Note: The Update You now have two editable regions, plus an editable title that can be changed as Template Pages dialog needed when you create new child pages using this template.

Since there are no template child pages made from this template. Once a child page has open a template in a been created from a template, only the content within the editable regions can be text editor, all the code modiied in the child page.

If you editable regions of the open the page in a text editor, like Notepad or TextEdit, the code is fully editable. Dreamweaver creates a new page based on the template.

Note the name of the template ile displayed in the upper-right corner of the document window. Before modifying the page, you should save it. In the Save As dialog box, navigate to the root folder for your project site. Certain areas, such as the header, menu bar, and footer, are locked and cannot be modiied.

Type About Meridien GreenStart to replace the text. Type GreenStart — green awareness in action! Select the placeholder text Insert content here in the MainContent region. In the Select Image Source dialog box, select shopping.

But only areas outside the editable regions will be updated. Typically, it is grouped with the Files panel. Click the refresh icon if no templates appear in the list. Type GreenStart Home to replace the text. Type Headlines to replace the text.

Select the Show Log option at the bottom of the dialog box to display a report detailing which pages were successfully updated and which ones were not. Observe the page and note any changes. At the same time, the boilerplate elements of the header, footer, and horizontal menu all remain consistently formatted and up to date based on the status of the template.

Dreamweaver even updates linked documents that are open at the time. If Dreamweaver or your computer were to crash at this moment, the changes would be lost and you would have to update the page manually or wait until the next time you make changes to the template to take advantage of the automatic update feature.

Library items are reusable bits of HTML—paragraphs, links, copyright notices, tables, images, navigation bars, and so on—that you use frequently but not on every page within a website and therefore would not necessarily include in the site template.

You can use existing page elements or create original library items from scratch and add copies of them where needed. A library item is a like a template, only on a small scale. As with templates, when you make and save changes to a library item, Dreamweaver automatically updates every page that uses that item. Adobe Dreamweaver CS6 Tutorial. But also many other tutorials are accessible just as easily! You should come see our Web programming documents. You will find your happiness without trouble!

Size : 2. Description : This book is made for students who would like to learn the basics of the three primary Adobe design applications. Adobe Illustrator CS5 Essentials.

Adobe Captivate 8. Adobe Spark Getting Started. Adobe photoshop tutorial. Description : Download free adobe photoshop tutorial course material and training in PDF file 37 pages Size : Size : 2. Description : This book is made for students who would like to learn the basics of the three primary Adobe design applications. Adobe Illustrator CS5 Essentials. Adobe Spark Getting Started. Adobe Captivate 8. Adobe photoshop tutorial. Description : Download free adobe photoshop tutorial course material and training in PDF file 37 pages Size : You can create a more interesting efect by add space outside the adding a little padding to the element.

Double-click the nav p a:hover, nav p a:active rule to edit it. Luckily, the solution to this problem is quite simple. Have you igured out what you need to do? It can be used to delete a rule property or the entire rule, depending on how it is invoked.

Before using it, note the tooltip that appears when the cursor hovers over it. When the mouse moves over the links, the background color extends ive pixels around the link without shifting. Do you understand why you added the padding to the default hyperlink?

By adding padding to the default state, the hover state automatically inherits the extra padding and allows the background color to work as desired, without shifting the text. To be consistent, the colors used in the site should adhere to the overall site theme.

Since you know that the hover state is responsible for creating the interactive link behavior, it should be a simple matter to change the background color in the vertical menu. Observe the names and the order of elements in the tag selector display. Is there an a:hover pseudoclass associated with it?

In the Background category, change the background color to By applying diferent colors to each border, you can give the but- tons a 3D appearance. As in the previous exercise, you irst need to locate the rules formatting the elements.

Observe the attributes displayed in the Properties section of the panel. Enter solid, 1px, in the Right border ields. Enter solid, 1px, in the Bottom border ields. Enter solid, 1px, 0C0 in the Left border ields. Before After By adding lighter colors to the top and left and darker colors to the right and bottom, you have created a subtle but efective three-dimensional efect.

Creating faux columns Although multicolumn designs are very popular on the web, HTML and CSS have no built-in commands to produce true column structures in a webpage. Instead, columnar designs—like the one used in the Dreamweaver CSS layouts—are simu- lated by using several types of HTML elements and various formatting techniques, usually combining margins and the loat attribute.

HTML5 and CSS3 can display text in multiple columns, but for the time being, the page layouts themselves will still depend on the older techniques. Unfortunately, these methods have their limitations and downsides. For example, one of the problems with the layout used in this lesson is getting both columns to display at the same height.

Either one column or the other will almost always be shorter. Since the sidebar has a background color, there will be a visible gap at the bottom as content is added to the main page. Many designers sidestep the issue alto- gether simply by refusing to use background colors.

Instead, you will create the efect of a full-height sidebar column by using a back- ground graphic combined with the CSS repeat function. Examine the tag selector display. Examine its properties. In the Background category, click the Browse button. Select divider. Right-click the button and choose Code Navigator from the context menu. Chances are a margin setting is producing the spacing efect.

Select the bottom-margin setting in the Properties section. It makes the process of testing and uploading quick and simple. But an internal style sheet can style only one page. An external style sheet can be linked to any number of pages and, for most web applications, is the normal and preferred worklow. Dreamweaver provides the means to handle that task quickly and easily. Hold the Shift key P Note: The last style and select the last style. You could also right-click the selected area to access the Move CSS Rules option from the context menu.

Click Save. Note at the top of the document window that Dreamweaver now displays the name of the external style sheet in the Related Files interface. More than one style and referenced that have been changed are sheet can be linked to a page.

By creating and attaching style sheets optimized for not automatically saved. For example, the style sheet created and applied in the previous exercises was designed for a typical computer display. Print style sheets often adjust colors to work better for laser and inkjet printers, hide unneeded page elements, or adjust page sizes and layouts to be more suitable for printing. When the print queue is activated, the printing application checks for a print- media style sheet.

If one is present, the relevant CSS rules are taken into account. Displaying the style rendering toolbar If no media-type attribute appears in a style sheet, the browser or web applica- tion assumes that the CSS styles are intended for screen display.

However, you have the ability to switch what media type is rendered in Design view by using the Style Rendering toolbar. Leave it visible for the next exercise.

Make sure the site root folder is targeted. From the Media ield menu, choose print. At the moment, both style sheets are identical. You will modify the print style sheet in the next exercise.

Using the print- media style sheet, you can hide unwanted portions of a page. Before you can hide these menus, we need to create a new rule. Delete repeat-y from the Background-repeat ield. Deleting the image reference is not enough. Click the Live view button. Although the Style Rendering toolbar is set to Print, Dreamweaver ignores the print-media styles and renders the page for the screen. To properly test the page, you have to use the print preview function in an actual browser.

P Note: Some 15 Once the page has loaded in the browser, activate print preview. Always test printing the butterly logo and the page borders. In the Border category, what other styles you if necessary, select the Same For All option in the Style section.

Choose none need to modify for from the Top Style ield. You should know enough now to keep the butterly logo from printing, too. Take a few minutes here and see if you can do it. Whenever you can remove unneeded code from your pages, you should do so. It reduces ile size and allows the pages to download and respond more quickly.

You can delete unneeded styles using the CSS Styles panel. Click Yes to delete multiple rules. In fact, you can remove all the rules that format hyperlink behavior. After deleting any rules, make sure you test the page in the browser and in the print application. Observe the screen display in Design view. Dreamweaver renders the document for the web. Dreamweaver renders the screen using the print style sheet.

You have adapted a screen-media style sheet to render a webpage more appropriately in print. You have completed the basic design of the page that will be used as the project template, and you have adapted it to print media. In the next lesson, you will learn how to convert this layout into a dynamic web template. Observe the design and structure of this page. Note the mouse icon Dreamweaver displays. Type Get a fresh start with GreenStart to replace the text. Select your default browser.

For all intents and purposes, a template-based page is just a normal HTML ile. Creating a template from an existing layout A template is a type of master page from which related child pages are produced.

Templates are useful for setting up and maintaining the overall look and feel of a website, while providing a means for quickly and easily producing site content. A template is diferent from the pages you have already completed; it contains areas that are editable and other areas that are not.

Templates enable a workgroup environment where page content can be created and edited by several people on the team, while the web designer is able to control the page design and speciic ele- ments that must remain unchanged.

Or, if you are starting from scratch in this exercise, in the lesson06 folder. Because of their special nature, templates are stored in their own folder, Templates, which Dreamweaver automatically creates at the site root level.

Leave the Description ield empty. If you have more than one ilename, like adding template in a site, a description may be useful. P Note: A dialog box may appear asking about saving the ile without deining editable regions; just click Yes to save anyway. An untitled dialog box appears asking whether you want to update links. Since the template is saved in a subfolder, updating the links in the code is neces- sary so that they will continue to work properly when you create child pages later.

Although the page still looks exactly the same, you can identify a template in two ways. Second, the ile extension is. A template is dynamic, meaning that Dreamweaver maintains a connection to all pages within the site that are derived from it.

Whenever you add or change content within the dynamic regions of the page and save it, Dreamweaver passes those changes to all the child pages automatically, keeping them up to date.

Some sections of the page should contain areas where you can insert unique content. Dreamweaver allows you to designate these areas of the page as editable. Inserting editable regions When you irst create a template, Dreamweaver treats all the existing content as part of the master design.

Child pages created from the template would be exact duplicates, except that the content would be locked and uneditable. You get around this barrier by deining editable regions in the template. First, give some thought to which areas of the page should be part of the template and which should be open for editing. Each editable region must have a unique name, but there are no other special conventions. However, keeping them short and descriptive is a good practice.

In Design view, you will see the name in a blue tab above the designated area, identifying it as an editable region. It contains an P Note: If you are image placeholder and caption that you can customize on each page. But it also building this template using an alternative includes the vertical menu, which will hold the main navigation links for the HTML 4 layout site. Adding a title to each page is a good practice.

Each title should relect the speciic content or purpose of the page. But many designers also append the name of the company or organization to help build more corporate or organizational awareness. Adding the name in the template will save time typing it in each child page later. P Note: The Update You now have two editable regions, plus an editable title that can be changed as Template Pages dialog needed when you create new child pages using this template.

Since there are no template child pages made from this template. Once a child page has open a template in a been created from a template, only the content within the editable regions can be text editor, all the code modiied in the child page.

If you editable regions of the open the page in a text editor, like Notepad or TextEdit, the code is fully editable. Dreamweaver creates a new page based on the template.

Note the name of the template ile displayed in the upper-right corner of the document window. Before modifying the page, you should save it. In the Save As dialog box, navigate to the root folder for your project site. Certain areas, such as the header, menu bar, and footer, are locked and cannot be modiied. Type About Meridien GreenStart to replace the text. Type GreenStart — green awareness in action! Select the placeholder text Insert content here in the MainContent region.

In the Select Image Source dialog box, select shopping. But only areas outside the editable regions will be updated. Typically, it is grouped with the Files panel. Click the refresh icon if no templates appear in the list.

Type GreenStart Home to replace the text. Type Headlines to replace the text. Select the Show Log option at the bottom of the dialog box to display a report detailing which pages were successfully updated and which ones were not.

Observe the page and note any changes. At the same time, the boilerplate elements of the header, footer, and horizontal menu all remain consistently formatted and up to date based on the status of the template. Dreamweaver even updates linked documents that are open at the time. If Dreamweaver or your computer were to crash at this moment, the changes would be lost and you would have to update the page manually or wait until the next time you make changes to the template to take advantage of the automatic update feature.

Library items are reusable bits of HTML—paragraphs, links, copyright notices, tables, images, navigation bars, and so on—that you use frequently but not on every page within a website and therefore would not necessarily include in the site template.

You can use existing page elements or create original library items from scratch and add copies of them where needed. A library item is a like a template, only on a small scale. As with templates, when you make and save changes to a library item, Dreamweaver automatically updates every page that uses that item. In fact, they are so similar in behavior that some worklows may favor library items over templates altogether.

Or, you could implement common page elements using library items. No items appear in the library for this lesson. A dialog box appears explaining that the library item may not look the same when placed in other documents because style sheet information is not included. Type vertical-nav in the Library Item Name ield. First, to be uploaded to the it creates a library item from the selected menu code and inserts an Untitled server.

Second, it replaces the existing menu with the library item code. And third, it creates a folder called Library at the site root level to store this and other items. Working with library items is similar to using a template. You insert the library item on each page as desired and then update the items as needed. Position the cursor over the vertical menu.

Observe the menu display. Switch to Code view. Insert your cursor in the selected code. P Note: A dialog box may appear at any time in this or the next two steps warning you that the changes you made will be discarded the next time you update the page from the template.

Select a browser from the list. Dreamweaver is keeping track of the library item and your edits, intentional or otherwise. As you will see shortly, the change you made will be short-lived.

Finally, a dialog appears warning you that you have made changes to code that was locked. It further explains that the original code will be restored the next time you update the template or library item.

P Note: The manual change to the library item will remain in the menu for the time being. Save all changes. Dreamweaver updates any pages in the site that use the library item and reports the results of the process. At least one page should be updated. Library items allow you to insert repeatable content throughout the site and update it without having to open the iles individually. Formatting is applied via CSS in the actual page layout. Select the text News and type Headlines to replace it.

Observe the vertical menu. Observe the vertical menu in Live view. As you can see, using library items and templates can save you a lot of time when you want to change and update more than one page. But Dreamweaver still has one more trick up its productivity sleeve: server-side includes. Unlike library items, SSIs must be stored on the web, preferably in your site folder.

On the upside, server-side includes are the most eicient and timesaving way to add reusable HTML code elements to a large number of pages. On the downside, dozens or even hundreds of pages on your site could depend on one ile to operate correctly.

Any error in the code or path name, even a minor one, could cause your entire site to fail. For small sites, library items can be a perfectly workable solution. For large sites, it would be hard to live without SSIs.

In this exercise, you will create an SSI and add it to a page in your site. In this exercise, you will create an SSI from the code creating the vertical menu.

In Design view, right-click the vertical menu. Select Detach From Original in the context menu. A dialog box appears explaining that if you make this item editable, it will no longer be possible to automatically update it when the original changes.

Select Blank Page from the Category section. Note that the Untitled document is a completely formed webpage. P Note: If you copy elements in Code view, he code is deleted, leaving an empty window. Navigate to the site root folder. Name the folder includes. Select the newly created includes folder, if necessary. Name the ile vertical-nav. You have completed the SSI for the vertical menu. In the next exercise, you will learn how to insert it into a webpage. A command inserted in the code of any page on your site would make a call to the server to add the HTML include in the indicated location.

Depending on the type of server you are using, the exact markup may vary. It will also afect the ile extension you use for both the SSI and the webpage ile itself. If you save the ile with the default.



No comments:

Post a Comment