Homework Ten- Spry Widgets


Answer the questions listed in the Form Questions and Spry Questions Tabs

Examine the Spry Resources Tabs for some great tips and tricks

Working with the Collapsible Panel Widget

Collapsible panels have a variety of settings that you can adjust. See some examples.

CSS code for the Collapsible Panel widget

A Collapsible Panel widget is a panel that can store content in a compact space. Users hide or reveal the content stored in the Collapsible Panel by clicking the tab of the widget. The following example shows a Collapsible Panel widget, expanded and collapsed.


A.
Expanded
B.
Collapsed

The HTML code for the Collapsible Panel widget is made up of an outer div tag that contains the content div tag and the tab container div tag. The HTML code for the Collapsible Panel widget also includes script tags in the head of the document and after the Collapsible Panel’s HTML code.

Homework Ten Instructions

Steps One and Two

  • Select File> New> Page from Template, choose intro_dreamweaver_template.dwt and select Create
  • Save this new page as hw10.html

Steps Three and Four

  • Create a page based on your template that incorporates ONE of the following Spry elements into your web page:
    1. Tabbed Panels
    2. Accordion Panels
    3. Collapsible Panels
  • Now re-save your page

Steps Five and Six

  • Go to the Files panel, select the SpryAssets folder and rename the default Spry css page as hw10.css. When asked to update your hw10.html page, select YES.
  • When finished re-save and upload the html, javascript, and css support files to your server
Valid XHTML 1.0 Strict