Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to add drop-down banners to a web page by Dreamweaver

Shulou Source: shulou.com Published: 2022-06-02 10:54:49 10月02日 Update

This article mainly introduces Dreamweaver how to add drop-down banners to the web page, the article is very detailed, has a certain reference value, interested friends must read it!

In the making of a web page, it is often necessary to set a banner, which will be automatically pulled down and displayed automatically when the web page is open. as shown in the figure, this banner can place pictures, advertisements, announcements, and so on. Let's learn how to set it together.

1. First, create an AP layer where you want to place the banner, and insert what you want to display, only set the background color of the layer here, and name an id.

2. Click body, open the behavior window, click add behavior\ effect\ Curtain, select the layer in the pop-up dialog box, and select the properties according to your needs.

3. Adjust the event to onload, that is, disappear the effect as soon as you open it.

4. Set the close button, create a new nested layer in the AP layer added above, and enter the x number.

5. Select the newly created layer, open the behavior window, click add behavior, select show and hide elements, and select the parent layer in the pop-up dialog box.

6. In this way, a down banner has been set up, and advertisements, announcements and other contents can be placed.

The above is all the content of the article "how to add drop-down banners to a web page by Dreamweaver". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Banners pages content behavior selection drop-down events announcements dialogs advertisements effects articles conversations adjustments values locations elements interests pictures guys Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Information OPPO Reno Shulou Technology Docker