- Timestamp:
- Nov 19, 2009, 11:33:09 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/shared/_pictureHead.gsp
r182 r188 1 1 2 <link rel="stylesheet" type="text/css" href="${resource(dir: 'css', file: 'webalbum.css')}" /> 3 <link rel="stylesheet" type="text/css" href="${resource(dir: 'css', file: 'lightbox.css')}" /> 2 <link rel="stylesheet" href="${resource(dir:'css',file:'lightbox.css')}" /> 4 3 <g:javascript library="prototype/prototype" /> 5 4 <g:javascript library="lightbox" /> -
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.