- <html>
- <head>
- <title>Sample Code</title>
- <script type="text/javascript">
- function OpenNewWindow(MyPath)
- {
- window.open(MyPath,"","toolbar=no,status=no,menubar=no,location=center,scrollbars=no,resizable=no,height=500,width=657");
- }
- </script>
- </head>
- <body bgcolor=#00ff00 alink=blue vlink=blue>
- <FORM name="windowEvent">
- Enter Path Of File Or Window Which You Want To Open : <input type="text" name="txtpath"/>
- <input type="button" value="Open" name="btnOpenPopup" onClick="OpenNewWindow(txtpath.value)" />
- </FORM>
- </body>
- </html>
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Ravishankar SinghPosted Apr 17, 2011, 4:02 AM
Very Nice code..I am feeling we can extend more from your code.You just give the start and rest developer can modify wherever they want either in asp.net or in share point :)