我在利用每个功能而感到悲伤,但我遇到麻烦,无法将我带往我的模式箱。 该守则是:
(function() {
$( div.heriyah ).each(function() {
$(this).html( <div class="add"><div id="add_button_container"><div id="add_button" class="edit_links">+ ADD NEW CONTENT</div></div></div><div class="clear"></div><div class="placeable"></div></div> );
$( .add ).click(function() {
$.fallr( show , {
content : <iframe width="620" height="600" src="<? echo $URL ?>/manage_content.php?id=<? echo $pageID; ?>&div= +$(this).attr( id )+ "></iframe> ,
width : 620 + 5, // 100 = for width padding
height : 600,
closeKey : true,
closeOverlay : true,
buttons : {}
});
});
});
(iii)
如果我请求在我的示范箱内实现变数,我就获得<代码>。
我这样做:
+$(this).attr( id )+
To grab the id inside my modal box function.
Thanks, Drummer