Home » Script and Codes

Script and Codes

Add Cool Print Button on your Website

Add Cool Print Button on your Website

Learn to add print button on your website Add this code after where you want to show print button on your website <b:if cond=”data:blog.pageType == &quot;item&quot;”> <span style=”background: url(https://provishal.com/wp-content/uploads/2015/01/print-icon1-1.png) left no-repeat; padding-left: 25px;display:inline;”><a class=”noprint” href=”javascript:window.print()” rel=”nofollow”>Print Now</a></span> </b:if> Although most users know they can do something like “File > Print”, a “Print Now” option can …

Add Cool Print Button on your Website Read More »

Add Simple Print Button to Website

Learn to add print button on your website Add this code after where you want to show print button on your website <input type=”button” value=”Print Now” onclick=”window.print();”> You can use JavaScript to automatically open print dialogue box so that users can print the page. Although most users know they can do something like “File > …

Add Simple Print Button to Website Read More »

Make popup button for a link in website

Learn here to make popup button for a link for your website You have to only replace the yellow line from this code with your link. <input type=”button” value=”Open a Popup Window” onclick=”window.open(‘http://www.vikinspire.com‘,’popUpWindow’,’height=500,width=400,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no, status=yes’);”>

Scroll to Top