Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES

JavaScript Elements
 
$Optimized $ (document.getElementById) function. To enable this function and to keep this framework compatible with other frameworks, you must pass enable$=true into the src of this frameworks include script block (for example: src="script/glm-framework.js?enable$=true)
GLM.AJAXClass for performing AJAX.
GLM.AJAX.callPage( url, callbackFunction, method, args, async )Method for calling a page using AJAX.
GLM.AJAX.callService( serviceUrl, soapMethod, callbackFunction, param1, param2 ... paramN )Method for calling a webservice using AJAX.
GLM.AJAX.getNameSpace()Method for returning the name space of the service call.
GLM.AJAX.onError()Method for handling ajax errors.
GLM.AJAX.setNameSpace( ns )Method for setting the name space of the service call.
GLM.Array.Remove()Method for removing an object from the array.
GLM.Collection.MapMap class for holding key value pairs.
GLM.Collection.Map.contains( key )Method for determining if the map contains a specific key.
GLM.Collection.Map.get( key )Method for returning the value associated with a key.
GLM.Collection.Map.getKeys()Method for removing key names array.
GLM.Collection.Map.length()Method for returning the count of items in the map.
GLM.Collection.Map.put( key, value )Method for storing an associated key value.
GLM.Collection.Map.remove( key )Method for removing a key value pair by key name.
GLM.DOM.AnimateStarts an animation on an element.
GLM.DOM.Animate.FadeInCanned fade in effect.
GLM.DOM.Animate.FadeOutCanned fade out effect.
GLM.DOM.Animate.GrowCanned growing effect.
GLM.DOM.CookieClass for handling browser cookies.
GLM.DOM.Cookie.getValue( name )Method for returning the cookie value by name.
GLM.DOM.Cookie.removeCookie()Method for removing the cookie from the client browser.
GLM.DOM.Cookie.setDomain( d )Method for setting the cookie domain.
GLM.DOM.Cookie.setExpiration( expirationDate )Method for setting the expiration date of a cookie.
GLM.DOM.Cookie.setPath( p )Method for setting the cookie path.
GLM.DOM.Cookie.setSecure( isSecure )Method for setting whether a cookie is secure for SSL.
GLM.DOM.Cookie.setValue( name, value )Method for setting a cookie name value pair.
GLM.DOM.DragAndDropClass for handling drag and drop interaction. The class by default looks for the "handle" attribute on the element to be dragged. Once found it will look through the parent including the initial mouse down element to find the "drag" attribute. It will then move the element where the "drag" attribute is specified.
GLM.DOM.DragAndDrop.getAbsolute()Method for returning whether or not to use absolute positioning when dragging.
GLM.DOM.DragAndDrop.getBeginDragCallback()Method for returning the begin drag callback.
GLM.DOM.DragAndDrop.getCopyElement()Method for returning whether or not to copy the drag source element.
GLM.DOM.DragAndDrop.getDragAttributeName()Method for returning the drag attribute name.
GLM.DOM.DragAndDrop.getDragCallback()Method for returning the drag callback.
GLM.DOM.DragAndDrop.getDragOffsetX()Method for returning the x drag offset.
GLM.DOM.DragAndDrop.getDragOffsetY()Method for returning the y drag offset.
GLM.DOM.DragAndDrop.getDropAttributeName()Method for returning the drop attribute name.
GLM.DOM.DragAndDrop.getDropCallback()Method for returning the drop callback.
GLM.DOM.DragAndDrop.getElement()Method for returning the source drag element. If a copy is being used, this is the original source.
GLM.DOM.DragAndDrop.getEvent()Method for returning the last/curent event.
GLM.DOM.DragAndDrop.getHandleAttributeName()Method for returning the handle attribute name.
GLM.DOM.DragAndDrop.setAbsolute( abs )Method for setting whether or not to use absolute positioning when dragging.
GLM.DOM.DragAndDrop.setBeginDragCallback( callback )Method for setting the begin drag callback. This method is called at the very beginning of the drag event.
GLM.DOM.DragAndDrop.setCopyElement( copy )Method for setting whether or not to copy the drag source element.
GLM.DOM.DragAndDrop.setDragAttributeName( name )Method for setting the drag attribute name.
GLM.DOM.DragAndDrop.setDragCallback( callback )Method for setting the drag callback. This is invoked when once the actual dragging occurs.
GLM.DOM.DragAndDrop.setDragOffset( x, y )Method for setting the drag offset. This is the offset from the actual drag location to place the dragged element.
GLM.DOM.DragAndDrop.setDropAttributeName( name )Method for setting/changing the drop attribute name.
GLM.DOM.DragAndDrop.setDropCallback( callback )Method for setting the drop callback. This is invoked when once the drop occurs.
GLM.DOM.DragAndDrop.setHandleAttributeName( name )Method for setting the handle attribute name.
GLM.DOM.GetChildrenByNodeType( element, nodeType )Method for returning all children of an element that match the node type specified.
GLM.DOM.GetChildrenByTagName( element, tagName )Method for returning all children of an element that match the tag name specified.
GLM.DOM.GetDescendantsByTagName( element, tagName )Method for returning all descendants of an element that match the tag name specified.
GLM.DOM.GetElement()Method for returning an element by id or name. The element will first try to be obtained by the id, then fall back to the name.
GLM.DOM.GetElementPosition()Method for returning an elements absolute position.
GLM.DOM.GetUniqueID()Method for generating a unique id
GLM.DOM.NumericMask( element )Method for ensuring that the user input is numeric.
GLM.DOM.NumericRangeMask( element, lowRange, highRange )Method for ensuring that the user input is numeric within a specified range.
GLM.DOM.SetOpacity( element )Sets the opacity of an element.
GLM.DOM.ValidatorClass for handling input validation.
GLM.DOM.Validator.addCustomField( controlID, errorText, validationFunction, controlType, args )Method for adding a custom field for validation.
GLM.DOM.Validator.addRequiredField( controlID, errorText, controlType, args )Method for adding a required field for validation.
GLM.DOM.Validator.addValueField( controlID, errorText, value, controlType, args )Method for adding a value field for validation.
GLM.DOM.Validator.getControls()Method for returning the current controls list.
GLM.DOM.Validator.getViolations()Method for returning a list of the validation failures. Each returned validation failure has two properties, "text" the error text associated with the required field and "id", the control id of the required field, "args" additional information passed in.
GLM.DOM.Validator.validate()Method for validating all required fields. Sets the GLM.DOM.Validator.isValid flag.
GLM.DOM.isChromeBoolean variable for determining if the client browser is Chrome.
GLM.DOM.isFirefoxBoolean variable for determining if the client browser is Firefox.
GLM.DOM.isInternetExplorerBoolean variable for determining if the client browser is Internet Explorer.
GLM.DOM.isMozillaBoolean variable for determining if the client browser is Mozilla.
GLM.DOM.isOperaBoolean variable for determining if the client browser is Opera.
GLM.DOM.isSafariBoolean variable for determining if the client browser is Safari.
GLM.Debug.DisplayProperties( source )Method for displaying the debug properties of a source object (event, document, object, etc).
GLM.Event.AddEventHandler( element, eventName, handlerFunction )Method for adding an event handler to an element.
GLM.Event.CancelEvents( event )Method for cancelling all following events.
GLM.Event.RemoveEventHandler( element, eventName, handlerFunction )Method for removing an event handler from an element.
GLM.Object.BaseMethods( instance )Method for returning the public base methods of a super class.
GLM.StringClass for performing enhanced string operations. Inherits from original String class
GLM.String.contains( s )Method for determining if a string contains the instance of another string.
GLM.String.count( param1, param2, ... paramN )Method for returning the occurance count of any of the string parameters passed into the count function.
GLM.String.getQueryString( parameterName )Method for returning the querystring value corresponding to the specified parameter name.
GLM.String.ltrim()Method for removing white space from the beginning of the string.
GLM.String.padLeft( count, padWith )Method for padding a string to the left with a specified char or string.
GLM.String.padRight( count, padWith )Method for padding a string to the right with a specified char or string.
GLM.String.removeQueryString( parameterName )Method for removing a querystring parameter.
GLM.String.replaceQueryString( parameterName, parameterValue )Method for replacing a querystring parameter or appending it correctly if it does not exist.
GLM.String.rtrim()Method for removing white space from the end of the string.
GLM.String.trim()Method for removing white space from the beginning and end of the string.
GLM.UI.MenuClass for creating a menu.
GLM.UI.Menu.add( menuItem )Method for adding a menu item to the menu.
GLM.UI.Menu.addSeparator()Method for adding a menu separator to the menu.
GLM.UI.Menu.getTitle()Method for returning the title of the menu.
GLM.UI.Menu.render()Method for rendering a menu item (used internally by Menu).
GLM.UI.Menu.setTitle( title )Method for setting the title of the menu.
GLM.UI.MenuBarClass for creating a menu bar.
GLM.UI.Menubar.ShowMenu( event, menu_id, source_id, show )Static method for handling show/hide menu functionality (used internally by MenuBar).
GLM.UI.Menubar.ShowMenu( forceHide )Static method for handling hiding all window application menus (used internally by MenuBar).
GLM.UI.Menubar.add( menu )Method for adding a menu object to the menu bar.
GLM.UI.Menubar.currentMenuStatic current menu object (used internally by MenuBar).
GLM.UI.Menubar.render()Method rendering the menu bar.
GLM.UI.ToolBarClass for creating a tool bar.
GLM.UI.Toolbar.add( item )Method for adding a toolbar item
GLM.XML.GetAttribute( node, attributeName )Method for retrieving an XML attribute value.
GLM.XML.XMLDocumentClass for cross browser XML.
GLM.XML.XMLDocument.getAsyncReturns whether or not the XML document is using asynchronous mode.
GLM.XML.XMLDocument.getDocumentMethod for returning the browser specific form of the XML document object.
GLM.XML.XMLDocument.getXMLMethod for returning the xml string.
GLM.XML.XMLDocument.loadMethod for loading an xml file into the XMLDocument.
GLM.XML.XMLDocument.loadXMLMethod for loading an XML string into the XMLDocument.
GLM.XML.XMLDocument.selectNodesMethod for executing a select nodes xpath statement.
GLM.XML.XMLDocument.selectSingleNodeMethod for executing a select single node xpath statement.
GLM.XML.XMLDocument.setAsyncMethod for setting the asynchronous load flag.
GLM.XML.XMLDocument.setOnLoadCallbackMethod for setting the on load callback method.
PAJ.Security.MD4Class for handling MD4 encryption.
PAJ.Security.MD4.toBase64( s )Method for converting a string to a base 64 string.
PAJ.Security.MD4.toBase64Set( key, value )Method for converting a key value pair to a base 64 string.
PAJ.Security.MD4.toHash( s )Method for converting a string to a hex string.
PAJ.Security.MD4.toHashSet( key, value )Method for converting a string to a hex string.
PAJ.Security.MD4.toString( s )Method for converting the value to a string.
PAJ.Security.MD4.toStringSet( key, value )Method for converting a key value pair to a string.
PAJ.Security.MD5Class for handling MD5 encryption.
PAJ.Security.MD5.toBase64( s )Method for converting a string to a base 64 string.
PAJ.Security.MD5.toBase64Set( key, value )Method for converting a key value pair to a base 64 string.
PAJ.Security.MD5.toHash( s )Method for converting a string to a hex string.
PAJ.Security.MD5.toHashSet( key, value )Method for converting a string to a hex string.
PAJ.Security.MD5.toString( s )Method for converting the value to a string.
PAJ.Security.MD5.toStringSet( key, value )Method for converting a key value pair to a string.
PAJ.Security.SHA1Class for handling MD5 encryption.
PAJ.Security.SHA1.toBase64( s )Method for converting a string to a base 64 string.
PAJ.Security.SHA1.toBase64Set( key, value )Method for converting a key value pair to a base 64 string.
PAJ.Security.SHA1.toHash( s )Method for converting a string to a hex string.
PAJ.Security.SHA1.toHashSet( key, value )Method for converting a string to a hex string.
PAJ.Security.SHA1.toString( s )Method for converting the value to a string.
PAJ.Security.SHA1.toStringSet( key, value )Method for converting a key value pair to a string.


Overview | IndexGodLikeMouse JavaScript Framework
FRAMES | NO FRAMES