SlideShare a Scribd company logo
1 of 18
Download to read offline
Macromedia

Dreamweaver 8
Tutorial
DREAMWEAVER 8


                                                     Table of Contents

Accessing Dreamweaver 8 .............................................................................. 3
Introduction ..................................................................................................... 3
Start up Window ............................................................................................. 3
Defining a Site................................................................................................. 4
Templates ........................................................................................................ 6
        Using Assets panel to Create a New Template ...................................... 6
        Inserting an Editable Region .................................................................. 7
Creating / Saving an HTML document based on a Template......................... 8
Work Space ..................................................................................................... 8
Page Properties .............................................................................................. 10
Tables ............................................................................................................ 11
Entering and Formatting Text ....................................................................... 12
Inserting Images ............................................................................................ 12
Links .............................................................................................................. 13
Navigation Bars ............................................................................................. 14
Adding Pages using Templates ..................................................................... 15
Named Anchors ............................................................................................. 16
Previewing in a Browser ............................................................................... 17




                                                                                                                          2
DREAMWEAVER 8


 ACCESSING DREAMWEAVER 8

    • To access Macromedia Dreamweaver 8 go to the Start menu >> All Programs
      >> Macromedia >> Macromedia Dreamweaver 8

    • OR double click on the Macromedia Dreamweaver 8 icon on your desktop.




 INTRODUCTION
        Macromedia Dreamweaver 8 is a professional HTML editor that allows you to
 easily build web pages. Visual editing features aid in creating and managing documents
 for web publication. To begin creating a site, use the start up window as shown below.

 START UP WINDOW




Recent Pages

                                                                          Sample Web pages




                            Creating New Web pages

                                                                                          3
DREAMWEAVER 8


   • Recent Pages- contains the most recently accessed documents

   • Creating New Web pages- contains file types, defining a new web Site, or More
     options

   • Sample Web pages- contains built in designs and styles



DEFINING A SITE

    Defining a site in Dreamweaver assists the developer in capturing and accessing all
relevant files relating to the web site. The process includes naming the site, placing local
files on a directory on the hard drive, and defining where those files will be published
on the Web.

   • Select “Dreamweaver Site…” from the Create New column on the start up
     window.

   • The site definition wizard will then walk you through the steps to creating your
     new web site. (NOTE: Make sure the Basic tab is displayed).




                                                                                           4
DREAMWEAVER 8


   • Name your site and click Next.

   • Select the option “No, I do not want to use a server technology” and click Next.

   • Select the option “Edit local copies on my machine, then upload to server when
     ready”.




   • Decide where you want to store the local files. Click on the Folder icon      , and
     then click Select and click Next.

   • Using the drop down menu, change the “How do you connect to your remote
     server?” to “None”. Click Next.

   • Review the options to make sure everything is correct. Click Done.

    At this point you have successfully set up a site in Dreamweaver. Under the files tab
of the resource pane you should see a folder with the name of your site.

                                                                                            5
DREAMWEAVER 8



TEMPLATES

     A template can be created from an existing document or can be created from a
new document. To create a new template:

   • Select File > Open and select the existing document that you want to save as a
     template.

   • OR select File > New to create a template from a new, blank document. Select
     Basic Page or HTML and then click Create.

   • After the document opens, select File > Save as Template OR in the Common
      category of the Insert bar, click on the Templates button   then select Make
      Template.

   • The Save As Template dialog box appears.




   • From the Site pop-up menu, select the site to save the template in and then enter a
     name for the template in the Save As text box. Click Save.

Using the Assets panel to create a new template

   • In the Assets panel (under Window > Assets) select the Templates category button
     on the left side of the panel.

   • The Templates category of the Assets panel appears. Click the New Template
     button  at the bottom of the Assets panel.
                                                                                       6
DREAMWEAVER 8


   • A new template is added to the list of templates in the Asset panel. While the
     template is still selected, enter a name for the template.

Inserting an Editable region

       NOTE! The document you are working with must be saved as a template before
inserting an editable region!

        An editable region can be placed anywhere within your page, however if you are
making a table there are some things to consider. An entire table or an individual table
cell can be marked as editable, but you cannot mark multiple tables as a single editable
region. The editable region includes the region around the cell if a <td> tag is selected.
If this tag is not selected, the editable region affects only content inside the cell.


