Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Reference

(nextflipdebug5) #1

64 | Chapter 4: AIR Mini-Cookbook


systemChrome="none"
width="206"
height="206">

custom.html

</rootContent>

</application>

index.html


<html>
<head>

<title>Custom Window Controls</title>

<style>
body {
background-image: url( 'custom-chrome.gif' );
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}

#closer {
position: absolute;
width: 70px;
left: 68px;
top: 105px;
}

#minimize {
position: absolute;
width: 70px;
left: 68px;
top: 75px;
}

textarea {
position: absolute;
left: 8px;
right: 8px;
bottom: 8px;
top: 36px;
border-color: #B3B3B3;
}
Free download pdf