2013-07-07 17:40:10 +02:00
<!doctype html>
< html >
< head >
< meta http-equiv = "content-type" content = "text/html; charset=ISO-8859-1" >
2012-05-04 16:23:40 +02:00
< title > Javascript Desktop Environment< / title >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "jsde.js" > < / script >
< script type = "text/javascript" >
$(function(){
2013-07-07 17:40:10 +02:00
/*createWindow(140, 30, "Test title", "< strong > Test contents< / strong > < pre > < / pre > ", 500, 620, false);
2012-05-04 16:23:40 +02:00
var secondWindow = createWindow(440, 120, "Test title", "< strong > Test contents< / strong > ", 300, 150).bringToForeground();
debugEl = secondWindow;
secondWindow.minHeight = 100;
secondWindow.minWidth = 100;
secondWindow.maxHeight = 400;
2013-07-07 17:40:10 +02:00
secondWindow.maxWidth = 400;*/
new JsdeWindow({
x: 20,
y: 20,
width: 400,
height: 300,
title: "Hi"
});
2012-05-04 16:23:40 +02:00
})
< / script >
< link href = 'http://fonts.googleapis.com/css?family=Varela+Round' rel = 'stylesheet' type = 'text/css' >
< link rel = "stylesheet" type = "text/css" href = "base.css" >
< link rel = "stylesheet" type = "text/css" href = "style.css" >
2013-07-07 17:40:10 +02:00
< / head >
< body >
2012-05-04 16:23:40 +02:00
< div id = "make-window" >
< span id = "id1" > 140, -8< / span > < br >
< span id = "id2" > 733, 85< br > 873, 77< / span > < br > < br >
X: < input id = "x" value = "200" type = "text" > < br >
Y: < input id = "y" value = "250" type = "text" > < br >
Title: < input id = "title" value = "200" type = "text" > < br >
Contents (HTML): < br >
2012-05-04 17:50:20 +02:00
< textarea id = "contents" style = "width: 300px; height: 180px;" > < strong> ohai!< /strong> < br>
2012-05-04 16:23:40 +02:00
lol< hr>
< button> :3< /button>
2012-05-04 17:50:20 +02:00
< / textarea > < br >
2012-05-04 16:23:40 +02:00
Width: < input id = "w" value = "400" 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 >
< / div >
< div class = "workspace-bar" >
< span id = "workspace-tab-list" >
<!-- workspace tabs go here -->
< / span >
< a class = "workspace-tab workspace-tab-add" id = "workspace_tab_add" href = "#" > +< / a >
< / div >
2013-07-07 17:40:10 +02:00
< div id = "templates" >
< div class = "template_window window-wrapper window-styled" >
< div class = "window-title" >
Test title
< div class = "window-close" >
< a href = "#" > X< / a >
< / div >
< / div >
< div class = "window-outer" >
< div class = "window-inner" >
< strong > Test contents< / strong >
< / div >
< div class = "window-resizer" >
< / div >
< / div >
< input type = "hidden" name = "MDIWindowIdentifier" value = "1" class = "MDIWindowIdentifier" >
< / div >
< / div >
< / body >
< / html >