function OpenDialog(url, height, width, title) { var vurl = url; var vheight = height; var vwidth = width; var vtitle = title; var strAddOn = '&SkinSrc=[G]'; strAddOn += '<%= DotNetNuke.Common.Globals.QueryStringEncode(DotNetNuke.UI.Skins.SkinController.RootSkin + "/" + DotNetNuke.Common.Globals.glbHostSkinFolder + "/" + "popUpSkin") %>'; strAddOn += '&ContainerSrc='; strAddOn += '<% = DotNetNuke.Common.Globals.QueryStringEncode("/portals/_default/containers/_default/no%20container") %>'; vurl += strAddOn.toString(); alert(vurl); var dialog = $('').appendTo('body'); dialog.dialog({ title: vtitle, modal: true, open: function (type, data) { $(this).parent().appendTo("form"); }, buttons: [{ text: "Exit", click: function () { // var valInput = $("#iDialog").contents().find("#txtRequesterNotes"); // stuff it into a hidden field on the parent if you want // $("input[name='hModalReturnValue']", parent.document.body).val(valInput.val()); $(this).dialog("close"); //or just return it. // processDialogResult('refresh,' + valInput.val()); } }] , height: vheight , width: vwidth }); }
120 OLD FREEMANS WAY, BREWSTER, MA 02631 MAILING: P.O. BOX 2342, BREWSTER, MA 02631 PHONE (774) 323-3176