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 >