JsJava means Java-formed Javascript,namely creating a series of Javascript objects similar to API of J2SE and J2EE and other opensource projects.With advanced Javascript objects,we may build complex web client business logic.
JsJava is an excellent Javascript library.In fact it's more than a Javascript library and it's also a Javascript infrastructure!
Introduction to JsJava2.1(http://www.jsjava.com)
JsJava in 2.1 comes into being.It mainly add some components such as album,selector and so on.
It also add some document opertions mainly about document setting,form operations,file upload
and window dimension calculation.It also fixed some bugs.
I now introduce the main contents of JsJava2.1.
JsJava2.1 implements photo album display component,which uses iterator design mode.You can
add lots of specially good effect.Unluckily some of the effects can only be used in IE browser.
But the mechanism allows you to add standard effects.e.g as follows:
Wel£¡
The display:
JsJava2.1 implements HTML selector component,with which you can opertion the HTML
select container easily.
The display:
JsJava2.1 implements border component,which is similar to Java Swing border.
The display:
JsJava2.1 implements some useful conversion.For example,you can convert
an arabic number to a chinese lowercase or uppercase number:
The display:
JsJava2.1 implements some operations about file upload,such as pre-count the image dimension or
the size.e.g as follows:
JsJava2.1 implements some form operations,such as obtaining checked values of a group of checkboxes.
JsJava2.1 implements some calculation operations on mouse position,which takes
scroll bar into account.Otherwise,it offers methods to put a HTML area in a suitable
position according to the mouse event.
frame.html:
-------------------------
position.html
-------------------------
Click anywhere and the pink area will show in the click position
The display:
JsJava2.1 implements some useful operation about browser window,such as maximizing a window,
showing a window with the specified alignment on the desktop.
The new window shows in the top-right cornor of the screen.
JsJava2.1 implements some global methods which are not ecapsulated in classes.In Jsjava2.1,it offers
object and dom expression calculation.
The display:
manager:John
tel:010-62316787
JsJava2.1 also fixed some bugs posted by JsJava developers.Here not listed in detail.
JsJava2.1 passed IE5,IE6 and Fifefox2.0 test.It had no test on IE7.0,Opera,Maxthon,MinIE and
other browsers.
With JsJava2.1,you'll become a page solution superior!