Skip to content

Commit

Permalink
made modal opacity configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
jaz303 committed Sep 22, 2008
1 parent 6d48742 commit da2efd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/javascripts/jquery.boxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ jQuery.extend(Boxy, {

DEFAULT_X: 50,
DEFAULT_Y: 50,
MODAL_OPACITY: 0.7,
zIndex: 1337,
dragConfigured: false, // only set up one drag handler for all boxys
resizeConfigured: false,
Expand Down Expand Up @@ -436,7 +437,7 @@ Boxy.prototype = {
}
this.modalBlackout = jQuery('<div class="boxy-modal-blackout"></div>')
.css({zIndex: Boxy._nextZ(),
opacity: 0.7,
opacity: Boxy.MODAL_OPACITY,
width: jQuery(document).width(),
height: jQuery(document).height()})
.appendTo(document.body);
Expand Down

0 comments on commit da2efd8

Please sign in to comment.