ダイアログの外観を指定する

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Sample</title>
<link rel="stylesheet" href="css/default.css" type="text/css" media="all">
<link rel="stylesheet" href="css/lighting.css" type="text/css" media="all">
<link rel="stylesheet" href="css/main.css" type="text/css" media="all">
<script type="text/javascript" src="js/prototype.js" charset="shift_jis"></script>
<script type="text/javascript" src="js/effects.js" charset="shift_jis"></script>
<script type="text/javascript" src="js/window.js" charset="shift_jis"></script>
<script type="text/javascript"><!--
function openWin(){
var win = new Window("win01", {
title: "Sample",
className: "bluelighting",
top:150, left:80,
width:320, height:240
});
win.setDestroyOnClose();
win.show();
}
// --></script>
</head>
<body>
<h1>ウィンドウの外観を指定する</h1>
<form method="get" action="./win.cgi">
<input type="button" value="ウィンドウを開く" onClick="openWin()">
</form>
</body>
</html>
サンプル01を実行
サンプル02を実行
サンプル03を実行
サンプル04を実行
サンプル05を実行
サンプル06を実行
サンプル07を実行
[戻る]
prototype.jsパーフェクトリファレンス説明などは本書を参考にしてください。