------=_NextPart_000_001D_01C485C8.90D88980
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
John, Ramon...thank you for your assistance. I replaced my code with =
John's, but there is one small problem. It does not return to the page =
that I want it to. The print dialog window opens, and the page can be =
printed, but I also need it to go to a different page, the LLORD.ASP =
page. The page being printed is the LLREQPRINT page, and after it =
prints, I need it to go back to a different page.
=20
Thank you,
Mike Minor
Z-Code Systems, Inc.
[EMAIL PROTECTED]
Phone: 407-656-4990
Fax: 407-656-5875
Confidentiality Note:
This e-mail and any attachements to it are intended only for the named =
recipient/s and may contain confidential information. If you are not one =
of the intended recipients, please do not duplicate or forward this =
e0mail message and immediatley delete it from your computer.
"John A. Bertoglio" <[EMAIL PROTECTED]> wrote in message =
news:[EMAIL PROTECTED]
Try this:
replace:
<INPUT TYPE=3D""IMAGE"" NAME=3D""image1"" img border=3D""0"" =
SRC=3D""file:///c:/inetpub/wwwroot/repplus/miniprinter.gif"" =
WIDTH=3D""24"" HEIGHT=3D""19"" alt=3D""Print Requisition"" =
onclick=3D""JAVASCRIPT:printPage()
with:
<a href=3D"#" onclick=3D"printPage()"><img =
SRC=3D"file:///c:/inetpub/wwwroot/repplus/miniprinter.gif" WIDTH=3D"24" =
HEIGHT=3D"19" alt=3D"Print Requisition" border=3D"0" ></a>
I think what is happening is that the IMAGE is doing a form submit. =
All that stuff after the tag is WLD stuff to handle the form submission. =
jb
"Mike Minor" <[EMAIL PROTECTED]> wrote in message =
news:[EMAIL PROTECTED]
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_001D_01C485C8.90D88980
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 bgColor=3D#ffffff>
<DIV><FONT face=3DTahoma size=3D2>John, Ramon...thank you for your =
assistance. I=20
replaced my code with John's, but there is one small problem. It does =
not return=20
to the page that I want it to. The print dialog window opens, and the =
page can=20
be printed, but I also need it to go to a different page, the LLORD.ASP =
page.=20
The page being printed is the LLREQPRINT page, and after it prints, I =
need it to=20
go back to a different page.</FONT></DIV>
<DIV> <BR>Thank you,</DIV>
<DIV> </DIV>
<DIV>Mike Minor<BR>Z-Code Systems, Inc.<BR><A=20
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A> =
<BR>Phone:=20
407-656-4990<BR>Fax: 407-656-5875</DIV>
<DIV> </DIV>
<DIV>Confidentiality Note:</DIV>
<DIV> </DIV>
<DIV>This e-mail and any attachements to it are intended only for the =
named=20
recipient/s and may contain confidential information. If you are not one =
of the=20
intended recipients, please do not duplicate or forward this e0mail =
message and=20
immediatley delete it from your computer.<BR></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"John A. Bertoglio" <<A=20
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>> =
wrote in=20
message <A=20
=
href=3D"news:[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
m</A>...</DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff size=3D2>Try=20
this:</FONT></SPAN></DIV>
<DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2>replace:</FONT></SPAN></DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2><INPUT TYPE=3D""IMAGE"" NAME=3D""image1"" img =
border=3D""0"" SRC=3D""<A=20
=
href=3D"file:///c:/inetpub/wwwroot/repplus/miniprinter.gif">file:///c:/in=
etpub/wwwroot/repplus/miniprinter.gif</A>""=20
WIDTH=3D""24"" HEIGHT=3D""19"" alt=3D""Print Requisition""=20
onclick=3D""JAVASCRIPT:printPage()</FONT></SPAN></DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2>with:</FONT></SPAN></DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2><a href=3D"#" onclick=3D"printPage()"><img SRC=3D"<A =
=
href=3D"file:///c:/inetpub/wwwroot/repplus/miniprinter.gif">file:///c:/in=
etpub/wwwroot/repplus/miniprinter.gif</A>"=20
WIDTH=3D"24" HEIGHT=3D"19" alt=3D"Print Requisition"=20
border=3D"0" ></a></FONT></SPAN></DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff size=3D2>I=20
think what is happening is that the IMAGE is doing a form submit. All =
that=20
stuff after the tag is WLD stuff to handle the form submission.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D260243922-18082004><FONT face=3DTahoma =
color=3D#0000ff=20
size=3D2>jb</FONT></SPAN></DIV></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Mike Minor" <<A=20
=
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>> =
wrote=20
in message <A=20
=
href=3D"news:[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
m</A>...</DIV>
<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"=20
align=3D"right"></FONT><FONT face=3DTahoma size=3D2><input =
type=3D"image"=20
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=20
that when clicked, will open the print dialog window, allow the user =
to=20
click the print button to print the page, and then return to another =
page in=20
the 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=20
compiled by weblink developer, and the application is run, the =
following bit=20
of code actually gets printed to the browser screen right below the=20
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=20
false ;<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=20
generated by weblink developer, found where this code is written to =
the=20
browser and inserted the HTML remark code w "<!--" and w =
"-->" on=20
the 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=20
the line of HTML that is causing Developer to compile the routine=20
incorrectly, but have now pulled out what little hair I had left, =
and still=20
can't find it. I can go in and manually fix the routine each time I =
compile,=20
but that gets a little 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=20
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,=20
Inc.<BR></FONT><A href=3D"mailto:[EMAIL PROTECTED]"><FONT =
face=3DTahoma=20
size=3D2>[EMAIL PROTECTED]</FONT></A><FONT face=3DTahoma =
size=3D2>=20
<BR>Phone: =
407-656-4990<BR></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_001D_01C485C8.90D88980--