Hi, Can anyone tell me what is wrong in the following code: Response.Write("<script>"); Response.Write("window.open("http://111.111.111.111:8000/Pages/ValidateUser.aspx?JVId=PW0000001&SessionId=1000&IsAdmin=Y&RoleName=Self","scrollbars=yes,resizable=yes,toolbar=no,location=n o,directories=no,dependent=no,fullscreen=no,status =yes,left=0,top=0,height=" +screen.height-60 + ",width="+screen.width-5");"); Response.Write("</script>"); the IP address is of course a dummy.But its a real url i am working on.I keep getting this error Error Type: Microsoft JScript compilation (0x800A03EE) Expected ')'
Response.Write("<script>window.open('http://111.111.111.111:8000/Pages/ValidateUser.aspx?JVId=PW0000001&SessionId=1000&IsAdmin=Y&RoleName=Self', 'myWindow', 'scrollbars=yes,resizable=yes,toolbar=no,location=n o,directories=no,dependent=no,fullscreen=no,status=yes,left=0,top=0,height=120,width=200');</script>"); Code (markup): You were missing the second param which is name of the new window and you were also using misusing the quotes. HTH Regards
Hello Freinds! What's meaning of this script and how can it use. if want use in my asp file than how is possible.................. please give me complete detail
Well, this is a script that allows you to open a new browser window for the viewer to use. It is also known as POPUP. You can use that for different purposes but mostly it is used for displaying large images or such.
hello yugolancer! how can i get this script "Learn by Display" i want to learn because my website already design in asp........
Hello Yugolancer! How can i learn online this script. ONLIN USES THIS SCRIPT, because i want to use this script my website where it necessary...........