Author | Topic: How to link to a exist html file after "run" a waa1gate.exe | |
---|---|---|
Shum W.C. | How to link to a exist html file after "run" a waa1gate.exe on Wed, 26 Apr 2000 00:00:54 +0800 Hello All, I use waa1gate.exe to generate a web-page within the page: there are two onClick url link as follow: <SCRIPT LANGUAGE="JavaScript"> function mywin(cDll,cFunc) { var cTmp=""; if (cDll=="") { cTmp = cfunc; cFunc = "myWin"; } else { cTemp = "/cgi-bin/waa1gate.exe?WAA_PACKGAE=" + cDll+ "%WAA_FORM=" + cFunc; var oWin = window.open(cTmp, cFunc, "width=640,height=480"); } </SCRIPT> : : <TD> <A HREF='javascript://' onClick=mywin("", "mylink.htm")>URL-Link1</A></TD> <TD> <A HREF="'javascript://' onClick=mywin("mydll","myfunc")>URL-Link2</A></TD> : : For the Link2 there is no problem.. However for Link1 thereis a problem... And I found that at the Address filed: http://www.mydomain.com/cgi-bin/mylink.htm is comes out ones click the URL-Link1 However this is an error & cannot find the mylink.htm within cgi-bin dir, my question is WHY /cgi-bin/ automatically comes out ... ? ( Why not? I expect http://www.mydomain.com/mylink.htm ) Is it seems automatic point into the /cgi-bin/ dir for any html file after using waa1gate.exe ? Shum... | |
verddddd | Re: How to link to a exist html file after "run" a waa1gate.exe on Mon, 06 Feb 2006 15:29:21 +0000 "Shum W.C." <shum@mingyik.com> escreveu na mensagem news:3905bfff@asgcom.alaska-software.com... > Hello All, > > I use waa1gate.exe to generate a web-page > > within the page: > > there are two onClick url link as follow: > > <SCRIPT LANGUAGE="JavaScript"> > function mywin(cDll,cFunc) { > var cTmp=""; > if (cDll=="") { > cTmp = cfunc; > cFunc = "myWin"; > } else { > cTemp = "/cgi-bin/waa1gate.exe?WAA_PACKGAE=" + cDll+ "%WAA_FORM=" + > cFunc; > var oWin = window.open(cTmp, cFunc, "width=640,height=480"); > } > </SCRIPT> > : > : > <TD> <A HREF='javascript://' onClick=mywin("", > "mylink.htm")>URL-Link1</A></TD> > <TD> <A HREF="'javascript://' > onClick=mywin("mydll","myfunc")>URL-Link2</A></TD> > : > : > > > For the Link2 there is no problem.. > > However for Link1 thereis a problem... > And I found that at the Address filed: > http://www.mydomain.com/cgi-bin/mylink.htm > is comes out ones click the URL-Link1 > > However this is an error & cannot find the mylink.htm within cgi-bin dir, > > my question is WHY /cgi-bin/ automatically comes out ... ? > > ( Why not? I expect http://www.mydomain.com/mylink.htm ) > > Is it seems automatic point into the /cgi-bin/ dir for any html file after > using waa1gate.exe ? > > Shum... > > > > > > > > |