Is there any way I can use a image for people to click on instead of the "Print This Page" link that is used in this script?<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->============================================================<br />Script:  Print Current Window From A Link<br />Function: Opens printer dialogue to print current page<br />Browsers: Version 4 and later (others degrade gracefully)<br />Author:  etLux<br />============================================================<br /><br />Step 1.<br />Put the following script in the head of your page.<br /><br /><script><br /><br />// © 2000 <!-- w --><a class="postlink" href="http://www.CodeLifter.com">www.CodeLifter.com</a><!-- w --><br />// <a href="http://www.codelifter.com" target="_blank">http://www.codelifter.com</a><br />// Free for all users, but leave in this header<br /><br />function printWindow(){<br /> bV = parseInt(navigator.appVersion)<br /> if (bV >= 4) window.print()<br />}<br /><br /><br /></script><br /><br />============================================================<br /><br />Step 2.<br />Put the following in the body of your page.<br /><br /><a href="http://www.totalchoicehosting.com/forums/lofiversion/index.php/java scriptrintWindow()">Print This Page</a><br /><br />============================================================<!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
<!--html--><div class='htmltop'>HTML</div><div class='htmlmain'><!--html1--><<span style='color:blue'>a</span> href="http://www.totalchoicehosting.com/forums/lofiversion/index.php/<span style='colorrange'>javascriptrintWindow()</span>"><<span style='color:blue'>img</span> src="http://www.totalchoicehosting.com/forums/lofiversion/index.php/<span style='colorrange'>print.gif</span>" /><<span style='color:blue'>/a</span>><!--html2--></div><!--html3--><!--content-->
Thanks Dick. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /> <br />I figured it was something easy but those "<a href="http://www.totalchoicehosting.com/forums/lofiversion/index.php/java script:..." always makes me confused.<!--content-->
No problem. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /> Just think of it as any other link.<!--content-->
<!--html--><div class='htmltop'>HTML</div><div class='htmlmain'><!--html1--><<span style='color:blue'>a</span> href="http://www.totalchoicehosting.com/forums/lofiversion/index.php/<span style='colorrange'>javascriptrintWindow()</span>"><<span style='color:blue'>img</span> src="http://www.totalchoicehosting.com/forums/lofiversion/index.php/<span style='colorrange'>print.gif</span>" /><<span style='color:blue'>/a</span>><!--html2--></div><!--html3--><!--content-->
Thanks Dick. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /> <br />I figured it was something easy but those "<a href="http://www.totalchoicehosting.com/forums/lofiversion/index.php/java script:..." always makes me confused.<!--content-->
No problem. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /> Just think of it as any other link.<!--content-->