Visual Vision **User's** Forum (the fast) (https://www.easywebeditor.com/cgi-bin/forum/YaBB.pl)
Our Products >> EasyWebEditor / 1site >> Add a "print" button
(Message started by: Support Staff on Sep 22nd, 2003, 6:00am)

Title: Add a "print" button
Post by Support Staff on Sep 22nd, 2003, 6:00am
With "Insert >HTML >Within page" insert this script somewhere:

<script>
<!--
function winPrint(){
if (window.print)
{
 window.print();
}
else
{
 alert("Your Web Browser DOES NOT support this print method. Close this window and select File>Print from the main Menu.");
}
}
//-->
</script>


Then to place a link that will print, use the normal link functions (Insert >Link, or Image >Define Link or whatever) and in the link Window, select the 3rd tab, Add+, then type this text (will replace http:// )

javascript:winPrint()





Visual Vision **User's** Forum (the fast) » Powered by YaBB 1 Gold - SP1!
YaBB © 2000-2001, XNull. All Rights Reserved.
This forum © 2001-2010 VisualVision and VisualVision Users