Lines Matching refs:target

98 ;function QTip(target, options, id, attr) {  argument
101 this.target = target;
103 this.elements = { target: target }; property in QTip.elements
114 target: $(), property in QTip.cache
147 $.attr(this.target[0], 'aria-describedby', this._id);
155 'tracking': posOptions.target === 'mouse' && posOptions.adjust.mouse,
239 if(this.destroyed) { return this.target; }
245 var target = this.target,
246 title = target.attr(oldtitle);
264 target.removeData(NAMESPACE)
271 target.attr('title', title).removeAttr(oldtitle);
275 this._unbind(target);
295 return this.target;
370 opts.show = opts.show.jquery ? { target: opts.show } :
375 opts.hide = opts.hide.jquery ? { target: opts.hide } : { event: opts.hide };
418 if(this.options.content.text === this.target.attr(prev)) {
419 this._updateContent( this.target.attr(v) );
475 this.tooltip.attr('tracking', posOptions.target === 'mouse' && posOptions.adjust.mouse);
575 this.reposition( options.position.target === 'mouse' ? NULL : this.cache.event );
590 content = content.call(this.elements.target, cache.event, this) || '';
702 target = posOptions.target,
723 if($.isArray(target) && target.length === 2) {
726 position = { left: target[0], top: target[1] };
730 else if(target === 'mouse') {
774 if(target === 'event') {
775 if(event && event.target && event.type !== 'scroll' && event.type !== 'resize') {
776 cache.target = $(event.target);
778 else if(!event.target) {
779 cache.target = this.elements.target;
782 else if(target !== 'event'){
783 cache.target = $(target.jquery ? target : this.elements.target);
785 target = cache.target;
788 target = $(target).eq(0);
789 if(target.length === 0) { return this; }
792 else if(target[0] === document || target[0] === window) {
793 targetWidth = BROWSER.iOS ? window.innerWidth : target.width();
794 targetHeight = BROWSER.iOS ? window.innerHeight : target.height();
796 if(target[0] === window) {
798 top: (viewport || target).scrollTop(),
799 left: (viewport || target).scrollLeft()
805 else if(PLUGINS.imagemap && target.is('area')) {
806 pluginCalculations = PLUGINS.imagemap(this, target, at, PLUGINS.viewport ? method : FALSE);
810 else if(PLUGINS.svg && target && target[0].ownerSVGElement) {
811 pluginCalculations = PLUGINS.svg(this, target, at, PLUGINS.viewport ? method : FALSE);
816 targetWidth = target.outerWidth(FALSE);
817 targetHeight = target.outerHeight(FALSE);
818 position = target.offset();
830 position = this.reposition.offset(target, position, container);
871 …if(effect === FALSE || !visible || isNaN(position.left) || isNaN(position.top) || target === 'mous…
973 options.show.target.add(event.target).length === options.show.target.length &&
996 animate = state || opts.target.length === 1,
997 sameTarget = !event || opts.target.length < 2 || cache.target[0] === event.target,
1031 if(!trackingBound && posOptions.target === 'mouse' && posOptions.adjust.mouse) {
1044 .not(tooltip).not(opts.target).qtip('hide', $.Event('tooltipsolo'));
1079 this.options.show.target.trigger('qtip-'+this.id+'-inactive');
1115 if(state) { opts.target.trigger('qtip-'+this.id+'-inactive'); }
1276 target: event.target,
1313 ontoTarget = relatedTarget[0] === this.options.show.target[0];
1322 (this.options.position.target === 'mouse' && ontoTooltip) ||
1392 target = $(event.relatedTarget || event.target),
1407 if(options.position.target === 'mouse' && options.hide.event &&
1408 options.show.target && !target.closest(options.show.target[0]).length) {
1466 showTarget = options.show.target,
1467 hideTarget = options.hide.target,
1496 this.cache.target = event ? $(event.target) : [undefined];
1522 showTarget = options.show.target,
1523 hideTarget = options.hide.target,
1542 if(!/select|option/.test(event.target.nodeName) && !event.relatedTarget) {
1566 var elem = $(event.target),
1570 if(elem[0] !== this.target[0] && elem[0] !== this.tooltip[0] && !isAncestor &&
1571 !this.target.has(elem[0]).length && enabled
1609 if(posOptions.target === 'mouse') {
1644 this.options.show.target[0],
1645 this.options.hide.target[0],
1703 if(posOptions.target === FALSE) { posOptions.target = newTarget; }
1704 if(config.show.target === FALSE) { config.show.target = newTarget; }
1706 if(config.hide.target === FALSE) { config.hide.target = newTarget; }
1919 target: FALSE, property in QTIP.defaults.position
1937 target: FALSE, property in QTIP.defaults.show
1946 target: FALSE, property in QTIP.defaults.hide
2650 var target = $(event.target),
2652 container = target.closest(SELECTOR),
2662 if(!targetOnTop && target.closest(SELECTOR)[0] !== tooltip[0]) {
2663 focusInputs(target);
2667 onLast = event.target === focusableElems[focusableElems.length - 1];
2813 if(event.target === tooltip[0]) {
2826 if(event.isDefaultPrevented() || event.target !== tooltip[0]) { return; }
2859 if(event.target === tooltip[0]) {
2933 var target = posOptions.target,
2949 …if(!viewport.jquery || target[0] === window || target[0] === document.body || adjust.method === 'n…