Dreamweaver3 Layer Application Techniques (II.)

Source: Internet
Author: User
dreamweaver| tips The last time when the click button appears hidden layer, before starting today to learn, first say a little digression. DW3 to Chinese support is not good, his link does not support the file named in Chinese, this is one. Second, its behaviors (behavior) menu in the browser's choice is very inconvenient, he default is 3.0 and later Browsers, so many special effects can not be used, including the layer of some special effects. The solution is to click the events for the right side of a small triangle, and then use the keyboard to select the top and bottom of the browser you want.

>> Click button to appear hidden layer ( See example )

Let's look at the examples first
1. First the Objects (project) ctrl+f2 surface version, insert two buttons. Note that the two button action (action) should be selected None (none), otherwise the effect can not be done. The following figure:



2. Prepare the contents of the layer and set it as implied. Layer content by you, tutorial (a) in the layer is a search engine, is now a guest book, according to your needs to change the content of the layer.
3. As a result of the tutorial (a) The basis I do not write so detailed, click the "Show Guest Book" button, press F8 appear behaviors (behavior) menu, add events (event) show layer, actions (action) don't change, do not make it "OnMouseOver" , otherwise the button won't work. Set the following figure:



4. Click the "Hide Guest Book" button, also add events (event) hidden layer.

implementation of the >> pull-down menu ( See examples )

Old habits first come to see the effect
1. You have to do the menu first, and then put the corresponding Drop-down menu content in the hidden layer. A link corresponding to a layer, the above figure has four links to do four hidden layers, layers are placed under the link below, like the following image placed.



2. The rest of the thing to do, you have to click a few more mouse. Press F8 to behaviors (behavior) dish monotonous out, click "Health Common Sense" link, in behaviors click on the plus show-hide Layers, out show-hide Layers menu, the Layer1 set for show (display), The other three layers are set to hide (hidden). The following figure:



3. Change the events (event) onclick to onmouseover event, ok! This is a drop-down menu production, the other three links to do the same. However, I would like to emphasize the point: when setting the Show-hide layers menu, be sure to note that in addition to the link Drop-down menu layer set to show (display), the other layer must be set to hide (hidden), otherwise, the effect is unsightly.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.