To insert an editable region:

   • In the Document window, select the text or content that you want to include in
     your editable region OR place the cursor where you want to insert an editable
     region.

   • Do one of the following steps to insert an editable region at this location:
                 Select Insert > Template Objects > Editable Region
                 Right click then select Templates > New Editable Region
                 In the common category of the Insert bar, click the down arrow on
                   the Templates button       and then click on Editable Region.

   •    The editable region dialog box will then appear. In the name box, enter a name
       for the region. (NOTE: You cannot use the same name for more than one editable
       region). Click OK when finished.

   The editable region in the template will be enclosed by a highlighted rectangular
outline. In the upper-left corner of the region there will be a tab that shows the name of
the region.




                                                                                             7
DREAMWEAVER 8


CREATING / SAVING AN HTML DOCUMENT BASED ON TEMPLATE

To create a new HTML document based on a template:

   • From the Dreamweaver Start Up Window under the Create New web pages
     column click on More then select the template tag.

   • Select the template that you would like to create as an HTML document and then
     click Create. The template will open as a new HTML document.

To save an HTML document:

   • Go to File > Save As and save the document as a .htm file.

WORK SPACE

       Dreamweaver provides an all-in-one window layout. In Dreamweaver, you can
decide between a Designer and Coder workspace layout. (You can also use Split
Window to display both the designer and coder screens. This application is found at the
top left corner of the template). The first time you start Dreamweaver, you are prompted
to select a type of workspace layout. At any time, you can switch to another type of
workspace layout. To do this select Window > Workspace Layout > and select desired
workspace layout type.


   • Designer workspace- uses Multiple Document Interface (MDI) in which all
     document windows and panels are integrated into one larger application window.
     In this workspace the panel groups are docked on the right.


   • Coder workspace- uses the same integrated workspace, however the panel
     groups are docked on the left of the screen. In this layout, the document
     window automatically shows the Code view by default.




                                                                                       8
DREAMWEAVER 8


Example of Designer Workspace
                    Insert Bar   Document Toolbar        Document Window       Panel Groups




           Tag
         Selector



                          Property Inspector

Example of Coder Workspace
                                        Insert Bar      Document Toolbar   Document Window

Panel Groups




                                                                                              9
                                   Property Inspector
DREAMWEAVER 8


PAGE PROPERTIES

      Page properties in Dreamweaver allows you to specify the font, font size,
background color, margins, link styles and other aspects of page design for each
document created. To specify this layout and formatting go to Modify > Page Properties
and the Page Properties Dialog Box appears and prompts you to choose a specific
appearance for your page. (The dialog box is shown below).




      The page properties can also be changed using the Property Inspector that is
located at the bottom of the Dreamweaver window. The Property Inspector allows you
to view and edit the format, font, style and size of the text in the document.




To show or hide the Property Inspector:
  • Select Window >> Properties

To expand or collapse Property Inspector:
  • To expand or collapse the Property Inspector, click on the arrow in the lower-
     right corner of the Property Inspector.

To change properties for a page element:
  • Highlight the text in the Document window that you want to format.

   • Change any of the properties in the Properties Inspector.

                                                                                     10
DREAMWEAVER 8



   • The change should be immediately applied to the highlighted text in the
     Document window. (NOTE: If the changes are not seen immediately, you can
     click outside of the property-editing text field or press the ENTER key.)

TABLES

To insert a table into a Dreamweaver document:

   • In the Design view of the Document window, place the cursor where you want to
     table to appear.

   • You can then either select Insert > Table OR in the Common category of the
      Insert bar, click the Table button.

   • The Insert Table dialog box then appears.




   • Complete the dialog box and click OK. The table will then appear in the
     document.



                                                                                  11
DREAMWEAVER 8


ENTERING AND FORMATTING TEXT

To enter text in your document:
  • Type text directly into Dreamweaver Document window

   • OR you can use the cut and paste functions (this can be done by using Edit >
     Paste or Edit > Paste Special)


To format text in your document:
  • Select the text you want to format. If there is no text selected, the changes that
      you make will be applied to the following text you type.

   • The font can then be changed by selecting a specific font type from the Property
     Inspector.

   • OR you can use the Text > Font drop down menu.

   • OR right click on selected text and select Font from submenu.


