Upload
jeff-haas
View
1.836
Download
0
Embed Size (px)
Citation preview
Agenda
Authoring an HTML-based Help Application Using Dreamweaver Templates
What Is a Dreamweaver Template? Building a Dreamweaver Template
Layers Layout Tables Regions Snippets Assets Extensions Behaviors Cascading Style Sheet
Authoring a Template-based HTML Help Topic
Why Did We Do This?
Help Authoring Tools didn’t meet our requirements Zero client footprint Distributed environment ASPX integration with web application
Help Authoring Tools didn’t offer Dreamweaver benefits Help as just another web application No separate help installation No black box compile Price break Better control over appearance No additional code, DLLs, or Libraries
Help Architecture
PortalPage.htm(object in focus)
HelpPopup.htm(shell)
Help.js
Help.css
Func.inc
Help popup params& content page URL
HTML stylesJS code
ASP code
Content.htm(object help)
Help pagesfor formatting
Page.htm
Content.htm,Overview.htm,or Process.htm
Note.htm
See Also
Customer Note
See Also
Field.htmTask.htm
What Is a Dreamweaver Template?
A template is a fixed page layout that can be applied to many pages. You use templates to control which page elements template users can edit. One of the most powerful uses of templates is the ability to update multiple pages at once.
Building a Dreamweaver Template
1. Layers2. Layout Tables3. Regions4. Snippets5. Assets6. Extensions7. Behaviors8. Cascading Style Sheet
What Is a Layer?
A layer is a container for HTML content, usually tagged with a DIV or SPAN tag, that you can position anywhere on a page. Layers are absolutely positioned a certain number of pixels from the top left corner of the page.
Layers: Benefits for Help Authors
Precisely define page layout Fewer files than frames Layers work better in an ASPX environment Multiple layers can be stacked and hidden
What Is a Layout Table?
A layout table is a way to change the layout of a template by dividing it into vertical or horizontal sections. Layout tables are simply aligned left, center or right horizontally, in the order they are placed on the page. When the alignment of the table is set to the browser default or aligned left, then layers positioned over or around tables should retain their correct positions.
Layout Tables: Benefits for Help Authors
Provide structure and flexibility Work well with layers Provide expandable borders for editable regions Provide invisible borders
What Is a Region?
A template has two types of regions: locked and editable. Locked regions are the sections of a template that have static, unchanging content, such as navigation bars or unchanging headings. Editable regions are the sections of a template that have changing content, such as paragraph text or customizable links.
Editable Regions: Benefits for Help Authors
Define structured content that may appear more than once in a help topic
Maintain structural integrity while allowing help authors the freedom to add information
Embed formatting of ordered and unordered lists in the template
Embed standard link formatting in the template Embed customized Javascript in the template
Repeating Regions
A repeating region is a section of the layout in a document that is set to repeat. A repeating region can be made editable so that the author can edit the content while the template developer maintains control of the design itself. This ability allows developers to control the appearance of a specific element, yet authors can freely repeat that specific element, changing the content as appropriate.
Repeating Regions: Field Topic Links
<span class="hh" onmouseover="xt('EnterMapID');" onmouseout="xt();">Field Name</span>
What Is a Snippet?
Snippets are small, reusable pieces of code that that can dragged and dropped into a template or web page.
Snippets: Benefits for Help Authors
Save time authoring Create once and reuse multiple times Use existing snippets Develop your own snippets Work with programmers to develop complex snippets
Notes: Snippets embedded in a template become part of that
template If necessary, newly developed snippets can be ported to
help authors desktops
What Is an Asset?
An asset is a piece of content, typically a graphic, movie, sound, or other media item or an auxiliary item such as a glossary. Assets allow authors to reuse commonly referenced items.
Assets: Benefits for Help Authors
Save time authoring Create once and reuse multiple times Create a Library of frequently used Items Assets include
ImagesColorsURLsFlashShockwaveMoviesScriptsTemplates
What Is an Extension?
An extension is a piece of software that can be added to Dreamweaver to enhance its capabilities. There are several different kinds of extensions, ranging from small bits of HTML that you can add to the Object palette and the Insert menu, to JavaScript commands that you can add to the Command menu, to new behaviors or property inspectors or floating palettes. Extensions can be written in HTML, JavaScript, and/or C.
Extensions: Benefits for Help Authors
Add significant functionality to Dreamweaver Go beyond simple Snippets or Assets Use existing extensions for free or for pay Work with programmers to develop extensions
What is a Behavior?
A behavior is the combination of an event and an action that allows a user’s interaction with a page to change the page or cause a task to be performed. A behavior is attached to a specific element on the page.
Behaviors: Benefits for Help Authors
Use same functionality as web application JavaScript based Requires no programming whatsoever
What Is a Cascading Style Sheet?
A cascading style sheet (CSS) is a collection of formatting definitions that affect the appearance of web page elements. You can use CSS styles to format text, images, headings, tables, and so forth.
CSS: Benefits for Help Authors
More powerful and flexible than HTML styles Allows you to make page updates site-wide Style information exists in a separate file
CSS: Project Level
PortalPage.htm(object in focus)
HelpPopup.htm(shell)
Help.js
Help.css
Func.inc
Help popup params& content page URL
HTML stylesJS code
ASP code
Content.htm(object help)
Help pagesfor formatting
Page.htm
Content.htm,Overview.htm,or Process.htm
Note.htm
See Also
Customer Note
See Also
Field.htmTask.htm
Authoring an HTML-based Help Topic
1. Selecting a Template2. Filling in the Template3. Testing the Topic
Questions and Answers
Books Halstead, Brad and Summers, Murray S. 2003.
Dreamweaver MX Templates. Indianapolis, IN: New Riders Publishing.
Lowery, Joseph W. 2002. Dreamweaver MX Bible. Indianapolis, IN: Wiley Publishing, Inc.
Weisner Associates, Inc. 2000-2001. "Creating HTML-Based Help with Macromedia Dreamweaver." (self-study courseware)
Winwriters, Inc. 2002. Proceedings from The Web Help JumpStart Conference. Cambridge, MA: August 19 & 20, 2002.
Questions and Answers
Websites Helpweavers - http://www.helpweavers.com/ Dreamweaver MX Exchange -
http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn120&viewName=Dreamweaver%20Exchange
Dreamweaver MX Support - http://www.macromedia.com/support/dreamweaver/
MSDN Library - http://msdn.microsoft.com/library/ Fireworks MX Support -
http://www.macromedia.com/support/fireworks/ Flash MX Support -
http://www.macromedia.com/support/flash/