Guest_imported
New member
- Jan 1, 1970
- 0
I am using the following line of code to create an image which acts as a link - it passes a value to the next page.
<%
response.write "<a href='blank.asp?id=" & id & "' target='_new'><img src='images/viewdetails_over.gif' width='137' height='20' hspace='0' vspace='0' border='0' align='right'></a>
%>
The target='_new' bit opens a new window alright, but I want to be able to specify the window width, height, no location bar etc. When I use a standard bit of javascript to do this it doesn't pass the value through.
How can I alter the code to open the link in a new, customizable window?
Many thanks
James
<%
response.write "<a href='blank.asp?id=" & id & "' target='_new'><img src='images/viewdetails_over.gif' width='137' height='20' hspace='0' vspace='0' border='0' align='right'></a>
%>
The target='_new' bit opens a new window alright, but I want to be able to specify the window width, height, no location bar etc. When I use a standard bit of javascript to do this it doesn't pass the value through.
How can I alter the code to open the link in a new, customizable window?
Many thanks
James