- <script type="text/javascript">
- function popupwindow(w, h) {
- var ctrl = '<%=txtDate.ClientID.Trim() %>';
- var ddlCtrl = document.getElementById('<%=ddlDepartment.ClientID %>');
- wLeft = window.screenLeft ? window.screenLeft : window.screenX;
- wTop = window.screenTop ? window.screenTop : window.screenY;
- var left = wLeft + (window.innerWidth / 2) - (w / 2);
- var top = wTop + (window.innerHeight / 2) - (h / 2);
- return window.open('frmapontcalander.aspx?ctrl=' + ctrl + '&Dept=' + ddlCtrl.value, 'Hei', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=500, height=300, top=100, left=' + left + ', screenX=' + left + ', screenY=' + top);
- }
- </script>
Loading
Join the conversation! Your thoughts help the community grow.