Dreamweaver MX 2004 Advanced Tips (4) Make a pop-up small window

Source: Internet
Author: User
Tags html page window dreamweaver
dreamweaver| Advanced | skills

Pop-up windows are often used for post announcements, or as a site advertisement to show you how to use Dreamweaver MX 2004 to make pop-up windows

1. Create a new HTML page, set page properties. The left boundary, the top border is 0, and the title name is entered in the header.

2. Insert a picture in the page. can also be text, Flash animation and so on. The Small window page is ready.

Let a page pop up the little window just now:

1. A new need to add pop-up window page, of course, you can also open their own production of the homepage of the site, in the tag Selector select the "Body" tag.

2. Open the Behavior Panel ("window"->> "behavior" or press SHIFT+F3 directly), click the "+" button to add behavior, choose to open the browser window. The following figure:

4. At the URL you want to display, select the Pop-up Small window page file. Set pop-up window properties.

5. Click OK, save the file, press F12, browse in the browser, will pop up the window, and finally the code for everyone to post here:

Code added automatically in the head area:

<script language= "JavaScript" type= "Text/javascript" >
<!--
function Mm_openbrwindow (theurl,winname,features) {//v2.0
window.open (Theurl,winname,features);
}
-->
</script>

The code to modify the body is:

<body >



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.