473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Example of How to Make an HTML/Javascript Desktop and Windowing System

http://darwinist.googlepages.com/htmldesktop.html

What's the point of something like this?

As a php programmer, everything is already there for me, except a
decent client-gui system. I could write php-gtk apps, but they're not
as easy or as portable, html is php's native interface, and so maybe
with some javascript...

Does anybody else get frustrated at how long it can take to learn
something apparently simple in javascript, and how quickly it can be
forgotten because of the complicated syntax; or else how often it can
be discovered that ones solution was based on a browser-specific
feature?

It may just be me, but for this reason I've made a collection of
working, browser-independent scripts that produce an example windowing
system and desktop environment, including a command line and a short
manual.

If any of this sounds like it would be useful to you, feel free to
check it out. It's all one page, the source is well commented, and
although I wrote it I am not trying to own it. Copy as much or as
little as you want, make modifications and sell them.

It gets updated periodically (when I feel like it) so please feel free
to criticise or contribute. Feel free also to make a better version,
either from scratch or based on mine, so that I have something to
compete with and so that others can have more to choose from.

I invite your opinions.

Aug 8 '06 #1
3 5010
On Mon, 07 Aug 2006 19:50:29 -0700, darwinist wrote:
http://darwinist.googlepages.com/htmldesktop.html

What's the point of something like this?
It's fun to play with.

I would like to see "close boxes" for the Help window if that's possible,
although you can close it by clicking "Help" again. Also, if this
window would remember it's last window position when reopening.

--
dee

Aug 8 '06 #2
Mike Dee wrote:
On Mon, 07 Aug 2006 19:50:29 -0700, darwinist wrote:
http://darwinist.googlepages.com/htmldesktop.html

What's the point of something like this?

It's fun to play with.

I would like to see "close boxes" for the Help window if that's possible,
although you can close it by clicking "Help" again. Also, if this
window would remember it's last window position when reopening.
Thanks, i have done what you said.

http://darwinist.googlepages.com/htmldesktop.html

--
dee
Aug 9 '06 #3
On Tue, 08 Aug 2006 22:07:46 -0700, darwinist wrote:
Mike Dee wrote:
>On Mon, 07 Aug 2006 19:50:29 -0700, darwinist wrote:
What's the point of something like this?
It's fun to play with.

I would like to see "close boxes" for the Help window if that's possible,
although you can close it by clicking "Help" again. Also, if this
window would remember it's last window position when reopening.

Thanks, i have done what you said.

http://darwinist.googlepages.com/htmldesktop.html
Yes that is good.

I can only comment as a "user". I guess that's why you x-posted into
aus.computers

I like it now the Help window remembers it's position. I find it slightly
perplexing that the "Execute Javascript" button also toggles the Help
window, but this is not a big issue for me.

I probably would like to see close boxes on any window that appears via
"user interaction" including "Navbox" and "Desktop" (which appear to be
one and the same)

Also, perhaps a bug? when scrolling down through the "Help" window, once
the scroll hits the bottom of the Help scroll bar, the focus goes to the
parent and scrolling takes place in that window, ie; scrolling should stop
once the scroll reaches the bottom of the window that has the focus.

I think you are capable of writing some very nice and complex code. It is
refreshing for me to see this in operation as an example, and not in a
commercial situation where the code is usually closely guarded in a web
page and not readily visible, that is, it usually "works behind the
scenes" by the time I get to see a web page.

Many thanks for your posting this.

--
dee
Aug 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: vishal | last post by:
hi i am creating one site and i am not allowed to use client side scripting in site and i have one link in my one page. when user clicks on this link the target page must be opened in another...
23
by: Alberto | last post by:
An OUTSTANDING example of a rebuttal. Worth a glance. Rather long, OBVIOUSLY feel fee to dismiss it entirely if not interested. But this habit of the rebuttals must go to a stop (forgive odd...
13
by: Brett Baisley | last post by:
At school, we do all of our coding in emacs, but I am trying to get the example apps working at home using Visual C++.net. In the example, there are 4 .cpp files (canvas.cpp, main.cpp,...
3
by: wizofaus | last post by:
Hi. I'm playing around with developing a web-based application that needs to use a java applet in order to implement some advanced functionality that I don't see as being feasible with pure...
2
by: windsorben | last post by:
I'd like to have an image appear after the student answers each short answer question correctly. I can't seem to get it to work properly. See code below. Thanks! <html> <head>...
1
by: gimme_this_gimme_that | last post by:
This is a clip from the new book Learning the Yahoo! User Interface Library ... (An example of doing things and not using YUI) Why does this return a NS_ERROR_DOM_HIERARCHY_REQUEST _ERR code 3...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.