Hi Folks,
I?m new here.
I`m Patrick from germany. Hi ;-)
Now, I?ve got my first question:
This is my source:
<html>
<head>
<link href="./gui/style/blue/default.css" rel="stylesheet" type="text/css"/>
<link href="./gui/style/blue/alphacube.css" rel="stylesheet"
type="text/css"/>
<link href="./gui/style/blue/spread.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="./includes/js/prototype.js"> </script>
<script type="text/javascript" src="./includes/js/window.js"> </script>
<script type="text/javascript" src="./includes/js/effects.js"> </script>
<script type="text/javascript" src="./includes/js/window_effects.js">
</script>
<script type="text/javascript" src="./includes/js/debug.js"> </script>
<script type="text/javascript">
function win2()
{
var win = new Window({className: "spread", title: "Sample", width:200,
height:150});
win.getContent().innerHTML = "<h1>Constraint inside page
!!</h1>constraint: {top: 30, bottom:10}";
win.setDestroyOnClose();
win.showCenter();
win.setConstraint(true, {left:10, right:10, top: 10, bottom:10})
win.toFront();
}
function win3()
{
var win = new Window({className: "alphacube", title: "Sample",
width:250, height:150, wiredDrag: true});
win.getContent().innerHTML = "<h1>No Constraint</h1>Wired mode";
win.setDestroyOnClose();
win.setLocation(10, 500);
win.show();
win.toFront();
}
</script>
</head>
<body>
<script>
win2();
win3();
</script>
</body></html>
Now, the question. Is it possible, to close all the open windows with on
click?
Thank you
Patrick
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com