|
JeroenDortmans -> RE: Send a parameter from a website to a application (2/1/2002 2:07:21)
|
Hi Roger, After I did place the script on a separate page, it worked fine. I modified the "drawing number" as displayed on the search result page into a hyperlink which links to a page where our "write BAT file" scripts runs. I open the "write BAT file" scripts in a new window. With the link I send the drawing number so a DRW on the "write BAT file" page grabs it so I can use it in the script for writing the BAT file and after that close this new window. This all work fine. For making this process faster, I want to open the new window with no menubar, statusbar, toolbar en so on. I must specify this with the link on the search result page. I now how to do this in JavaScript, but now I also want to send the variable "drawing_number" with it. I thought on something like this: <SCRIPT language="JavaScript"> function popIt(parameter) { var url = "Write_BAT.asp?Drawing_number=; var x = window.open(url,'popWin','status=no,toolbars=no,width=100,height=100'); x.moveTo(50,50); } </script> <a href="javascript:popIt(<%=FP_FieldURL(fp_rs,"Drawing_number")%>);"> It needs some fine-tuning because it gives some error's. Any idea?
|
|
|
|