Skip to content

Commit

Permalink
Signed-off-by: jack <jack@colorpowered.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
jack committed Jun 5, 2009
1 parent 149a761 commit ac798e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README
Expand Up @@ -18,7 +18,9 @@ Version 1.2.3 - June 4 2009
* Added a public function for returning the current html element that ColorBox is associated with.
Example use: var that = $.fn.colorbox.element();
* Added bicubic scaling for resized images in the original IE7.
* Better transparent png support for IE6 in example 3.
* Removed the IE6 stylesheet and png files from Example 3. It now uses the same png file for the controls
that the rest of the browsers use (an alpha transparency PNG8). This example now only has 2 graphics
files and 1 stylesheet.


Version 1.2.2 - May 28 2009
Expand Down
4 changes: 2 additions & 2 deletions colorbox/jquery.colorbox.js
Expand Up @@ -398,12 +398,12 @@

$.fn.colorbox.load = function(){

$.event.trigger('cbox_load');

element = $related[index];

settings = $(element).data('colorbox');

$.event.trigger('cbox_load');

$loadingOverlay.show();
$loadingGraphic.show();
$close.show();
Expand Down
2 changes: 1 addition & 1 deletion example1/index.html
Expand Up @@ -20,7 +20,7 @@
//Examples of how to assign the ColorBox event to elements.
$("a[rel='jack']").colorbox({transition:"fade"});
$("a[rel='dogs']").colorbox({transition:"elastic"});
$("a[rel='river']").colorbox({transition:"none"});
$("a[rel='river']").colorbox({transition:"none", width:"75%", height:"75%"});
$(".slideshow").colorbox({slideshow:true});
$("a.single").colorbox({}, function(){
alert('Howdy, this is an example callback.');
Expand Down

0 comments on commit ac798e4

Please sign in to comment.