Home » Script and Codes

Script and Codes

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’);”>

HTML URL Redirection Code

Redirect form one Website’s URL to another Website’s URL HTML URL Redirection Code URL redirection, also called URL forwarding, is a World Wide Web technique for making a web page available under more than one URL address. When a web browser attempts to open a URL that has been redirected, a page with a different …

HTML URL Redirection Code Read More »

Scroll to Top