INSERTING IMAGES

To insert an image into a Dreamweaver document:

   • Place the cursor where you want the image to appear in the Document window.
   • From the Common category of the Insert bar, select the Image icon.

   • The type of image source must then be selected in the dialog box. Select File
     System for a graphic file or Data Source to choose a dynamic image source.

   • Browse to select the image that you wish to insert into the document and click
     OK.

   • The Image Tag Accessibility Attribute dialog box then appears (shown below).
     Enter values in the Alternate Text and Long Description text boxes then click
     OK.




                                                                                         12
DREAMWEAVER 8




LINKS

How to insert a link to an image or text in your Dreamweaver document:

   • Select the text or image where to want to apply the URL link.

   • From the Common category of the Insert bar, select the URL icon.

   • The following dialog box appears:


      The highlighted text
       that you selected
         appears here


          Insert the
         URL link here


            Frame or
           window in
          which linked                    # for tab order   Title for hyperlink
                             Keyboard
          content opens
                             equivalent


   • Enter the link and click OK.

   NOTE: A link can also be added by selecting the desired text or image, and typing
   the URL address into the Link space in the Property Inspector located at the bottom
   of the window.


                                                                                         13
DREAMWEAVER 8


NAVIGATION BARS
      A Navigation Bar consists of an image (or of multiple images) that changes
display based on the user’s actions.

To create a Navigation Bar:

   • In the Common category of the Insert bar, click the images icon      and then
     select the Insert Navigation Bar button. (You can also create a Navigation bar by
     selecting Insert > Image Objects > Navigation Bars).

   • The Insert Navigation Bar dialog box appears. (Next page).

   • Enter the Element name.

   • Enter the image to be inserted into the navigation bar under the Up Image, Over
     Image, Down Image, or Over While Down Image. (NOTE: The images must be
     saved on the Hard Drive prior to creating the Navigation bar).


       A navigation bar element can have four states:
             Up : The image that will appear when the user hasn’t clicked on the
             element.

             Over: The image that will appear when the user moves the pointer over the
             Up image.

             Down: The image that will appear after the element has been clicked.

             Over While Down: The image that will appear when the pointer is over
             the Down image, after the element has been clicked.

   • Insert the URL address that you want to be displayed after the Up image is
     clicked.

   •   Click OK.




                                                                                       14
DREAMWEAVER 8


                       Add elements       Promote elements       Demote elements




            Navigation Bar
            Page placement


NOTE: This is your only opportunity to define the page placement of the Navigation
Bar!!!! (Select whether you want the navigation bar to appear vertically or horizontally
in the document. Also select the “Use tables” checkbox if you want to insert the
navigation bar as a table.)

To modify a navigation bar:
  • Select Modify > Navigation Bar and the Modify Navigation Bar dialog box
     appears. Select the element you want to edit and make the desired changes.

   • Click OK.

ADDING PAGES USING TEMPLATES

To add pages using templates:

   • Go to File > New and the “New from
     Template” box will appear.


   • Click on the Template tab and then click
     Create.




                                                                                       15
DREAMWEAVER 8


NAMED ANCHORS
      Creating anchors in Dreamweaver allows the user to link to a specific place in a
document. After a specific anchor is named, you can create links to these named
anchors and this will quickly take users to a specific spot on your document.

To create a named anchor in a Dreamweaver document:

   • Put the cursor at the area where you want the named anchor to appear.

   • Select Insert > Named Anchor OR in the Common category of the Insert bar,
      click the Named Anchor button.

   • The Named Anchor dialog box appears as shown below.




   • Type the name for the anchor and click OK.

   • The anchor should appear where you had placed your cursor.

