@ -24,12 +24,23 @@
});
});
new JsdeWindow({
new JsdeWindow({
x: 20,
x: 1 20,
y: 2 0,
y: 4 0,
width: 400,
width: 400,
height: 300,
height: 300,
title: "Whee!"
title: "Whee!"
});
});
$("#demo_button").click(function(event){
new JsdeWindow({
width: parseInt($("#w").val()),
height: parseInt($("#h").val()),
x: parseInt($("#x").val()),
y: parseInt($("#y").val()),
title: $("#title").val(),
contents: $("#contents").val()
});
});
})
})
< / script >
< / script >
< link href = 'http://fonts.googleapis.com/css?family=Varela+Round' rel = 'stylesheet' type = 'text/css' >
< link href = 'http://fonts.googleapis.com/css?family=Varela+Round' rel = 'stylesheet' type = 'text/css' >
@ -42,7 +53,7 @@
< span id = "id2" > 733, 85< br > 873, 77< / span > < br > < br >
< span id = "id2" > 733, 85< br > 873, 77< / span > < br > < br >
X: < input id = "x" value = "200" type = "text" > < br >
X: < input id = "x" value = "200" type = "text" > < br >
Y: < input id = "y" value = "250" type = "text" > < br >
Y: < input id = "y" value = "250" type = "text" > < br >
Title: < input id = "title" value = " 200 " type = "text" > < br >
Title: < input id = "title" value = " Sample title " type = "text" > < br >
Contents (HTML): < br >
Contents (HTML): < br >
< textarea id = "contents" style = "width: 300px; height: 180px;" > < strong> ohai!< /strong> < br>
< textarea id = "contents" style = "width: 300px; height: 180px;" > < strong> ohai!< /strong> < br>
lol< hr>
lol< hr>
@ -50,7 +61,7 @@ lol<hr>
< / textarea > < br >
< / textarea > < br >
Width: < input id = "w" value = "400" type = "text" > < br >
Width: < input id = "w" value = "400" type = "text" > < br >
Height: < input id = "h" value = "300" type = "text" > < br >
Height: < input id = "h" value = "300" type = "text" > < br >
< button onclick= "createWindow(parseInt($('#x').val()),parseInt($('#y').val()),$('#title').val(),$('#contents').val(),parseInt($('#w').val()),parseInt($('#h').val())).bringToForeground(); "> Make new window< / button >
< button id= "demo_button "> Make new window< / button >
< / div >
< / div >
< div class = "workspace-bar" >
< div class = "workspace-bar" >
< span id = "workspace-tab-list" >
< span id = "workspace-tab-list" >