deadlock Message Board
[ July Full List | Post A Reply ]

Re: Script
From Ted on 10 July '02
replying to Re: Script posted by Andrew

Thanks but it didn't work. I forgot to mention that part of that
print script is in the head. I'm sure that has some impact on why
this is happening. Sorry

This is the heading part...

<script language="JavaScript">
<!-- Begin
function varitext(text){
text=document
print(text)
}
function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >
= 4) window.print();
}
// End -->
</script>

This is the body part...

<form>
<p align="center">
<input onclick="varitext()" type="button" value="Print This Page"
name="print">
<font face="Arial"><a
onclick="window.external.AddFavorite(location.href,
document.title);" href="javascript:void(0);">
<input
onclick="varitext()" type="button" value="Bookmark This
Page">
</a></font>

</form>




Your Reply

*Your name:
*Message subject:
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)