Skip to content
Browse files

Opacity changes

  • Loading branch information...
1 parent 2669fa8 commit 618861a0e515ed195357c48a0a919eb94d10f6af @krewenki committed
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.markdown
  2. +1 −1 css/lightbox.css
  3. +2 −2 jquery.lightbox.js
View
2 README.markdown
@@ -5,4 +5,4 @@ jQuery Lightbox is a simple port of the popular lightbox script, which is based
### Usage
-> $.lightbox();
+> $('a.lightbox').lightbox();
View
2 css/lightbox.css
@@ -100,7 +100,7 @@ padding-right: 20px;
background-color: #000;
filter:alpha(opacity=60);
-moz-opacity: 0.6;
- opacity: 0.6;
+ opacity: 0.6 !important;
display: none;
}
View
4 jquery.lightbox.js
@@ -42,7 +42,7 @@
opts.imageArray = parser(opts.jsonData);
}
- var outerImage = '<div id="outerImageContainer"><div id="imageContainer"><iframe id="lightboxIframe" /><img id="lightboxImage"><div id="hoverNav"><a href="javascript://" title="' + opts.strings.prevLinkTitle + '" id="prevLink"></a><a href="javascript://" id="nextLink" title="' + opts.strings.nextLinkTitle + '"></a></div><div id="loading"><a href="javascript://" id="loadingLink"><img src="'+opts.fileLoadingImage+'"></a></div></div></div>';
+ var outerImage = '<div id="outerImageContainer"><div id="imageContainer"><iframe id="lightboxIframe"></iframe><img id="lightboxImage" /><div id="hoverNav"><a href="javascript://" title="' + opts.strings.prevLinkTitle + '" id="prevLink"></a><a href="javascript://" id="nextLink" title="' + opts.strings.nextLinkTitle + '"></a></div><div id="loading"><a href="javascript://" id="loadingLink"><img src="'+opts.fileLoadingImage+'"></a></div></div></div>';
var imageData = '<div id="imageDataContainer" class="clearfix"><div id="imageData"><div id="imageDetails"><span id="caption"></span><span id="numberDisplay"></span></div><div id="bottomNav">';
if (opts.displayHelp) {
@@ -437,7 +437,7 @@
allSet: false,
fileLoadingImage: 'images/loading.gif',
fileBottomNavCloseImage: 'images/closelabel.gif',
- overlayOpacity: 0.8,
+ overlayOpacity: 0.6,
borderSize: 10,
imageArray: new Array,
activeImage: null,

0 comments on commit 618861a

Please sign in to comment.
Something went wrong with that request. Please try again.