Lines Matching full:content
135 text = options.content.text,
136 title = options.content.title,
137 button = options.content.button,
157 'aria-describedby': this._id + '-content',
165 // Create content element
166 elements.content = $('<div />', {
167 'class': NAMESPACE + '-content',
168 'id': this._id + '-content',
190 // Set proper rendered flag and update content if not a callback function (called in toggle)
309 var content, text, ajax, once;
317 if('content' in opts) {
318 content = opts.content;
320 if(invalidOpt(content) || content.jquery || content.done) {
321 content = opts.content = {
322 text: (text = invalidContent(content) ? FALSE : content)
325 else { text = content.text; }
327 // DEPRECATED - Old content.ajax plugin functionality
329 if('ajax' in content) {
330 ajax = content.ajax;
332 delete content.ajax;
334 content.text = function(event, api) {
335 var loading = text || $(this).attr(api.options.content.attr) || 'Loading...',
341 .then(function(content) { argument
342 if(content && once) { api.set('content.text', content); }
343 return content;
347 api.set('content.text', status + ': ' + error);
350 return !once ? (api.set('content.text', loading), deferred) : loading;
354 if('title' in content) {
355 if(!invalidOpt(content.title)) {
356 content.button = content.title.button;
357 content.title = content.title.text;
360 if(invalidContent(content.title || FALSE)) {
361 content.title = FALSE;
404 this.elements.content[0].id = this._id + '-content';
414 // Content checks
415 '^content.text$': function(obj, o, v) {
418 '^content.attr$': function(obj, o, v, prev) {
419 if(this.options.content.text === this.target.attr(prev)) {
423 '^content.title$': function(obj, o, v) {
424 // Remove title if content is null
431 '^content.button$': function(obj, o, v) {
434 '^content.title.(text|button)$': function(obj, o, v) {
435 this.set('content.'+o, v); // Backwards title.text/button compat
458 '^style.widget|content.title': function() {
526 var rmove = /^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,
581 ;PROTOTYPE._update = function(content, element, reposition) { argument
585 // Make sure tooltip is rendered and content is defined. If not return
586 if(!this.rendered || !content) { return FALSE; }
588 // Use function to parse content
589 if($.isFunction(content)) {
590 content = content.call(this.elements.target, cache.event, this) || '';
593 // Handle deferred content
594 if($.isFunction(content.then)) {
596 return content.then(function(c) {
604 // If content is null... return false
605 if(content === FALSE || (!content && content !== '')) { return FALSE; }
607 // Append new content if its a DOM array and show it if hidden
608 if(content.jquery && content.length > 0) {
609 element.children().detach().end().append( content.css({ display: 'block' }) );
612 // Content is a regular string, insert the new content
613 else { element.html(content); }
630 PROTOTYPE._updateContent = function(content, reposition) { argument
631 this._update(content, this.elements.content, reposition);
634 PROTOTYPE._updateTitle = function(content, reposition) { argument
635 if(this._update(content, this.elements.title, reposition) === FALSE) {
659 .insertBefore(elements.content)
670 if(this.options.content.button) { this._createButton(); }
968 contentOptions = this.options.content,
998 // Update tooltip content & title if it's a dynamic function
1166 button = this.options.content.button,
1228 if(elements.content) {
1229 elements.content.toggleClass( createWidgetClass('content'), on);
1575 // Setup missing content if none is detected
1576 if('boolean' === typeof config.content.text) {
1577 attr = elem.attr(config.content.attr);
1580 if(config.content.attr !== FALSE && attr) { config.content.text = attr; }
1582 // No valid content was found, abort render
1788 // If qTip is rendered and title was originally used as content, update it
1789 if(api && api.options.content.attr === title && api.cache.attr) {
1790 api.set('content.text', val);
1862 content: { property
2067 intCss(elements.content, prop) ||
2068 intCss(this._useTitle(corner) && elements.titlebar || elements.content, prop) ||
2078 intCss(this._useTitle(corner) && elements.titlebar || elements.content, prop) ||
2091 colorElem = this._useTitle(corner) && elements.titlebar || elements.content,
2095 color[0] = css(tip, BG_COLOR) || css(colorElem, BG_COLOR) || css(elements.content, BG_COLOR) ||
2100 …css(elements.content, borderSide, COLOR) || css(tooltip, borderSide, COLOR) || tooltip.css(borderS…
2367 bc = self._parseWidth(corner, side, elements.content);
2523 '^content.title|style.(classes|widget)$': function() {