![]()
“); } else { var imgwidth = $(this).width(); $(this).wrap(“”); } $(this).parent().append(“” + alttext + “”);
}
});
jQuery(document).bind(“keyup keydown”, function (e) {
if (e.ctrlKey && e.keyCode == 80) {
printNews();
return false;
}
});
});
var printSayi = 0;
function printNews() {
printSayi++;
if (printSayi % 2 == 1) {
$(‘.donotprint’).hide();
$(‘.print’).print({
globalStyles: true,
mediaPrint: false,
stylesheet: null,
noPrintSelector: “.no-print”,
iframe: true,
append: null,
prepend: null,
manuallyCopyFormValues: false,
deferred: $.Deferred(),
timeout: 250
});
$(‘.donotprint’).show();
}
}
