Hi,

I?ve got another question. How can I include an AJAX-Window in my PT 
Windows?
At the start of my page, I will load 3 different windows with different 
content. The content should load from my server dynamicly.
How can I include my AJAX pages?
Is there a way to edit my AJAX content over different PT Windows? I mean 
like HTML like target="myframe" for example.

Thank you Patrick

Here 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>



_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to