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"/>
參考馬老師製作的範例網頁
order viagra online 100mg viagra
purchase zanaflex online generic zanaflex does zanaflex show up on drug test what is a zanaflex
I’ve been exploring for a bit for any high quality articles or blog posts on this kind of area . Exploring in Yahoo I at last stumbled upon this site. Reading this info So i am happy to convey that I’ve a very good uncanny feeling I discovered just what I needed. I most certainly will make sure to do not forget this website and give it a glance on a constant basis.
order sildenafil – viagra 100mg usa cialis next day
viagra over the counter walmart sildenafil
hydroxychloroquine online sale hydroxychloroquine 200mg for arthritis pain does hydroxychloroquine require a prescription
buy real viagra online viagra 100mg price
where to buy viagra sildenafil
purchase cenforce for sale – order motilium 10mg pills cost motilium 10mg
hydroxychloroquine otc
cheap viagra online viagra shop
viagra cost per pill viagra from india
kamagra i alkohol purchase kamagra online buy kamagra over the counter kamagra oral jelly where to buy miami
furosemide pill – lasix cheap order doxycycline 200mg without prescription
viagra 100mg price viagra shop
diltiazem sale – zithromax 500mg for sale neurontin 800mg us
viagra pills viagra cost
hydroxychloroquine 200 mg plaquenil 400 mg plaquenil online canada
buy deltasone 20mg pills – buy accutane cheap online buy amoxicillin 250mg without prescription
kamagra jelly online cialis 5mg price best time to take levitra where can you buy viagra
capital priligy dapoxetine uk pharmacy can you be perscribed priligy in us priligy how to buy
where can you buy hydroxychloroquine http://www.hydroxychloroquinex.com/
cialis professional – sildenafil pills 25mg viagra 50mg cheap
meds online without doctor prescription ed meds online without doctor prescription
https://drwithoutdoctorprescription.com/# canadian pharmacy
buy prescription drugs from india ed meds online without doctor prescription
order levothyroxine pill – order synthroid 150mcg online order hydroxychloroquine generic
comfortis for dogs without vet prescription ed drugs online from canada
erythromycin ophthalmic ointment buy erythromycin online
ventolin online buy – buy dapoxetine 30mg pill order priligy pill