Adding a Print Button

To add a print button to your page, insert the following HTML code into your page(s) where you want the print button to appear:

<input type='button' onClick='window.print()' value='Print' />

You can change the value of 'Print' to anything you want to button to display such as 'Print This Page'.

هل استفدت من هذا الجواب؟

 أطبع هذا المقال

اقرأ أيضا

Can I change the colors and layout?

Yes. You have complete control over how the final calendar appears on your web site. You can edit...

How do I add a Date Selection Drop-down Menu?

<?php$mo=$_REQUEST[mo];$yr=$_REQUEST[yr];if (!isset($mo) || $mo<1 || $mo>12 ||...

Bypass the login screen?

Add the following code to your page. Adjust the path, email address, password and log in text to...

Customizing languages

The month and day names that display on the calendar can be customized to fit most any language...

What is the format of the dates in the database?

Julian Day Count http://us3.php.net/manual/en/function.gregoriantojd.php