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"/>
參考馬老師製作的範例網頁
You are so interesting! I don’t believe I’ve truly read through a single thing like this before. So wonderful to discover somebody with some unique thoughts on this subject matter. Really.. thanks for starting this up. This site is one thing that’s needed on the internet, someone with a little originality.
mexican border pharmacies shipping to usa: medicine in mexico pharmacies – purple pharmacy mexico price list
Spot on with this write-up, I seriously believe that this web site needs a great deal more attention. I’ll probably be returning to see more, thanks for the info.
https://easyrxindia.com/# best india pharmacy
pharmacies in canada that ship to the us canadian pharmacy ltd canada pharmacy 24h
https://mexstarpharma.com/# purple pharmacy mexico price list
Wonderful article! We are linking to this particularly great content on our website. Keep up the great writing.
https://easyrxcanada.com/# reputable canadian pharmacy
https://mexstarpharma.online/# mexico drug stores pharmacies
canadapharmacyonline com the canadian pharmacy canada drug pharmacy
canadian pharmacy tampa: northwest pharmacy canada – www canadianonlinepharmacy
cheapest online pharmacy india buy prescription drugs from india top 10 pharmacies in india
An intriguing discussion is worth comment. I believe that you need to write more about this issue, it may not be a taboo subject but typically folks don’t speak about these issues. To the next! All the best!
Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is excellent, let alone the content!
I seriously love your website.. Pleasant colors & theme. Did you make this amazing site yourself? Please reply back as I’m planning to create my very own site and would like to know where you got this from or just what the theme is named. Thank you!
There is certainly a great deal to learn about this issue. I really like all of the points you have made.
Generally I don’t read article on blogs, but I would like to say that this write-up very forced me to try and do so! Your writing style has been amazed me. Thanks, very nice article.
Good post. I learn something new and challenging on websites I stumbleupon on a daily basis. It’s always useful to read articles from other authors and practice something from other websites.
F*ckin? amazing issues here. I?m very glad to see your post. Thank you a lot and i’m having a look ahead to touch you. Will you please drop me a mail?
Great post. I am going through some of these issues as well..
Way cool! Some very valid points! I appreciate you penning this write-up and also the rest of the site is also very good.
Good blog you’ve got here.. It’s hard to find high quality writing like yours these days. I honestly appreciate people like you! Take care!!
Sex
You need to take part in a contest for one of the greatest websites online. I’m going to highly recommend this site!
I appreciate your perspective on this issue.프라그마틱
After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I receive 4 emails with the same comment. Perhaps there is an easy method you can remove me from that service? Kudos.
Scam
Porn site
buy cytotec over the counter: cheapest cytotec – buy cytotec over the counter
This blog was… how do you say it? Relevant!! Finally I’ve found something that helped me. Thanks!