This behavior helps to create pop-up ads, small browser windows etc. If you don’t have Dreamweaver we have provided the code that you can cut ‘n’ paste and use in your web page.
This behavior allows you to open a browser window in any size you specify.
Code for the Function: Cut ‘n’ Paste Code
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
Code for the Links: Cut ‘n’ Paste Code
<a href="javascript:;" onClick="MM_openBrWindow('/website_templates/business1/preview.htm','template','width=780,height=550')">Click Here </a>
The above code is taken from Macromedia Dreamweaver 4.0
Pop-Up Windows
The ‘Open browser Window’ behavior can be used for promotional ads, zooming in to pictures etc. It allows you to open a browser window in any size you specify.
Play Sound
Play sound on rollovers, on page load etc.
Jump Menus
If you have a lot of links on a page and don’t have enough of space to fit them all a simple way to add the links is to create a jump menu.
Swap images
Use swap images to liven up your site and add a bit of interactivity.
No portion of these materials may be reproduced in any manner whatsoever, without the express written consent of Entheos. Any unauthorized use, sharing, reproduction or distribution of these materials by any means, electronic, mechanical, or otherwise is strictly prohibited.