Revision 36d49217 cloudcms/static/cloudcms/js/common.js

b/cloudcms/static/cloudcms/js/common.js
153 153
    
154 154
    /*$('#animation a').hover(
155 155
      function () {
156
      	var src = $(this).find('img').attr('src').replace('.png', '_top.png')
157
        $(this).find('img').attr("src", src);
156
      	
158 157
        $(this).animate({
159 158
           top: '+=-10'   
160
           }, 600, function() {
161
           		// action to do when animation is finished
162
		});
159
           }, 600);
163 160
        $(this).siblings('p').find('img').animate({
164 161
          width: '60%'       
165 162
        });
166 163
      }, 
167 164
      function () {
168
      	
169
        $(this).animate({
170
         top: '0'   
171
            
172
        }, 600, function() {
173
           	var src = $(this).find('img').attr('src').replace('_top.png', '.png')
174
        	$(this).find('img').attr("src", src);
175
		});
165

  
166
        $(this).animate({top: '0'}, 600);
176 167
        $(this).siblings('p').find('img').animate({
177 168
          width: '65%'       
178 169
        });

Also available in: Unified diff