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"/>
參考馬老師製作的範例網頁
cytotec online: buy cytotec pills – buy cytotec over the counter
https://lisinopril.club/# how to buy lisinopril
https://propeciaf.online/# buy cheap propecia without insurance
http://lisinopril.club/# zestril 10 mg online
buy cytotec online: order cytotec online – buy cytotec online fast delivery
where buy cheap clomid pill can you buy generic clomid pill can you buy generic clomid without a prescription
order generic propecia without dr prescription: buy cheap propecia without a prescription – cost of cheap propecia online
https://gabapentin.club/# order neurontin online
https://clomiphene.shop/# where to buy clomid without dr prescription
can i purchase cheap clomid no prescription: order clomid no prescription – buy generic clomid prices
can i get cheap clomid prices: cheap clomid without dr prescription – how to get clomid without a prescription
cytotec pills buy online: buy cytotec over the counter – buy cytotec online fast delivery
lisinopril 10 12.5 mg tablets lisinopril generic over the counter order cheap lisinopril
buy cytotec over the counter: cytotec online – cytotec buy online usa
where to buy cheap clomid without prescription: cost clomid no prescription – can i order cheap clomid without rx
http://cytotec.xyz/# Abortion pills online
cheap propecia without rx: buy generic propecia prices – cost propecia tablets
https://propeciaf.online/# buying propecia
cost of propecia without insurance propecia order get generic propecia
how to get cheap clomid: get cheap clomid online – where buy generic clomid for sale
buy cytotec pills online cheap: Misoprostol 200 mg buy online – buy cytotec over the counter
https://cytotec.xyz/# purchase cytotec
http://cytotec.xyz/# Abortion pills online
buy misoprostol over the counter: Abortion pills online – order cytotec online
http://lisinopril.club/# lisinopril online usa
mexico pharmacies prescription drugs: buying from online mexican pharmacy – mexican drugstore online
mexican rx online: mexican online pharmacies prescription drugs – pharmacies in mexico that ship to usa
buying prescription drugs in mexico online: best online pharmacies in mexico – mexico drug stores pharmacies
mexican rx online: п»їbest mexican online pharmacies – п»їbest mexican online pharmacies
https://mexicanpharmacy1st.online/# mexico drug stores pharmacies