Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Add villeys fix for jQuery 1.8 support by passing false to outerWidth…
Browse files Browse the repository at this point in the history
…/outerHeight calls.
  • Loading branch information
Craga89 committed Oct 12, 2012
1 parent bb844ed commit 68acb48
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 53 deletions.
10 changes: 5 additions & 5 deletions dist/basic/jquery.qtip.css
@@ -1,7 +1,7 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-03
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-12
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/* Fluid class for determining actual width in IE */
#qtip-rcontainer{
position: absolute;
Expand Down Expand Up @@ -128,7 +128,7 @@
color: #111;
}



/*! Light tooltip style */
.ui-tooltip-light{
background-color: white;
Expand Down
22 changes: 11 additions & 11 deletions dist/basic/jquery.qtip.js
@@ -1,7 +1,7 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-03
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-12
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
/*global window: false, jQuery: false, console: false, define: false */

Expand Down Expand Up @@ -62,7 +62,7 @@
$(function() { redrawContainer.appendTo(document.body); });




// Option object sanitizer
function sanitizeOptions(opts)
{
Expand Down Expand Up @@ -839,7 +839,7 @@ function QTip(target, options, id, attr)
{
case 'dimensions':
result = {
height: tooltip.outerHeight(), width: tooltip.outerWidth()
height: tooltip.outerHeight(FALSE), width: tooltip.outerWidth(FALSE)
};
break;

Expand Down Expand Up @@ -1123,8 +1123,8 @@ function QTip(target, options, id, attr)
at = posOptions.at,
adjust = posOptions.adjust,
method = adjust.method.split(' '),
elemWidth = tooltip.outerWidth(),
elemHeight = tooltip.outerHeight(),
elemWidth = tooltip.outerWidth(FALSE),
elemHeight = tooltip.outerHeight(FALSE),
targetWidth = 0,
targetHeight = 0,
fixed = tooltip.css('position') === 'fixed',
Expand Down Expand Up @@ -1194,8 +1194,8 @@ function QTip(target, options, id, attr)
}

else {
targetWidth = target.outerWidth();
targetHeight = target.outerHeight();
targetWidth = target.outerWidth(FALSE);
targetHeight = target.outerHeight(FALSE);

position = PLUGINS.offset(target, container);
}
Expand Down Expand Up @@ -1837,6 +1837,6 @@ QTIP.defaults = {
}
};



}));
}( window, document ));
2 changes: 1 addition & 1 deletion dist/basic/jquery.qtip.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/basic/jquery.qtip.min.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/jquery.qtip.css
@@ -1,7 +1,7 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-03
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-12
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/* Fluid class for determining actual width in IE */
#qtip-rcontainer{
position: absolute;
Expand Down Expand Up @@ -128,7 +128,7 @@
color: #111;
}



/*! Light tooltip style */
.ui-tooltip-light{
background-color: white;
Expand Down Expand Up @@ -232,7 +232,7 @@
background-position: -2px 0;
}



/* Add shadows to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */
.ui-tooltip-shadow{
-webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
Expand Down Expand Up @@ -556,7 +556,7 @@
-ms-filter: none;
}



/* Tips plugin */
.ui-tooltip .ui-tooltip-tip{
margin: 0 auto;
Expand All @@ -582,7 +582,7 @@
behavior: url(#default#VML);
display: inline-block;
visibility: visible;
}
}
/* Modal plugin */
#qtip-overlay{
position: fixed;
Expand Down
36 changes: 18 additions & 18 deletions dist/jquery.qtip.js
@@ -1,7 +1,7 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-03
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-10-12
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
/*global window: false, jQuery: false, console: false, define: false */

Expand Down Expand Up @@ -62,7 +62,7 @@
$(function() { redrawContainer.appendTo(document.body); });




// Option object sanitizer
function sanitizeOptions(opts)
{
Expand Down Expand Up @@ -839,7 +839,7 @@ function QTip(target, options, id, attr)
{
case 'dimensions':
result = {
height: tooltip.outerHeight(), width: tooltip.outerWidth()
height: tooltip.outerHeight(FALSE), width: tooltip.outerWidth(FALSE)
};
break;

Expand Down Expand Up @@ -1123,8 +1123,8 @@ function QTip(target, options, id, attr)
at = posOptions.at,
adjust = posOptions.adjust,
method = adjust.method.split(' '),
elemWidth = tooltip.outerWidth(),
elemHeight = tooltip.outerHeight(),
elemWidth = tooltip.outerWidth(FALSE),
elemHeight = tooltip.outerHeight(FALSE),
targetWidth = 0,
targetHeight = 0,
fixed = tooltip.css('position') === 'fixed',
Expand Down Expand Up @@ -1194,8 +1194,8 @@ function QTip(target, options, id, attr)
}

else {
targetWidth = target.outerWidth();
targetHeight = target.outerHeight();
targetWidth = target.outerWidth(FALSE);
targetHeight = target.outerHeight(FALSE);

position = PLUGINS.offset(target, container);
}
Expand Down Expand Up @@ -1837,7 +1837,7 @@ QTIP.defaults = {
}
};



PLUGINS.svg = function(api, svg, corner, adjustMethod)
{
var doc = $(document),
Expand Down Expand Up @@ -1885,7 +1885,7 @@ PLUGINS.svg = function(api, svg, corner, adjustMethod)
return result;
};



function Ajax(api)
{
var self = this,
Expand Down Expand Up @@ -2054,7 +2054,7 @@ $.extend(TRUE, QTIP.defaults, {
}
});



// Tip coordinates calculator
function calculateTip(corner, width, height)
{
Expand Down Expand Up @@ -2689,7 +2689,7 @@ $.extend(TRUE, QTIP.defaults, {
}
});



function Modal(api)
{
var self = this,
Expand Down Expand Up @@ -3013,7 +3013,7 @@ $.extend(TRUE, QTIP.defaults, {
}
});



PLUGINS.viewport = function(api, position, posOptions, targetWidth, targetHeight, elemWidth, elemHeight)
{
var target = posOptions.target,
Expand Down Expand Up @@ -3125,7 +3125,7 @@ PLUGINS.viewport = function(api, position, posOptions, targetWidth, targetHeight
}

return adjusted;
};
};
PLUGINS.imagemap = function(api, area, corner, adjustMethod)
{
if(!area.jquery) { area = $(area); }
Expand Down Expand Up @@ -3283,7 +3283,7 @@ PLUGINS.imagemap = function(api, area, corner, adjustMethod)
return result;
};



/*
* BGIFrame adaption (http://plugins.jquery.com/project/bgiframe)
* Special thanks to Brandon Aaron
Expand Down Expand Up @@ -3360,6 +3360,6 @@ PLUGINS.bgiframe = function(api)
// Plugin needs to be initialized on render
PLUGINS.bgiframe.initialize = 'render';



}));
}( window, document ));

0 comments on commit 68acb48

Please sign in to comment.