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"/>
參考馬老師製作的範例網頁
tarif viagra viagra gГ©nГ©rique prix pharmacie oГ№ se procurer du viagra comment prescrire viagra
online ed medications erectile dysfunction pills
https://buynolvadex.store/# tamoxifen buy
tamoxifen alternatives tamoxifen premenopausal
order clopidogrel 75mg generic – methotrexate 2.5mg ca reglan us
cheap lipitor generic how much is lipitor discount
https://buytadalafil.men/# canadian pharmacy tadalafil
metformin medicine 494829 metformin
https://buylasix.icu/# lasix medication
lasix 100 mg furosemide
propecia and viagra blue sky peptide tadalafil can you buy viagra over counter what is the best time to take cialis
alternatives to propecia propecia online price propecia use in females for hair loss how to reover sperm count from propecia
http://hydroxychloroquinex.com/ hydroxychloroquine online canada
cyclobenzaprine 15mg cheap – flexeril 15mg generic inderal 10mg brand
https://buylipitor.store/# lipitor for sale
lipitor 10mg price singapore lipitor 80 mg price
cialis thailand cialis canada best time to take cialis daily how long does viagra take to kick in
buy isotretinoin 20mg generic – buy accutane pills buy tetracycline 500mg generic
https://zithromaxforsale.shop/# zithromax buy online no prescription
prednisone coupon cheap prednisone 20 mg
hydroxychloroquine 200mg for arthritis pain buy hydroxychloroquine sulfate online generic hydroxychloroquine otc
40mg doxycycline online doxylin
where can i buy amoxocillin how to get amoxicillin over the counter
hydroxychloroquine sulfate 200mg hydroxychloroquine where to buy online
provigil 100mg cost – order prednisone 10mg online order rhinocort pills
I keep listening to the rumor speak about receiving boundless online grant applications so I have been looking around for the top site to get one. Could you tell me please, where could i find some?
zithromax 500 without prescription buy zithromax
viagra price viagra over the counter
neurontin for ocd neurontin 100mg cost neurontin for shingles nerve pain when will gabapentin become a controlled substance
Nice read, I just passed this onto a colleague who was doing some research on that. And he actually bought me lunch because I found it for him smile Thus let me rephrase that: Thanks for lunch! “The future is not something we enter. The future is something we create.” by Leonard I. Sweet.