This object provides general purpose functions to manipulate text strings, arrays and get browser details. Currently it can:
- Trim strings
- Validate e-mail addresses
- Split a string into an array
- Check if a value is in an array
- Get mouse pointer position in an event
- Check the browser type
- Get the last character of a string of element of an array
- Get an element of the current document by identifier
This object can be used to load geographic elements from a KML file into a Google Maps overlay.
It parses a KML XML file to extract the locations and details of map features and add them to an overlay of map of Google Maps.
Currently it just extracts place mark features like description, URL, coordinates and icons. Place marks without icons get the default Google Maps icon.
This package provides general purpose functions missing in jQuery library.
It extends the jQuery object, jQuery enabled objects and selectors to provide many additional features useful for different purposes like:
- creating jQuery-enabled DOM-elements on the fly
- checking if a variable exists, is set and if it has a certain type
- checking if an object all has given variables set
- complex replacing or truncating of strings
- (re)scheduling timed invocations of callback functions
- reloading the current page or redirecting the browser to a new URL with complex parameter sets
- setting or getting the current URL anchor or cookie values
- extracting CSS property values for code or template use
- deselecting any content in a page or make a dom element unselectable
- measuring hidden elements
- etc.
This object can get the list of image files that match a pattern.
It takes a regular expression that defines the pattern of image file names to be listed.
The object successively replaces a pattern variable with series of consecutive numbers to check it it is the name of an image file that exists until reaches a image file number that does not exist or the list already includes a number of files defined by a limit.
This object can handle file upload drag and drop operations.
It can setup page elements to handle file drag and drop operations in a way that works independently of the browser. It works in Firefox 3.6, Internet Explorer 6, Google Chrome 7, SRWare Iron 4, Apple Safari 5 and Opera 11.61.
It uses the File API if the browser supports it or users iframes otherwise.
Files can be uploaded using AJAX requests when dropped in the target elements.
Callback functions may be called when certain events occur like when the mouse pointer enters or leaves a drop target element while dragging a file, a file is dropped, the upload is started, upload progress, the upload is done, etc..