0
即時嘗試加載AJAX加載jscrollpane時,該函數似乎加載,但它不能很好地工作,它的行爲像jscrollpane div中沒有內容,但它有!我不知道做什麼,我錯了jScrollPane沒有與AJAX工作
$('#feedbackNoticia #noticia2').click(function(){
$.post('teste2.php', function(data){
$('#noticiasBox .descricao').fadeOut(200);
$('#noticiasBox .noticiaAberta').delay(200).fadeIn(200).html(data);
$('.ajax .pNoticias').jScrollPane();
});
});
當AJAX文件加載「teste2.php」它顯示了JScrollPane中的HTML extructure,你可以在檢查看到,但它不工作,我不知道爲什麼。
,你可以在這裏看到的例子,在菜單中點擊NOTICIAS,然後你會向下滾動,然後單擊最後一個項目 http://www.estudiocaju.com.br/homolog/dicavalcanti/
你解決了嗎?這似乎是工作... – 2013-02-21 14:36:47
是的,我修好了,我忘了發佈答案。現在生病了 – 2013-02-22 13:34:17