如何使用colorbox顯示iframe。我試着跟着。如何使用colorbox顯示iframe
$.colorbox({inline:true, href:"#html_content", onLoad:function(){
alert("Colorbox Loaded")
}});
<body class="html_body" id="html_content_body">
<div id="html_content">
<form id="ajaxadd" action="/patient_add/" method="post" name="FormName" class="prettyform">
{% csrf_token %}
<table id="table_one" width="448" border="0" cellspacing="2" cellpadding="0">
....
</table>
</div>
</body>
</html>
你嘗試onLoad事件? – Coolbreeze 2011-03-29 08:23:14
你目前有任何代碼? – Ant 2011-03-29 08:28:56
請更具體的在您的問題,並提供代碼,如果可能的 – corroded 2011-03-29 08:36:55