javascript - Changing the size of a Boxy Dialog box -


i'm using boxy jquery plug-in (boxy plug-in) , i'm trying change size of box. i've tried this, didn't work:

var dialog = new boxy("<div style='left-margin:40px;'><p><b>event name:</b> " + foundtype.name + "</p><p><b>event type:</b> " + foundcategory.name + "</p><p><b>date: </b>" + foundtype.date.todatestring() + "</p><p><b>comments:<br /></b>" + foundtype.details + "</p></div>", { title: "<h><b>detail</b></h>", modal: true, show: false });             dialog.resize(400, 400);             dialog.show(); 

any please?

i think problem can't call resize on boxy window before it's displayed. show() first, fire resize(). can put resize call inside aftershow callback in boxy constructor.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -