开发者

Colorbox load new PHP-Page in DIV not works

That Works! Just with JQuery:

$('#myBlobBox').load('contents/test.php?action='+aAction+'&step='+tStep+'');
$('#myBlobBox').html('#myBlobBox');

And here my Colorbox example, but does not run. Why ?

$.('#myBlobBox').colorbox({load:\"'contents/test.php?action='+aAction+'&step='+tStep开发者_如何学运维\"});
$.('#myBlobBox').colorbox({html:'#myBlobBox'})


try to change it into, remove the escaped \":

$.('#myBlobBox').colorbox({load:'contents/test.php?action='+aAction+'&step='+tStep}); 

or

$.('#myBlobBox').colorbox({load:"'contents/test.php?action='+aAction+'&step='+tStep"}); 


$.colorbox({load: ==> does not fit, I think

i have the same effect like the colorbox if i put this

$(this).colorbox.resize();

in my loaded PHP-Page.

Thanks a lot ;)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