- <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>
Javascript-Open new Popup Window on button click event
this code shows you that how you can open a new popup window of user's given file path. Using this code it will also explore the window of your given path for folder.


Ravishankar SinghPosted Apr 17, 2011, 12:02 AM EDT
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 :)