target = e.getTarget('a:not(.exi)', 3), what does it mean?
target = e.getTarget('a:not(.exi)', 3)
what does it mean?
the following code come from EXT EXAMPLE
onClick: function(e, target){alert(target);
if(target = e.getTarget('a:not(.exi)', 3)){
var cls = Ext.fly(target).getAttributeNS('ext', 'cls');
e.stopEvent();
if(cls){
var member = Ext.fly(target).getAttributeNS('ext', 'member');
this.loadClass(target.href, cls, member);
}else if(target.className == 'inner-link'){
this.getActiveTab().scrollToSection(target.href.split('#')[1]);
}else{
window.open(target.href);
}
}else if(target = e.getTarget('.micon', 2)){
e.stopEvent();
var tr = Ext.fly(target.parentNode);
if(tr.hasClass('expandable')){
tr.toggleClass('expanded');
}
}
},
Is this a "PC Load Letter" thingy?
Looked up the API doc.. but there's no lines explaining what is ".exi" or "height above" all about. Is this a new web geek[guru] jargon?
Quote:
Originally Posted by
evant
getTarget( event ) : HTMLElement - 4.1.3 doc doesn't tell you anything
All it says is that selector is a string???
selector : String (optional)A simple selector to filter the target or look for an ancestor of the target
No info regarding format, links to resources or even mention of CSS3 or XPATH