Chapter 13: JavaScript & Dreamweaver Behaviors

To specify the location of a new window (p. 257)

onClick="MM_openBrWindow('./test.html','','width=200,height=200,top=400 left=600,3')"

To write a cookie (p. 273-74)

<input name="thankyou" type="button" id="thankyou" value="Thank You">

and

onClick="writeCookie('pagecolor',document.forms[0].colormenu.value,'1');"

To read a cookie (p. 290)

<script language="JavaScript"> 
document.bgColor = readCookie('pagecolor');
</script>