1 / 6

The Web Wizard’s Guide To DHTML and CSS

The Web Wizard’s Guide To DHTML and CSS. Chapter 5 Creating Dynamic Visibility Applications. Chapter Objectives. To use off-window locations to control visibility To create dropdowndrop-down menus with the visibility property To create collapsible menus with the display property

davidtodd
Download Presentation

The Web Wizard’s Guide To DHTML and CSS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Web Wizard’s Guide To DHTML and CSS Chapter 5 Creating Dynamic Visibility Applications

  2. Chapter Objectives • To use off-window locations to control visibility • To create dropdowndrop-down menus with the visibility property • To create collapsible menus with the display property • To control how much of an image is visible

  3. Hiding Content Off-Screen:A Sliding Menu • Create two side-by-side divs • The left div contains links • The right div opens and closes the menu • Absolute position both divs to hide left div off-screen • Add scripting to move right div on screen • Enhance with setCursor() and setBackground()

  4. Drop-Down Menus • Simulate GUI Menus • Absolute position limits placement to top • Use relative position for topmost div • Drop-down menu in an invisible nested div • Enhance with color and cursor changes

  5. Collapsible Menus • Simulate hierachical file trees • Set display to none to hide menu • Set display to block to show menu • Enhance with text node substitution • Enhance with cursor and color changes

  6. Dynamic Clipping • Control visible portion of content • Use the clip property of the style object

More Related