------=_NextPart_000_0080_01C48533.D91A6AF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello all...
I have the following line of html in a weblink application:
<td width=3D"123" align=3D"right"><input type=3D"image" name=3D"image1" =
img border=3D"0" src=3D"file:///c:/inetpub/wwwroot/repplus/printer.gif" =
width=3D"24" height=3D"19" alt=3D"Print Requisition" =
nextpage=3DLLORD.ASP onclick=3D"Javascript:printPage()"></td>
The intent is to place an icon on the page that when clicked, will open =
the print dialog window, allow the user to click the print button to =
print the page, and then return to another page in the application.
It works ok, however, when the page is compiled by weblink developer, =
and the application is run, the following bit of code actually gets =
printed to the browser screen right below the image:
function wldInitialisePage() {
DocLoaded=3D'done' ;
Pressed =3D false ;
}
To get rid of this, I opened the routine generated by weblink developer, =
found where this code is written to the browser and inserted the HTML =
remark code w "<!--" and w "-->" on the lines before and after the code =
that gets displayed.
I'm sure I have some little something wrong in the line of HTML that is =
causing Developer to compile the routine incorrectly, but have now =
pulled out what little hair I had left, and still can't find it. I can =
go in and manually fix the routine each time I compile, but that gets a =
little tiresome.
Weblink Developer version is 4.3, Build: 4.30.605.401d, running on =
windows XP pro, using IIS.
Any help would be greatly appreciated.
Thank you,
Mike Minor
Z-Code Systems, Inc.
[EMAIL PROTECTED]
Phone: 407-656-4990
------=_NextPart_000_0080_01C48533.D91A6AF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DTahoma size=3D2>Hello all...</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>I have the following line of html in a =
weblink=20
application:</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2><td width=3D"123" =
align=3D"right"></FONT><FONT=20
face=3DTahoma size=3D2><input type=3D"image" name=3D"image1" img =
border=3D"0"=20
src=3D"file:///c:/inetpub/wwwroot/repplus/printer.gif" width=3D"24" =
height=3D"19"=20
alt=3D"Print Requisition" nextpage=3DLLORD.ASP=20
onclick=3D"Javascript:printPage()"></FONT><FONT face=3DTahoma=20
size=3D2></td></FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>The intent is to place an icon on the =
page that=20
when clicked, will open the print dialog window, allow the user to click =
the=20
print button to print the page, and then return to another page in the=20
application.</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>It works ok, however, when the page is =
compiled by=20
weblink developer, and the application is run, the following bit of code =
actually gets printed to the browser screen right below the =
image:</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>function wldInitialisePage()=20
{<BR> DocLoaded=3D'done' ;<BR> =
Pressed =3D false=20
;<BR>}</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>To get rid of this, I opened the =
routine generated=20
by weblink developer, found where this code is written to the =
browser and=20
inserted the HTML remark code w "<!--" and w "-->" on the=20
lines before and after the code that gets displayed.</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>I'm sure I have some little something =
wrong in the=20
line of HTML that is causing Developer to compile the routine =
incorrectly, but=20
have now pulled out what little hair I had left, and still can't find =
it. I can=20
go in and manually fix the routine each time I compile, but that gets a =
little=20
tiresome.</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>Weblink Developer version is =
4.3, <FONT=20
face=3D"Times New Roman"><FONT size=3D3> </FONT><FONT face=3DTahoma =
size=3D2>Build:=20
4.30.605.401d, running on windows XP pro, using =
IIS.</FONT></FONT></FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>Any help would be greatly =
appreciated.</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=3DTahoma size=3D2>Thank you,</FONT></DIV>
<DIV><FONT face=3DTahoma size=3D2></FONT> </DIV>
<DIV><FONT face=3DTahoma size=3D2>Mike Minor<BR>Z-Code Systems, =
Inc.<BR></FONT><A=20
href=3D"mailto:[EMAIL PROTECTED]"><FONT face=3DTahoma=20
size=3D2>[EMAIL PROTECTED]</FONT></A><FONT face=3DTahoma size=3D2> =
<BR>Phone:=20
407-656-4990<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0080_01C48533.D91A6AF0--