Changeset 188 for trunk/web-app/js
- Timestamp:
- Nov 19, 2009, 11:33:09 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/lightbox.js
r182 r188 79 79 80 80 onload: function (event) { 81 82 // preload image. 83 loadingImage = new Image(); 84 loadingImage.src = Lightbox._imagePath + "loading.gif"; 85 81 86 var options = { 'minWidth' : 300}; 82 87 return Lightbox._create(options); … … 87 92 if (!document.getElementsByTagName) { return true; } 88 93 89 //Lightbox._options(options);94 Lightbox._options(options); 90 95 91 96 var buttons = document.getElementsByClassName("buttons"); … … 113 118 // document.all should be detected in IE and Opera, workaround for IE gif freezing. 114 119 if(document.all) { 115 new Effect.Pulsate(loading );120 new Effect.Pulsate(loading, { pulses: 15, duration: 10 }); 116 121 } 117 122 else {
Note: See TracChangeset
for help on using the changeset viewer.