M
Martin Rinehart
There is now the beginning of a window manager written in JavaScript.
It was written in Opera on KDE Linux, and it runs in Opera on Windows.
You can try it here:
http://www.martinrinehart.com/examples/js-wm.html
Implemented: open, close, focus on click, drag w/title bar.
Not yet: maximize/minimize/resize.
The whole file, JS + a bit of HTML for a demo, tips the scale at
14.4KB. The basic window functionality, minified, should be under 10k
when complete. Peer review is most welcome. I'm still relatively new
to JS.
Bugs: dragging increments the window counter every time it repaints.
So click New to create all the windows you like before you start
dragging them around.
More bugs: It would be nice if this ran on a few more browsers. Opera-
only is not enough.
I'd be delighted if some of you responded like "I think I can get this
running in Firefox."
It was written in Opera on KDE Linux, and it runs in Opera on Windows.
You can try it here:
http://www.martinrinehart.com/examples/js-wm.html
Implemented: open, close, focus on click, drag w/title bar.
Not yet: maximize/minimize/resize.
The whole file, JS + a bit of HTML for a demo, tips the scale at
14.4KB. The basic window functionality, minified, should be under 10k
when complete. Peer review is most welcome. I'm still relatively new
to JS.
Bugs: dragging increments the window counter every time it repaints.
So click New to create all the windows you like before you start
dragging them around.
More bugs: It would be nice if this ran on a few more browsers. Opera-
only is not enough.
I'd be delighted if some of you responded like "I think I can get this
running in Firefox."