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

Commit

Permalink
Modal is now on by default if object is passed without on property. A…
Browse files Browse the repository at this point in the history
…lso added default 0.7 opacity to overlay CSS
  • Loading branch information
Craga89 committed Oct 3, 2010
1 parent 82c8f61 commit 5ce6911
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
6 changes: 5 additions & 1 deletion dist/jquery.qtip.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sun Oct 3 17:25:59 2010 +0100
* Date: Sun Oct 3 17:38:38 2010 +0100
*/

.ui-tooltip-accessible{
Expand Down Expand Up @@ -258,6 +258,10 @@ div.ui-tooltip-tip{
background-color: black;
cursor: pointer;

opacity: 0.7;
filter:alpha(opacity=70);
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";

/* Set this to any below 15000 (default starting z-index for qTips) */
z-index: 14999;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sun Oct 3 17:25:59 2010 +0100
* Date: Sun Oct 3 17:38:38 2010 +0100
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down Expand Up @@ -2386,7 +2386,7 @@ $.fn.qtip.plugins.modal.sanitize = function(opts) {
$.extend(TRUE, $.fn.qtip.defaults, {
show: {
modal: {
on: FALSE,
on: TRUE,
effect: TRUE,
blur: TRUE
}
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

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

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

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
background-color: black;
cursor: pointer;

opacity: 0.7;
filter:alpha(opacity=70);
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";

/* Set this to any below 15000 (default starting z-index for qTips) */
z-index: 14999;
}
Expand Down
2 changes: 1 addition & 1 deletion src/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ $.fn.qtip.plugins.modal.sanitize = function(opts) {
$.extend(TRUE, $.fn.qtip.defaults, {
show: {
modal: {
on: FALSE,
on: TRUE,
effect: TRUE,
blur: TRUE
}
Expand Down

0 comments on commit 5ce6911

Please sign in to comment.