1
我的問題是:無法加載外部頁面隱藏/顯示DIV中
我有一些外部頁fotos1.asp
在那裏我從我的index.asp
一個#fotos_dentro
裏面打電話的時候,我在黨的主要內容點擊查看。
這張主要照片是在另一個div #fotos
裏面。我使用一些jQuery腳本來處理這個問題。
和我有一些scrollBar腳本..所以發生了什麼?
我的fotos1.asp
在#fotos_dentro
裏面沒有apear。
這裏是我的腳本:
$(function(){
$("#fotos_dentro").hide();
$('.fotos1').live('click', function(e) {
e.preventDefault();
var h = $(this).attr('href');
$.get(h, function() {
$("#fotos").fadeOut("slow", function() {
$("#fotos_dentro").show(function(){
$(this).load(h).fadeIn("slow", function(){
$("#mcs_container").mCustomScrollbar("vertical",400,"easeOutCirc",1.05,"30","yes","yes",10);
});
});
});
});
});
});
這裏是我的HTML:
<div class="conteudo">
<!-- comeco sroll -->
<div id="mcs_container" class="rolagem">
<div class="customScrollBox">
<div class="container">
<div class="content">
<div id="fotos_dentro"></div>
<div id="fotos">
<!-- HERE IS MY ASP PROGRAMMING -->
</div>
</div>
</div>
<div class="dragger_container">
<div class="dragger"></div>
</div>
</div>
</div>
<!-- fim scroll -->
</div>
這裏是我的地盤:http://www.alsite.com.br/luxxx/ - 點擊GALERIA
看出問題。
這個工程非常好...所以...現在..我怎麼能顯示我的'#fotos'並且從這個外部頁面隱藏'#fotos_dentro'? – Preston 2012-07-18 15:25:07
不需要了..我得到了鏈接工作..謝謝! – Preston 2012-07-18 15:33:39