DoersGuild / Jquery.print
Licence: other
Easy to use, Element Printing Plugin for jQuery
Stars: ✭ 772
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Jquery.print
Convform
A jQuery plugin that transforms a form into an interactive chat.
Stars: ✭ 141 (-81.74%)
Mutual labels: plugin, jquery
Validate
A simple jQuery plugin to validate forms.
Stars: ✭ 298 (-61.4%)
Mutual labels: plugin, jquery
Jqueryrotate
jQueryRotate - plugin to rotate images by any angle cross-browse with animation support
Stars: ✭ 157 (-79.66%)
Mutual labels: plugin, jquery
Mapit
An easy way to embed google maps in your site.
Stars: ✭ 54 (-93.01%)
Mutual labels: plugin, jquery
Hideseek
A simple, mobile-friendly, yet customizable quick/live search jQuery plugin.
Stars: ✭ 430 (-44.3%)
Mutual labels: plugin, jquery
Sidr
Sidr is a jQuery plugin for creating side menus and the easiest way for doing your menu responsive.
Stars: ✭ 2,924 (+278.76%)
Mutual labels: plugin, jquery
Jquery.timeline
You can easily create the horizontal timeline with two types by using this jQuery plugin.
Stars: ✭ 179 (-76.81%)
Mutual labels: plugin, jquery
Zoomove
🔍 🎆 Enlarges the image with the mouse hover and move
Stars: ✭ 339 (-56.09%)
Mutual labels: plugin, jquery
Chosen Order
Chosen Order is a plugin for Chosen which provides functions to handle the order of the selection
Stars: ✭ 48 (-93.78%)
Mutual labels: plugin, jquery
Jquery.localscroll
Animated anchor navigation made easy with jQuery
Stars: ✭ 624 (-19.17%)
Mutual labels: plugin, jquery
Printthis
jQuery printing plugin; print specific elements on a page
Stars: ✭ 902 (+16.84%)
Mutual labels: print, jquery
Footer Reveal
A jQuery plugin for easy implementation of the 'fixed/reveal' footer effect. Demo here:
Stars: ✭ 111 (-85.62%)
Mutual labels: plugin, jquery
Jquery Match Height
a responsive equal heights plugin
Stars: ✭ 3,100 (+301.55%)
Mutual labels: plugin, jquery
Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Stars: ✭ 649 (-15.93%)
Mutual labels: plugin, jquery
Animatescroll.js
A Simple jQuery Plugin for Animating Scroll
Stars: ✭ 708 (-8.29%)
Mutual labels: jquery
jQuery Print Plugin
jQuery.print is a plugin for printing specific parts of a page
Usage
Include it in your HTML after importing jQuery, like:
<script type="text/JavaScript" src="path/to/jquery.print.js"></script>
Use it like:
$("#myElementId").print(/*options*/);
or
$.print("#myElementId" /*, options*/);
You can submit the options object like:
$("#myElementId").print({
globalStyles: true,
mediaPrint: false,
stylesheet: null,
noPrintSelector: ".no-print",
iframe: true,
append: null,
prepend: null,
manuallyCopyFormValues: true,
deferred: $.Deferred(),
timeout: 750,
title: null,
doctype: '<!doctype html>'
});
Currently this plugin supports the following options:
globalStyles
- Default:
true
- Acceptable-Values: Boolean
- Function: Whether or not the styles from the parent document should be included
mediaPrint
- Default:
false
- Acceptable-Values: Boolean
- Function: Whether or not link tags with media='print' should be included; Over-riden by the
globalStyles
option
stylesheet
- Default:
null
- Acceptable-Values: URL-string
- Function: URL of an external stylesheet to be included
noPrintSelector
- Default:
".no-print"
- Acceptable-Values: Any valid
jQuery-selector
- Function: A selector for the items that are to be excluded from printing
iframe
- Default:
true
, creates a hidden iframe if no-vaild iframe selector is passed - Acceptable-Values: Any valid
jQuery-selector
or Boolean - Function: Whether to print from an iframe instead of a pop-up window; can take the
jQuery-selector
of an existing iframe as value
append/prepend
- Default:
null
- Acceptable-Values: Any valid
jQuery-selector
or HTML-text - Function: Adds custom HTML before (prepend) or after (append) the selected content
manuallyCopyFormValues
- Default:
true
- Acceptable-Values: Boolean
- Function: Should it copy user-updated form input values onto the printed markup (this is done by manually iterating over each form element)
deferred
- Default:
$.Deferred()
- Acceptable-Values: Any valid
jQuery.Deferred
object - Function: A jQuery.Deferred object that is resolved once the print function is called. Can be used to setup callbacks - see wiki
timeout
- Default:
750
- Acceptable-Values: Time in Milliseconds for
setTimeout
- Function: To change the amount of max time to wait for the content, etc to load before printing the element from the new window/iframe created, as a fallback if the
load
event for the new window/iframe has not fired yet
title
- Default:
null
, uses the host page title - Acceptable-Values: Any single-line string
- Function: To change the printed title
doctype
- Default:
'<!doctype html>'
- Acceptable-Values: Any valid doctype string
- Function: To prepend a doctype to the printed document frame
Tested with
jQuery
Browsers
- Google Chrome - v 20, 26, 48, 55
- Internet Explorer - v 10, 11
- Firefox - v 35
License
Demo
Like our work? Get in touch!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].