iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
I can't seem to figure out if there's a way to resize the WebDialogBox after it has been opened? I'd like to make it fit the size of the contents:
function ResizeWindow(webDialogId) { var wdb; var form = document.getElementById("form1"); wdb = parent.ISGetObject(webDialogId); if (wdb) { wdb.Height = form.offSetHeight; wdb.Width = form.offSetWidth; }}
Is something along these lines possible?
Please try to use ResizeTo() method in order to resize WebDialogBox after it has been opened. Below is the snippet code that shows how to resize WebDialogBox using ResizeTo() method (plus move the WebDialogBox to the center of window).
<script language="javascript" type="text/javascript"> <!-- function doResize() { var dlg = ISGetObject("WebDialogBox1"); dlg.Window.ResizeTo(400, 300); dlg.Window.MoveToCenterDesktop(); return true; } --> </script>
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname