Focus For A New Form

G

George Fernett

Hi all,

I have a page that lists codes and when a code is clicked on, I wanted to
show the full text description for the code.
Response.Write("<td nowrap>" & "<a
href=""/scripts/codedescription.asp?lcode=" & oRS.fields("jspcde") & " ""
target=""tu"" onclick=""var
tu=window.open('','tu',config='height=360,width=350,location=0,menubar=0,too
lbar=0,resizable=0,status=0,scrollbars=1');tu.moveTo(410,120)""><font
color=""#0000cc"">" & oRS.fields("jspcde") & "</font></a>" & "</td>")

I have a function in my UTILITY.ASP:
function openWin(doc)
var
tu=window.open(doc,"tu",config="height=360,width=350,location=0,menubar=0,to
olbar=0,resizable=0,status=0,scrollbars=1")

end function

It works fine the first time, but if I click on the main form again, the
"pop-up" form foes behind the main form. Is there a way to keep bringing
out the second form each time? Somehting like a FOCUS or ONTOP command?

Thanks in advance,

George
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top