File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes simple busy processing widget with css Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "simple busy processing widget with css" Watch "simple busy processing widget with css" New topic
Author

simple busy processing widget with css

Evguenia Krylova
Greenhorn

Joined: Oct 18, 2002
Posts: 3
I am primarily a Java developer, but lately I had to write more and more of javascript. What frustrates me most is that one has to write even the simplest string manipulation functions as no such libraries are deployed with browsers.

My current problem is creating a "busy processing" widget.
Any suggestion for a simple and slim widget like that? I'd love to be able to redefine the look of it with CSS too, since the look of any UI element evolves all the time and I'd hate to touch the code too much.

I am learning to appreciate the use of CSS, but I find it hard
- to organize styles as far as naming goes
- no inheritance means redefining lots of attributes
- not all style attributes are applicable to all HTML elements so cross-element use of styles is questionable too.
Any word of advise on this? Does the book address any of them.
[ October 09, 2007: Message edited by: evguenia ]
Michael Beauchamp
Greenhorn

Joined: Mar 03, 2005
Posts: 23
evguenia,

On the off-chance that you aren't aware, there are several javascript toolkits out there that you can use. One is Dojo. Dojo has a couple of built-in widgets that might get you started in the right direction:


http://archive.dojotoolkit.org/dojo-2007-10-08/dojotoolkit/dijit/tests/test_Dialog.html
http://archive.dojotoolkit.org/dojo-2007-10-08/dojotoolkit/dijit/tests/test_ProgressBar.html

I find that if nothing else, Dojo can simplify the javascript you write with some helper classes.

Hope that helps.
-Mike
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: simple busy processing widget with css
 
Similar Threads
GWT and creation of own widgets
Rich Internet Applications
Table Design using Absolure or Relative
Using Some of attributes from CSS
Is It Possible to Provide FIELDSET with Background Color?