Authored by wangqing

修改logo动画ie8问题

@@ -266,16 +266,16 @@ function fadeAnimate() { @@ -266,16 +266,16 @@ function fadeAnimate() {
266 if (window.globaltimeout) { 266 if (window.globaltimeout) {
267 window.clearTimeout(window.globaltimeout); 267 window.clearTimeout(window.globaltimeout);
268 } 268 }
269 - window.logotrans.fadeOut(window.loopdurationtime, function() { 269 + window.$logotrans.fadeOut(window.loopdurationtime, function() {
270 window.isen = false; 270 window.isen = false;
271 - window.logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)');  
272 - window.logotrans.fadeIn(window.loopdurationtime, function() { 271 + window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo.png)');
  272 + window.$logotrans.fadeIn(window.loopdurationtime, function() {
273 window.onetimeoout = window.setTimeout(function() { 273 window.onetimeoout = window.setTimeout(function() {
274 - window.logotrans.fadeOut(window.loopdurationtime, function() { 274 + window.$logotrans.fadeOut(window.loopdurationtime, function() {
275 window.clearTimeout(window.onetimeoout); 275 window.clearTimeout(window.onetimeoout);
276 window.isen = true; 276 window.isen = true;
277 - window.logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)');  
278 - window.logotrans.fadeIn(window.loopdurationtime, function() { 277 + window.$logotrans.css('background-image', 'url(http://static.yohobuy.com/newheader/img/logo_e.png)');
  278 + window.$logotrans.fadeIn(window.loopdurationtime, function() {
279 window.globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000); 279 window.globaltimeout = window.setTimeout(fadeAnimate, 1 * 60 * 1000);
280 }); 280 });
281 }); 281 });