Create a Hard Copy of Your Blog

⊆ 4:44 AM by Thurthur | ˜ 0 comments »

source : www.xopa.blogspot.com

Add 'Print This' option for a page on your Blog

Goto the Template tab and then to the 'Edit HTML'. Click on the 'Edit HTML' tab and look for the [head] tag . Then paste the given script in anywhere in between the and [/head] tag.

[span style="color: rgb(153, 0, 0);" ][style type="text/css" media="print"][/span][br /][span style=" color: rgb(153, 0, 0);"] #noprint {display: none;} [/span][br /][span style=" color: rgb(153, 0, 0);"] // This hide unwanted elements[/span][br /][span style=" color: rgb(153, 0, 0);"] body {background:fff; color:000;} [/span][br /][span style=" color: rgb(153, 0, 0);"] // Black text on White background[/span][br /][span style=" color: rgb(153, 0, 0);"] a {text-decoration: underline; color:00f;} [/span][br /][span style=" color: rgb(153, 0, 0);"] //Underline Hyperlinks in blue[/span][br /][span style=" color: rgb(153, 0, 0);"]}[/span][br /][span style=" color: rgb(153, 0, 0);"][/style]

After pasting , click on 'Save Template'.

Then paste this javascript in the bottom of the post which you wanted to print:

[span style="color: rgb(153, 0, 0);"][a href="javascript:window.print()"]Print Page[/a]

Go to SETTINGS >FORMATTING and paste the javascript in to the post template window. Click 'Save Settings'. Then your'e done.

Note : Replace all the '[' by '<' and ']' by '>' in the given script .


0 Responses to Create a Hard Copy of Your Blog

= Leave a Reply