DreamweaverFAQ.com
Search the site!Search DWfaq.com | Print This PagePrinter Friendly Page
Current: Default | Default: Paragon Purple


DreamweaverFAQ.com » Tutorials » Layers » Hide Page Until Loaded


Hide Page Until Loaded (continued)

Applying The Behavior

All that is left for us to do is to apply the behavior and tell it when to trigger.

  1. Select the <body> tag.
    hide_wLoading1h.gif

  2. Add the "Show/Hide Layer" behavior by clicking the "+" button in the Behaviors Panel (Windows» Behaviors) and selecting it from the list.
    hide_wLoading1i.gif

  3. Then select the layer you want to hide.
    hide_wLoading1j.gif

  4. By default it should apply this behavior onLoad, but just in case it doesn't, we can manually set it by select the behavior's event and use the drop down to change it like you see here:
    hide_wLoading1k.gif

And there you have it!

The Example

See the finished project!

Note: The page is a little large at 55k, but I wanted to make sure that even on cable modem you would get to see the "Mask" at work.

::This page last modified 8/13/2013 at 04:37::

Copyright © 2001-2021 DreamweaverFAQ.com All Rights Reserved.
All brands, trademarks, tutorials, extensions, code, and articles are the property of their respective owners.
A production of Site Drive Inc.
Legal Notice | Privacy Policy | Disclaimer & Notice