jQuery Plugin – Pace
在很多年以前,大家一定都看過整個利用Flash來完成的網頁,因為這樣的網頁檔案會比較大一些,所以在進入時總會有個讀取進度的畫面來讓人判斷目前頁面讀取了多少,但在如今行動裝置處處皆是的狀況之下,全Flash的頁面已經不符合現代人的閱讀需求了,所以現在流行的「單頁式網頁」就僅僅是利用HTML、CSS、javascript…等前端網頁語法來完成的,但如果希望網頁檔案漂亮,又要符合RWD(自適應網頁設計),就還是有可能會讓整個網頁載入的檔案變得比較大一些,今天就跟大家來分享一個jQuery的外掛,這個外掛可以很方便地幫我們在這樣的頁面上加上載入進度,而且不用寫任何的程式唷!
這個外掛的名稱是Pace,大家可以先到他的官方網頁(備用載點)上面去下載所需要的PACE.JS和CSS,而CSS的部分主要是拿來決定載入進度的外觀,官網大概提供了14種樣式的CSS讓我們使用。
下載完成後只需要將CSS和JS引用進我們的網頁即可,比較需要注意的是因為這是網頁載入進度,所以最後須要把網頁上傳到網路空間之後,才可以比較正確的看到讀取的效果。
<script type="text/javascript" src="pace.min.js"></script> <link rel="stylesheet" type="text/css" href="pace.css"/>
參考馬老師製作的範例網頁
Куда съездить отдохнуть? – https://pjmommy.com/pages/faqs
Thanks for making the trustworthy attempt to explain this. I feel very sturdy approximately it and wish to be informed more. If it’s OK, as you reach extra intensive knowledge, would you thoughts adding extra posts very similar to this one with additional info? It might be extremely helpful and helpful for me and my colleagues.
Куда съездить отдохнуть? – http://www.fastdrinkrecipes.com/page/2/
Куда съездить отдохнуть? – http://essoafrojamfunkbeat.com/2015/01/13/chocolate-bacon/
Куда съездить отдохнуть? – https://canadawaterchurch.com/the-evolving-market-for-herbal-supplements-and-medicines/
Куда съездить отдохнуть? – https://thejussruss.com/aboutus/
Куда съездить отдохнуть? – http://detroitconference.org/2015/02/05/pre-valentines-day-treats/
very good post, i certainly really like this website, carry on it
Куда съездить отдохнуть? – http://www.fastdrinkrecipes.com/increasing-demand-for-cross-platform-mobile-app-development/
Куда съездить отдохнуть? – http://essoafrojamfunkbeat.com/2015/01/07/paleo-snacking/
When I originally commented I clicked the -Notify me when new comments are added- checkbox now if a comment is added I get four emails concentrating on the same comment. Will there be any way you may remove me from that service? Thanks!
Куда съездить отдохнуть? – https://thejussruss.com/testimonials/
Куда съездить отдохнуть? – https://yothyarns.com/PRODUCT/5thWaveSocMedOnslaught/index.html
Куда съездить отдохнуть? – http://wheatgrasssaloon.com/tag/lentil-underground/
You’re so interesting! I do not think I’ve read a single thing like this before. So good to find someone with a few genuine thoughts on this subject matter. Really.. thanks for starting this up. This website is one thing that’s needed on the internet, someone with a little originality.
Куда съездить отдохнуть? – https://tap4j.org/products/dvd-ripper/dvd-ripper-to-3gp-video-format.html
Куда съездить отдохнуть? – http://www.dollarlanai.com/pages/contact.php
лечение алкоголизма на дому лечение алкоголизма на дому .
Thanks for another informative website. Where else could I get that kind of info written in such an ideal way? I have a project that I’m just now working on, and I have been on the look out for such info.
https://lisinoprilus.com/# lisinopril 30 mg price
Researchers are dedicated to further exploring the fascinating realm of color and its impression on human psychology.
There is noticeably a lot of money to know about this. I suppose you’ve made particular nice points in functions also.
I was able to find good advice from your blog articles.
Куда съездить отдохнуть? – http://wheatgrasssaloon.com/category/4th-thursdays/
Hi friends! Remember that you’re valued of compassion and inclusion. You’re adored just as you are.
Hi, I think your site could be having browser compatibility problems. When I look at your blog in Safari, it looks fine however when opening in IE, it’s got some overlapping issues. I simply wanted to give you a quick heads up! Aside from that, excellent blog!
Куда съездить отдохнуть? – https://tap4j.org/products/dvd-ripper/dvd-ripper-to-ipod-video-format.html
Climate change might have lent a hand in forming or shaping migratory patterns, nevertheless it was not the primary pressure.
Louisiana presents schooling assistance to surviving spouses of deceased veterans in addition to youngsters of 90 or higher disabled veterans and children of 100 disabled and unemployable veterans.
Right this moment, just a few web websites (see my separate article about game sites) supply a modern and I feel much improved option.