- Source:
Methods
- 
    <static> addPositionType(type, option)
- 
    
    
    Add or replace position type rules for auto positioning. Does not fully determinated with parameters yet, only draft version.Parameters:Name Type Description typestring name of position rules optionobject options of position rules - Source:
 
- 
    setPosition(source, params) → {jQuery}
- 
    
    
    Place DOM element relative to another element or using position parameters. Elements with style.display='none' also supported.Parameters:Name Type Description sourceobject object that provides information about new position. accepts: - jQuery selector or object
- object with id: {id:'myDiv'}
- object with region settings: {left:0, top:0, width:100, height:100}
- DOM Element
- Event object
 paramsobject position parameters: - 
                PropertiesName Type Argument Description typestring <optional> 
 position type that defines positioning and auto positioning rules ["TOOLTIP","DROPDOWN"] collisionstring <optional> 
 not implemented yet offsetarray <optional> 
 provides array(2) with x and y for manually position definition 
 affects only if "type", "from" and "to" not definedfromstring <optional> 
 place target relative of source // draft definition tostring <optional> 
 direction for target // draft definition 
 - Source:
 Returns:jQuery wrapped DOM elements- Type
- jQuery
 ExamplesjQuery('#tooltip').setPosition('#myDiv',{from:'LB', to:'AA'});jQuery('#myClickDiv').bind("click",function(e){jQuery('#tooltip').setPosition(e);});