croix-navigateur de la commande d'impression?

je veux savoir si il y a de la croix-navigateur d'impression de code, qui est si j'ai besoin des autres, puis tout simple:

//print page
    $('.print').click(function() {
        window.print();
        return false;
    });

je n'ai trouvé pour le signet et c'est pourquoi j'étais plus préoccupé par l'impression de trop, mais ne pouvais pas trouver quelque chose d'utile sur google.

code suivant signet de la croix-navigateur

//bookmark page
$("a.bookmark").click(function(e)
{
    e.preventDefault(); //this will prevent the anchor tag from going the user off to the link
    var bookmarkUrl = this.href;
    var bookmarkTitle = this.title;

    if (window.sidebar) { //For Mozilla Firefox Bookmark
        window.sidebar.addPanel(bookmarkTitle, bookmarkUrl,"");
    } else if( window.external || document.all) { //For IE Favorite
        window.external.AddFavorite( bookmarkUrl, bookmarkTitle);
    } else if(window.opera) { //For Opera Browsers
        $("a.jQueryBookmark").attr("href",bookmarkUrl);
        $("a.jQueryBookmark").attr("title",bookmarkTitle);
        $("a.jQueryBookmark").attr("rel","sidebar");
    } else { //for other browsers which does not support
        alert('Your browser does not support this bookmark action');
        return false;
    }
});
InformationsquelleAutor Basit | 2011-09-18