Maalesef 'ya bu, ama çok daha kararlı göründüğü gibi ben Colorbox doğru hareket edeceğiz düşünüyorum: Ben yalnız konuşuyorum
$('#second-btn').live('click', function(e){
e.preventDefault();
$.colorbox({
onComplete: function(){
$('#cboxLoadedContent').append('second opened');
$('#cboxClose').attr('id', 'cboxClose_disabled');
},
html:'<p>Second <a id="first-btn" href="x">first</a></p>',
width: 500, height: 200
});
});
function showfirst(){
$.colorbox({
onLoad: function(){ $('#cboxClose_disabled').attr('id', 'cboxClose'); },
onComplete: function(){ $('#cboxLoadedContent').append('first opened') },
html:'<p>First <a id="second-btn" href="x">second</a></p>',
width: 500, height: 200
});
}
$('#first-btn').live('click', function(e){
e.preventDefault();
showfirst()
});
showfirst();
Hey ?! XD
Sizinle aynı sorunu yaşadım veya bir iç bağlantıya basıldıktan sonra yeni içerikle açmak veya yenilemek için bir gölge kutusu almaya çalışıyordum. Tavsiyeni aldım ve Colorbox'a taşındım. Çalışır ve istediğimi yapar. Teşekkürler :) –