diff --git a/README b/README index 4dbf19d..3aac359 100644 --- a/README +++ b/README @@ -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 diff --git a/colorbox/jquery.colorbox.js b/colorbox/jquery.colorbox.js index 9c8bda7..43133ae 100644 --- a/colorbox/jquery.colorbox.js +++ b/colorbox/jquery.colorbox.js @@ -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(); diff --git a/example1/index.html b/example1/index.html index 9a0d35b..13c9339 100644 --- a/example1/index.html +++ b/example1/index.html @@ -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.');