// ----------------------------------------------------------------------- // eros@recoding.it // jqprint 0.3 // // - 19/06/2009 - some new implementations, added Opera support // - 11/05/2009 - first sketch // // Printing plug-in for jQuery, evolution of jPrintArea: http://plugins.jquery.com/project/jPrintArea // requires jQuery 1.3.x //------------------------------------------------------------------------ (function(jQuery) { var opt; jQuery.fn.jqprint = function (options) { opt = jQuery.extend({}, jQuery.fn.jqprint.defaults, options); var jQueryelement = (this instanceof jQuery) ? this : jQuery(this); if (opt.operaSupport && jQuery.browser.opera) { var tab = window.open("","jqPrint-preview"); tab.document.open(); var doc = tab.document; } else { var jQueryiframe = jQuery("