dialog save position and size
I have dialog in a page the auto-refreshes every 5 minutes. If the dialog is resized or moved i would like to save its position and size. what is the easeist way to do this? thanks for any help.
- <div id="dialog_mon" class="mon" title="Dialog">
- </div>
- <script type="text/javascript">
- $(function () {
- $("#dialog_mon").dialog({
- resizable: true,
- height:800,
- width:800,
- modal: false,
- position:[50, 50],
- dialogClass: "mon",
- });
- $(".mon .ui-widget-content").css("background-color", "black");
- });
- </script>