Fix ad_banner loading

This commit is contained in:
Christophe Vilayphiou committed 2012-02-27 18:50:56 +08:00
1 parent f13ebc6c46
commit 680b28023a
3 files changed
+7 -8

No files matched your search

+5 -6
View File
@@ -17,13 +17,12 @@ function ajax_load_proc(wapper,url){
wapper.html("Loading Failed");
});
}
// Ad Banner FX code [start]
function onAfter(e) {
var parent = $(this).parent();
var time_to_next = $(this).attr('time_to_next');
parent.cycle('pause');
setTimeout(function(){parent.cycle('resume')},time_to_next);
// Ad Banner FX code [start]
function getTimeout() {
return $(this).attr('time_to_next');
}
$(document).ready(function() {
$('.slideshow').children('img').click(function()
{