內容簡介
許多瀏覽器在載入 print.css 前都不會顯示您的網頁。Delay Print CSS 外掛可以防止此情況發生。當您的網頁完全渲染(包括 JavaScript、圖像等)後,便會載入列印風格表。
本外掛建議您使用最近一篇部落格文章中介紹的方法,使用 JavaScript 以及非 JavaScript 的後備方案,最後再載入樣式表。
如果您的 WordPress 網站使用 jQuery,則此外掛程式會使用 jQuery 進行樣式表的載入;反之,外掛程式會使用自己的 JavaScript。
外掛標籤
開發者團隊
原文外掛簡介
Many browsers will not render your webpage until the print.css is loaded. Delay Print CSS prevents this from happening. Once your page has fully rendered (including JavaScript, images, etc) your print stylesheets will be loaded.
Using the methods described in a recent blog post this plugin uses JavaScript, with a non JavaScript fallback, to load your stylesheets last.
If your WordPress site uses jQuery then it is used to load the stylesheets, otherwise the plugin outputs its own JavaScript.
