Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

How do you center a window popup, modal window, etc. (Ribbon Workbench)

$
0
0

I'm trying to figure out how I can center a popup HTML form using the winParams.   I have addeda button using the Ribbon Workbench that calls my own HTML page and displays it as a popup form.  But I can only control the left/top and I do not have access to call JavaScript to compute the cordinates.

I was thinking about adding an intermediate JavaScript function that the button will call, then display the popup window there.  But I'm wondering what the best approach might be, as I plan to use these a great deal in my CRM projects to replace a number of dialogs where I need much more functionality than the standard dialogs allow.

Any thoughts or suggestions are much appreciated.

Best regards,

Jon

 

Jon Gregory Rothlander


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>