To link to a named anchor:

   • In the Link text box of the Property Inspector, type the number sign (#) along
     with the name of the anchor.

   • To link to an anchor named “WCU” in the document you are currently working
     in, type #WCU

   • To link to an anchor named “WCU” in a different document type the
     filename.html#WCU

**NOTE: Anchor names are case sensitive!




                                                                                         16
DREAMWEAVER 8


PREVIEWING IN A BROWSER

     NOTE: The Dreamweaver document MUST be saved prior to previewing in a
browser!!

To preview your Dreamweaver document in a browser:
   • Click on the globe icon    on the top of the Document window. Select Preview
      in IExplorer. The document will display in the primary browser.

   • OR press F12 to display and preview the document.

   • You can also press Control+F12 to display and preview the document in a
     secondary browser. (This secondary browser should be pre-defined).

NOTE: Be sure to click on all the links while your document is being previewed in the
browser to ensure that all links are working properly. When you are finished testing
these links close the page in the browser.




                                                                                    17
Copyright 2012, Software Application Training Unit, West Chester University.
               A member of the Pennsylvania State System of Higher Education.
No portion of this document may be reproduced without the written permission of the authors.
                                 For assistance, call x3350.

More Related Content

What's hot

Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6
Krista Lawrence
 
Getting Started with Dreamweaver
Getting Started with DreamweaverGetting Started with Dreamweaver
Getting Started with Dreamweaver
Frank Fucile
 
IMED 1416 Chapter 01
IMED 1416 Chapter 01IMED 1416 Chapter 01
IMED 1416 Chapter 01
Bobby Rivera
 
Developing a Web Page
Developing a Web PageDeveloping a Web Page
Developing a Web Page
Frank Fucile
 
Just Enough Web Design.doc.doc
Just Enough Web Design.doc.docJust Enough Web Design.doc.doc
Just Enough Web Design.doc.doc
butest
 
Introduction to Microsoft Powerpoint 2003
Introduction to Microsoft Powerpoint 2003Introduction to Microsoft Powerpoint 2003
Introduction to Microsoft Powerpoint 2003
Adesina Esther Tolulope
 
Web design with dreamweaver charles nyangiti
Web design with dreamweaver charles nyangitiWeb design with dreamweaver charles nyangiti
Web design with dreamweaver charles nyangiti
Charles Nyangiti
 
Building yourwp website
Building yourwp websiteBuilding yourwp website
Building yourwp website
linn90
 

What's hot (20)

Macromedia Dreamweaver 8
Macromedia Dreamweaver 8Macromedia Dreamweaver 8
Macromedia Dreamweaver 8
 
Using Stylesheets To Design A Web Site In Dreamweaver Mx 2004
Using Stylesheets To Design A Web Site In Dreamweaver Mx 2004Using Stylesheets To Design A Web Site In Dreamweaver Mx 2004
Using Stylesheets To Design A Web Site In Dreamweaver Mx 2004
 
Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6Unit j adobe dreamweaver cs6
Unit j adobe dreamweaver cs6
 
How to Use Dreamweaver cs6
How to Use Dreamweaver cs6 How to Use Dreamweaver cs6
How to Use Dreamweaver cs6
 
Getting Started with Dreamweaver
Getting Started with DreamweaverGetting Started with Dreamweaver
Getting Started with Dreamweaver
 
IMED 1416 Chapter 01
IMED 1416 Chapter 01IMED 1416 Chapter 01
IMED 1416 Chapter 01
 
Dreamweaver - Introduction AND WALKTHROUGH
Dreamweaver - Introduction AND WALKTHROUGHDreamweaver - Introduction AND WALKTHROUGH
Dreamweaver - Introduction AND WALKTHROUGH
 
Developing a Web Page
Developing a Web PageDeveloping a Web Page
Developing a Web Page
 
Creating Accessible Web Pages Using Dreamweaver Mx 2004
Creating Accessible Web Pages Using Dreamweaver Mx 2004Creating Accessible Web Pages Using Dreamweaver Mx 2004
Creating Accessible Web Pages Using Dreamweaver Mx 2004
 
Dreaweaver cs5
Dreaweaver cs5Dreaweaver cs5
Dreaweaver cs5
 
Just Enough Web Design.doc.doc
Just Enough Web Design.doc.docJust Enough Web Design.doc.doc
Just Enough Web Design.doc.doc
 
Introduction to Microsoft Powerpoint 2003
Introduction to Microsoft Powerpoint 2003Introduction to Microsoft Powerpoint 2003
Introduction to Microsoft Powerpoint 2003
 
Introduction to Lago Web
Introduction to Lago WebIntroduction to Lago Web
Introduction to Lago Web
 
Web design with dreamweaver charles nyangiti
Web design with dreamweaver charles nyangitiWeb design with dreamweaver charles nyangiti
Web design with dreamweaver charles nyangiti
 
Building yourwp website
Building yourwp websiteBuilding yourwp website
Building yourwp website
 
Microsoft Power Point 2007 (Basics)
Microsoft Power Point 2007 (Basics)Microsoft Power Point 2007 (Basics)
Microsoft Power Point 2007 (Basics)
 
Access 2007 tut
Access 2007 tutAccess 2007 tut
Access 2007 tut
 
Ppt 3gg
Ppt 3ggPpt 3gg
Ppt 3gg
 
171dreamweaver
171dreamweaver171dreamweaver
171dreamweaver
 
Microsoft Office PowerPoint 2007 - Lesson 1
Microsoft Office PowerPoint 2007 - Lesson 1Microsoft Office PowerPoint 2007 - Lesson 1
Microsoft Office PowerPoint 2007 - Lesson 1
 

Viewers also liked (11)

Lan Man Wan introduction
Lan Man Wan introductionLan Man Wan introduction
Lan Man Wan introduction
 
Lan wan man
Lan wan manLan wan man
Lan wan man
 
Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3
 
Basic Web Design In Dreamweaver
Basic Web Design In DreamweaverBasic Web Design In Dreamweaver
Basic Web Design In Dreamweaver
 
Network topology
Network topologyNetwork topology
Network topology
 
OSI Network model ppt
OSI Network model pptOSI Network model ppt
OSI Network model ppt
 
Network Hardware And Software
Network Hardware And SoftwareNetwork Hardware And Software
Network Hardware And Software
 
Lan, man and wan ppt final
Lan, man and wan ppt finalLan, man and wan ppt final
Lan, man and wan ppt final
 
Basic concepts of computer Networking
Basic concepts of computer NetworkingBasic concepts of computer Networking
Basic concepts of computer Networking
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
 
BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS BASIC CONCEPTS OF COMPUTER NETWORKS
BASIC CONCEPTS OF COMPUTER NETWORKS
 

Similar to Dreamweaver8

Wd & im session a3 _introduction to web page editors_april 08,2010
Wd & im session a3 _introduction to web page editors_april 08,2010Wd & im session a3 _introduction to web page editors_april 08,2010
Wd & im session a3 _introduction to web page editors_april 08,2010
Mahesh Panchal
 
Unit a adobe dreamweaver cs6
Unit a adobe dreamweaver cs6Unit a adobe dreamweaver cs6
Unit a adobe dreamweaver cs6
Krista Lawrence
 
Lesson 1 cs5
Lesson 1   cs5Lesson 1   cs5
Lesson 1 cs5
dtelepos
 
CBIS 327 ~ Chapter 01
CBIS 327 ~ Chapter 01CBIS 327 ~ Chapter 01
CBIS 327 ~ Chapter 01
mwarrick
 
ASP.NET Session 4
ASP.NET Session 4ASP.NET Session 4
ASP.NET Session 4
Sisir Ghosh
 

Similar to Dreamweaver8 (20)

Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
Dreamweaver cs4
Dreamweaver cs4Dreamweaver cs4
Dreamweaver cs4
 
Oracle ADF 11g Skinning Tutorial
Oracle ADF 11g Skinning TutorialOracle ADF 11g Skinning Tutorial
Oracle ADF 11g Skinning Tutorial
 
Intermediate Dreamweaver
Intermediate DreamweaverIntermediate Dreamweaver
Intermediate Dreamweaver
 
Wd & im session a3 _introduction to web page editors_april 08,2010
Wd & im session a3 _introduction to web page editors_april 08,2010Wd & im session a3 _introduction to web page editors_april 08,2010
Wd & im session a3 _introduction to web page editors_april 08,2010
 
Unit a adobe dreamweaver cs6
Unit a adobe dreamweaver cs6Unit a adobe dreamweaver cs6
Unit a adobe dreamweaver cs6
 
Lesson 1 cs5
Lesson 1   cs5Lesson 1   cs5
Lesson 1 cs5
 
Dnn for beginners
Dnn for beginnersDnn for beginners
Dnn for beginners
 
Isy302 ch01
Isy302 ch01Isy302 ch01
Isy302 ch01
 
Isy302 ch01
Isy302 ch01Isy302 ch01
Isy302 ch01
 
171dreamweaver
171dreamweaver171dreamweaver
171dreamweaver
 
Dreamweaver cs6
Dreamweaver cs6Dreamweaver cs6
Dreamweaver cs6
 
Dreamweaver_Abhijit
Dreamweaver_AbhijitDreamweaver_Abhijit
Dreamweaver_Abhijit
 
hi
hihi
hi
 
Walkthrough asp.net
Walkthrough asp.netWalkthrough asp.net
Walkthrough asp.net
 
CBIS 327 ~ Chapter 01
CBIS 327 ~ Chapter 01CBIS 327 ~ Chapter 01
CBIS 327 ~ Chapter 01
 
ASP.NET Session 4
ASP.NET Session 4ASP.NET Session 4
ASP.NET Session 4
 
Dw Lesson01
Dw Lesson01Dw Lesson01
Dw Lesson01
 

Dreamweaver8

  • 2. DREAMWEAVER 8 Table of Contents Accessing Dreamweaver 8 .............................................................................. 3 Introduction ..................................................................................................... 3 Start up Window ............................................................................................. 3 Defining a Site................................................................................................. 4 Templates ........................................................................................................ 6 Using Assets panel to Create a New Template ...................................... 6 Inserting an Editable Region .................................................................. 7 Creating / Saving an HTML document based on a Template......................... 8 Work Space ..................................................................................................... 8 Page Properties .............................................................................................. 10 Tables ............................................................................................................ 11 Entering and Formatting Text ....................................................................... 12 Inserting Images ............................................................................................ 12 Links .............................................................................................................. 13 Navigation Bars ............................................................................................. 14 Adding Pages using Templates ..................................................................... 15 Named Anchors ............................................................................................. 16 Previewing in a Browser ............................................................................... 17 2
  • 3. DREAMWEAVER 8 ACCESSING DREAMWEAVER 8 • To access Macromedia Dreamweaver 8 go to the Start menu >> All Programs >> Macromedia >> Macromedia Dreamweaver 8 • OR double click on the Macromedia Dreamweaver 8 icon on your desktop. INTRODUCTION Macromedia Dreamweaver 8 is a professional HTML editor that allows you to easily build web pages. Visual editing features aid in creating and managing documents for web publication. To begin creating a site, use the start up window as shown below. START UP WINDOW Recent Pages Sample Web pages Creating New Web pages 3
  • 4. DREAMWEAVER 8 • Recent Pages- contains the most recently accessed documents • Creating New Web pages- contains file types, defining a new web Site, or More options • Sample Web pages- contains built in designs and styles DEFINING A SITE Defining a site in Dreamweaver assists the developer in capturing and accessing all relevant files relating to the web site. The process includes naming the site, placing local files on a directory on the hard drive, and defining where those files will be published on the Web. • Select “Dreamweaver Site…” from the Create New column on the start up window. • The site definition wizard will then walk you through the steps to creating your new web site. (NOTE: Make sure the Basic tab is displayed). 4
  • 5. DREAMWEAVER 8 • Name your site and click Next. • Select the option “No, I do not want to use a server technology” and click Next. • Select the option “Edit local copies on my machine, then upload to server when ready”. • Decide where you want to store the local files. Click on the Folder icon , and then click Select and click Next. • Using the drop down menu, change the “How do you connect to your remote server?” to “None”. Click Next. • Review the options to make sure everything is correct. Click Done. At this point you have successfully set up a site in Dreamweaver. Under the files tab of the resource pane you should see a folder with the name of your site. 5
  • 6. DREAMWEAVER 8 TEMPLATES A template can be created from an existing document or can be created from a new document. To create a new template: • Select File > Open and select the existing document that you want to save as a template. • OR select File > New to create a template from a new, blank document. Select Basic Page or HTML and then click Create. • After the document opens, select File > Save as Template OR in the Common category of the Insert bar, click on the Templates button then select Make Template. • The Save As Template dialog box appears. • From the Site pop-up menu, select the site to save the template in and then enter a name for the template in the Save As text box. Click Save. Using the Assets panel to create a new template • In the Assets panel (under Window > Assets) select the Templates category button on the left side of the panel. • The Templates category of the Assets panel appears. Click the New Template button at the bottom of the Assets panel. 6
  • 7. DREAMWEAVER 8 • A new template is added to the list of templates in the Asset panel. While the template is still selected, enter a name for the template. Inserting an Editable region NOTE! The document you are working with must be saved as a template before inserting an editable region! An editable region can be placed anywhere within your page, however if you are making a table there are some things to consider. An entire table or an individual table cell can be marked as editable, but you cannot mark multiple tables as a single editable region. The editable region includes the region around the cell if a <td> tag is selected. If this tag is not selected, the editable region affects only content inside the cell. To insert an editable region: • In the Document window, select the text or content that you want to include in your editable region OR place the cursor where you want to insert an editable region. • Do one of the following steps to insert an editable region at this location: Select Insert > Template Objects > Editable Region Right click then select Templates > New Editable Region In the common category of the Insert bar, click the down arrow on the Templates button and then click on Editable Region. • The editable region dialog box will then appear. In the name box, enter a name for the region. (NOTE: You cannot use the same name for more than one editable region). Click OK when finished. The editable region in the template will be enclosed by a highlighted rectangular outline. In the upper-left corner of the region there will be a tab that shows the name of the region. 7
  • 8. DREAMWEAVER 8 CREATING / SAVING AN HTML DOCUMENT BASED ON TEMPLATE To create a new HTML document based on a template: • From the Dreamweaver Start Up Window under the Create New web pages column click on More then select the template tag. • Select the template that you would like to create as an HTML document and then click Create. The template will open as a new HTML document. To save an HTML document: • Go to File > Save As and save the document as a .htm file. WORK SPACE Dreamweaver provides an all-in-one window layout. In Dreamweaver, you can decide between a Designer and Coder workspace layout. (You can also use Split Window to display both the designer and coder screens. This application is found at the top left corner of the template). The first time you start Dreamweaver, you are prompted to select a type of workspace layout. At any time, you can switch to another type of workspace layout. To do this select Window > Workspace Layout > and select desired workspace layout type. • Designer workspace- uses Multiple Document Interface (MDI) in which all document windows and panels are integrated into one larger application window. In this workspace the panel groups are docked on the right. • Coder workspace- uses the same integrated workspace, however the panel groups are docked on the left of the screen. In this layout, the document window automatically shows the Code view by default. 8
  • 9. DREAMWEAVER 8 Example of Designer Workspace Insert Bar Document Toolbar Document Window Panel Groups Tag Selector Property Inspector Example of Coder Workspace Insert Bar Document Toolbar Document Window Panel Groups 9 Property Inspector
  • 10. DREAMWEAVER 8 PAGE PROPERTIES Page properties in Dreamweaver allows you to specify the font, font size, background color, margins, link styles and other aspects of page design for each document created. To specify this layout and formatting go to Modify > Page Properties and the Page Properties Dialog Box appears and prompts you to choose a specific appearance for your page. (The dialog box is shown below). The page properties can also be changed using the Property Inspector that is located at the bottom of the Dreamweaver window. The Property Inspector allows you to view and edit the format, font, style and size of the text in the document. To show or hide the Property Inspector: • Select Window >> Properties To expand or collapse Property Inspector: • To expand or collapse the Property Inspector, click on the arrow in the lower- right corner of the Property Inspector. To change properties for a page element: • Highlight the text in the Document window that you want to format. • Change any of the properties in the Properties Inspector. 10
  • 11. DREAMWEAVER 8 • The change should be immediately applied to the highlighted text in the Document window. (NOTE: If the changes are not seen immediately, you can click outside of the property-editing text field or press the ENTER key.) TABLES To insert a table into a Dreamweaver document: • In the Design view of the Document window, place the cursor where you want to table to appear. • You can then either select Insert > Table OR in the Common category of the Insert bar, click the Table button. • The Insert Table dialog box then appears. • Complete the dialog box and click OK. The table will then appear in the document. 11
  • 12. DREAMWEAVER 8 ENTERING AND FORMATTING TEXT To enter text in your document: • Type text directly into Dreamweaver Document window • OR you can use the cut and paste functions (this can be done by using Edit > Paste or Edit > Paste Special) To format text in your document: • Select the text you want to format. If there is no text selected, the changes that you make will be applied to the following text you type. • The font can then be changed by selecting a specific font type from the Property Inspector. • OR you can use the Text > Font drop down menu. • OR right click on selected text and select Font from submenu. INSERTING IMAGES To insert an image into a Dreamweaver document: • Place the cursor where you want the image to appear in the Document window. • From the Common category of the Insert bar, select the Image icon. • The type of image source must then be selected in the dialog box. Select File System for a graphic file or Data Source to choose a dynamic image source. • Browse to select the image that you wish to insert into the document and click OK. • The Image Tag Accessibility Attribute dialog box then appears (shown below). Enter values in the Alternate Text and Long Description text boxes then click OK. 12
  • 13. DREAMWEAVER 8 LINKS How to insert a link to an image or text in your Dreamweaver document: • Select the text or image where to want to apply the URL link. • From the Common category of the Insert bar, select the URL icon. • The following dialog box appears: The highlighted text that you selected appears here Insert the URL link here Frame or window in which linked # for tab order Title for hyperlink Keyboard content opens equivalent • Enter the link and click OK. NOTE: A link can also be added by selecting the desired text or image, and typing the URL address into the Link space in the Property Inspector located at the bottom of the window. 13
  • 14. DREAMWEAVER 8 NAVIGATION BARS A Navigation Bar consists of an image (or of multiple images) that changes display based on the user’s actions. To create a Navigation Bar: • In the Common category of the Insert bar, click the images icon and then select the Insert Navigation Bar button. (You can also create a Navigation bar by selecting Insert > Image Objects > Navigation Bars). • The Insert Navigation Bar dialog box appears. (Next page). • Enter the Element name. • Enter the image to be inserted into the navigation bar under the Up Image, Over Image, Down Image, or Over While Down Image. (NOTE: The images must be saved on the Hard Drive prior to creating the Navigation bar). A navigation bar element can have four states: Up : The image that will appear when the user hasn’t clicked on the element. Over: The image that will appear when the user moves the pointer over the Up image. Down: The image that will appear after the element has been clicked. Over While Down: The image that will appear when the pointer is over the Down image, after the element has been clicked. • Insert the URL address that you want to be displayed after the Up image is clicked. • Click OK. 14
  • 15. DREAMWEAVER 8 Add elements Promote elements Demote elements Navigation Bar Page placement NOTE: This is your only opportunity to define the page placement of the Navigation Bar!!!! (Select whether you want the navigation bar to appear vertically or horizontally in the document. Also select the “Use tables” checkbox if you want to insert the navigation bar as a table.) To modify a navigation bar: • Select Modify > Navigation Bar and the Modify Navigation Bar dialog box appears. Select the element you want to edit and make the desired changes. • Click OK. ADDING PAGES USING TEMPLATES To add pages using templates: • Go to File > New and the “New from Template” box will appear. • Click on the Template tab and then click Create. 15
  • 16. DREAMWEAVER 8 NAMED ANCHORS Creating anchors in Dreamweaver allows the user to link to a specific place in a document. After a specific anchor is named, you can create links to these named anchors and this will quickly take users to a specific spot on your document. To create a named anchor in a Dreamweaver document: • Put the cursor at the area where you want the named anchor to appear. • Select Insert > Named Anchor OR in the Common category of the Insert bar, click the Named Anchor button. • The Named Anchor dialog box appears as shown below. • Type the name for the anchor and click OK. • The anchor should appear where you had placed your cursor. To link to a named anchor: • In the Link text box of the Property Inspector, type the number sign (#) along with the name of the anchor. • To link to an anchor named “WCU” in the document you are currently working in, type #WCU • To link to an anchor named “WCU” in a different document type the filename.html#WCU **NOTE: Anchor names are case sensitive! 16
  • 17. DREAMWEAVER 8 PREVIEWING IN A BROWSER NOTE: The Dreamweaver document MUST be saved prior to previewing in a browser!! To preview your Dreamweaver document in a browser: • Click on the globe icon on the top of the Document window. Select Preview in IExplorer. The document will display in the primary browser. • OR press F12 to display and preview the document. • You can also press Control+F12 to display and preview the document in a secondary browser. (This secondary browser should be pre-defined). NOTE: Be sure to click on all the links while your document is being previewed in the browser to ensure that all links are working properly. When you are finished testing these links close the page in the browser. 17
  • 18. Copyright 2012, Software Application Training Unit, West Chester University. A member of the Pennsylvania State System of Higher Education. No portion of this document may be reproduced without the written permission of the authors. For assistance, call x3350.