load more error

nik
nik
Offline
0
i use b2j news slider 5 months ago, everything was correct bu today i saw something strange. I pressed load more to find an article and i took back this error.

"){ if(data.indexOf("{b2j_news_loades_items}")>=0){ startIndex = data.indexOf("{b2j_news_loades_items}"); endIndex = data.indexOf("{/b2j_news_loades_items}"); data = data.substr(startIndex,endIndex); data = data.replace("{b2j_news_loades_items}",""); data = data.replace("{/b2j_news_loades_items}",""); oHeight = $b2j('.b2j_k2_news_loader_overview:first').css("height"); oHeight = oHeight.substring(0, oHeight.length-2); $b2j("#b2j_k2_news_loader_ul_96").append(data); $b2j("#b2j_k2_news_loader_ul_96 li" ).css('border-bottom', '1px solid #7d7d7d'); $b2j("#b2j_k2_news_loader_ul_96 li" ).last().css('border', '0'); $b2j("#control_buttons_bottom_96 .b2j_k2_news_loader_loading").hide(); $b2j('.b2j_k2_news_loader_container ul li.new_li').fadeIn(1000); vHeight = $b2j('.b2j_k2_news_loader_viewport:first').css("height"); vHeight = vHeight.substring(0, vHeight.length-2); afterHeight = $b2j('.b2j_k2_news_loader_overview:first').css("height"); afterHeight = afterHeight.substring(0, afterHeight.length-2) - vHeight; scroll = oHeight - vHeight; $b2j('#b2j_k2_news_loader_scroll_96').b2jscrollbar_update(scroll); $b2j('.b2j_k2_news_loader_overview:first').animate({ top: "-"+afterHeight+"px" }, "slow"); tHeight = $b2j('.b2j_k2_news_loader_thumb:first').css("height"); tHeight = tHeight.substring(0, tHeight.length-2); trHeight = $b2j('.b2j_k2_news_loader_track:first').css("height"); trHeight = trHeight.substring(0, trHeight.length-2); tScroll = trHeight - tHeight; $b2j('.b2j_k2_news_loader_thumb:first').animate({ top: tScroll+"px" }, "slow"); $b2j('#b2j_k2_news_loader_scroll_96').b2jscrollbar_update('bottom'); items_showing += 15; }else{ $b2j("#control_buttons_bottom_96 a.b2j_k2_news_loader_load_more").unbind('mouseup'); $b2j("#control_buttons_bottom_96 .b2j_k2_news_loader_loading").hide(); $b2j("#control_buttons_bottom_96 a.b2j_k2_news_loader_load_more").css('color', '#dddddd'); $b2j("#control_buttons_bottom_96 a.b2j_k2_news_loader_load_more").css('cursor', 'default'); } } else { $b2j("#control_buttons_bottom_96 a.b2j_k2_news_loader_load_more").unbind('mouseup'); $b2j("#control_buttons_bottom_96 .b2j_k2_news_loader_loading").hide(); $b2j("#control_buttons_bottom_96 a.b2j_k2_news_loader_load_more").css('color', '#dddddd'); $b2j("#control_buttons_bottom_96 a.b2j_k2_news_loader_load_more").css('cursor', 'default'); } loading = false; }); }

any ideas?
Responses (0)
Sorry, but you are not allowed to view the replies here.
Your Reply

Cron Job Starts