very Simple jQuery print plugin
support:
Firefox 3.6
IE 7&8
Chrome latest
Printing is becoming more and more obsolete these days, however most website still do offer a print stylesheet . That being said print stylesheets are rarely perfect, when you start disabling some parts of your website you’re bound to forget a div or your layout will give you print headache.
there are already plugins to prints parts of your page. That being said the idea behind this plugin is that instead of opening a popup, the plugin creates an iframe and print it directly! This way you save yourself (and your users) the hassle of dealing with a new window.
Also, because you still link to your popup, if some of your users have javascript disabled, they could still open the special template and print it.
Using
$(".btnPrint").printPage()
Optional
There are some options available:
url: Overwrite the automatic url fetching in the href attribute
attr: change the default href attribute that is used to retrieve the print page URL.
message: The text message displayed before the print page is loaded
You might also like
Tags
accordion accordion menu animation navigation animation navigation menu carousel checkbox inputs css3 css3 menu css3 navigation date picker dialog drag drop drop down menu drop down navigation menu elastic navigation form form validation gallery glide navigation horizontal navigation menu hover effect image gallery image hover image lightbox image scroller image slideshow multi-level navigation menus rating select dependent select list slide image slider menu stylish form table tabs text effect text scroller tooltips tree menu vertical navigation menu