open popup not new window

J

Joker7

<a onMouseOver="window.status='Get ID3 info from
<%=Replace(strDisplayFileName, "'", "\'")%>';return true"
onMouseOut="window.status='';return true"
href="fileinfo.asp?TargetFile=<%=Server.URLEncode(strThisSubFolder & "\" &
objFile.Name)%>" target="_blank"><img src="images/info.gif" width="10"
height="16" border="0"></a>


Help need with the above :
It opens a new window but I need to open a fixed size popup window no tool
bar ect,
any pointers would be good or better still a re-write :)

I was thinking a long the lines of :

<a href=" href="fileinfo.asp?TargetFile=<%=Server.URLEncode(strThisSubFolder
& "\" & objFile.Name)%"onClick="javascript:
window.open('fileinfo.asp','rad','width=250,height=285,top=200,left=300,scre
enX=200,screenY=300,scrollbars=no,resizable=no');return false;"
target="_self">

But can't get it to work any ideas ?

Regards
Chris
 
J

Joker7

Worked it out just me being thick again :-((

<a onMouseOver="window.status='Get ID3 info
from<%=Replace(strDisplayFileName, "'", "\'")%>';return
true"onMouseOut="window.status='';return
true"href="fileinfo.asp?TargetFile=<%=Server.URLEncode(strThisSubFolder &
"\" & objFile.Name)%>" onClick="javascript:
window.open('fileinfo.asp?TargetFile=<%=Server.URLEncode(strThisSubFolder &
"\" &
objFile.Name)%>','rad','width=250,height=285,top=200,left=300,screenX=200,sc
reenY=300,scrollbars=no,resizable=no');return false;" target="_self"><img
src="images/info.gif" width="10"height="16" border="0"></a>


Sorry

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,158
Messages
2,570,881
Members
47,414
Latest member
djangoframe

Latest Threads

Top