Can any one tell me how can I use window.open from response.write. I am using below code for now which is working fine opening in the new window as per my requirement
but I don't want to show the address bar and soem other options which I can do in window.open like scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no
swapna.anu
Contributor
2658 Points
745 Posts
Help with classic ASP code
Dec 16, 2011 02:47 PM|LINK
Hi,
Can any one tell me how can I use window.open from response.write. I am using below code for now which is working fine opening in the new window as per my requirement
response.write "<td width=70px " & font_style & " ><b><font color=green><a href="+rsResults("filepath") +" target='CP12'>"+rsResults("cp12_serial")+"</a></b></font> </td>" & vbCRLF
but I don't want to show the address bar and soem other options which I can do in window.open like scrollbars=yes,resizable=yes,status=no,toolbar=no,menubar=no,location=no
Thanks in advance.
shabirhakim1
Star
13496 Points
2145 Posts
Re: Help with classic ASP code
Dec 16, 2011 04:37 PM|LINK
Hi ,
Here you see
url="http://www.asp.net"
swapna.anu
Contributor
2658 Points
745 Posts
Re: Help with classic ASP code
Dec 19, 2011 08:54 AM|LINK
Hi
Thanks for the reply. Is there any way that I can place this code inside href link so that it should open only when I click on the link.
Thanks.
aspnet2sams
Participant
1746 Points
541 Posts
Re: Help with classic ASP code
Dec 19, 2011 10:04 AM|LINK
try putting them using render blocks. something like:
<% <script here> %> OR <%: %>
check the one that works.
hope this helps you.