Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Focus For A New Form

Reply
Thread Tools

Focus For A New Form

 
 
George Fernett
Guest
Posts: n/a
 
      05-03-2004
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=35 0,location=0,menubar=0,too
lbar=0,resizable=0,status=0,scrollbars=1');tu.move To(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=3 50,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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this.window.focus() vs. window.focus() vs. this.focus() Roger Javascript 3 03-08-2007 08:53 PM
Why "Focus and Recompose" causes back-focus issues Carl Miller Digital Photography 7 03-10-2005 12:14 PM
Fuji EXIF: Focus warning: "Out of focus" Hasan Diwan Digital Photography 3 12-26-2004 04:13 AM
Pan Focus vs Auto Focus JethroUK© Digital Photography 2 08-11-2004 06:26 PM
any manual focus cameras easy to focus? Catherine Jo Morgan Digital Photography 6 11-05-2003 06:36 PM



Advertisments