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"/>
參考馬老師製作的範例網頁
In this grand pattern of things you’ll get an A just for hard work. Exactly where you confused me personally was first on your specifics. As people say, the devil is in the details… And that could not be more accurate here. Having said that, permit me say to you precisely what did deliver the results. Your text is actually highly engaging and that is probably why I am making an effort to comment. I do not make it a regular habit of doing that. Second, although I can easily see the leaps in reason you come up with, I am not convinced of exactly how you seem to connect your details which help to make the conclusion. For now I will yield to your position however wish in the foreseeable future you link your facts much better.
Having read this I believed it was rather informative. I appreciate you finding the time and effort to put this information together. I once again find myself personally spending a lot of time both reading and posting comments. But so what, it was still worth it!
An outstanding share! I have just forwarded this onto a colleague who had been conducting a little research on this. And he actually ordered me lunch simply because I stumbled upon it for him… lol. So allow me to reword this…. Thank YOU for the meal!! But yeah, thanx for spending time to talk about this topic here on your web site.
my voice sucks on karaoke that is why i am taking sining lessons now from professionals*
Some times its a pain in the ass to read what people wrote but this site is very user pleasant!
Can I simply just say what a comfort to uncover somebody that actually understands what they’re talking about on the web. You definitely understand how to bring a problem to light and make it important. More and more people have to read this and understand this side of the story. I was surprised that you’re not more popular since you certainly possess the gift.
https://1win.directory/# 1win
Everything is very open with a clear description of the challenges. It was definitely informative. Your site is useful. Thank you for sharing!
i love to listen on audiobooks while travelling on a bus, i could learn a lot from it while travelling’
You can also put a chatbox on your blog for more interactivity among readers.*.,”,
Very nice article. I definitely love this website. Stick with it!
вавада казино: вавада зеркало – вавада рабочее зеркало
After I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get 4 emails with the exact same comment. Is there an easy method you can remove me from that service? Thanks.
Thanks a lot for providing individuals with an exceptionally wonderful opportunity to read in detail from this website. It’s always so pleasurable and full of a good time for me personally and my office colleagues to search the blog particularly thrice weekly to study the new items you will have. And of course, we’re at all times pleased with your stunning tactics you give. Selected two areas in this article are undeniably the most efficient we have ever had.
1xbet официальный сайт мобильная версия 1xbet официальный сайт мобильная версия 1хбет
Thank you for the sensible critique. Me & my cousin were just preparing to do some research on this. We got a book from our local library but I think I learned better from this post. I’m very glad to see such great info being shared freely out there…
пин ап: pin up казино – пинап казино
Oh my goodness! Awesome article dude! Many thanks, However I am experiencing problems with your RSS. I don’t know why I can’t subscribe to it. Is there anyone else getting similar RSS problems? Anyone that knows the solution will you kindly respond? Thanx!!
1вин официальный сайт: 1вин официальный сайт – ван вин
Very good post! We will be linking to this great article on our website. Keep up the great writing.
Heya this is a excellent write-up. I’m going to email this to my associates. I came on this while searching on aol I’ll be sure to come back. thanks for sharing.
I really like looking through an article that can make men and women think. Also, many thanks for allowing for me to comment.
pin up казино: пин ап казино вход – pin up casino
https://1xbet.contact/# 1хбет
1вин сайт 1win зеркало 1вин сайт
I am glad to be a visitant of this pure weblog ! , thanks for this rare information! .
pin up казино: pin up – пин ап казино
This is a really great blog your have here but I had some questions about advertising on your site. So if you could reply to this post with a contact email, that would be great.
https://vavada.auction/# вавада казино
pin up казино: пин ап казино вход – pin up казино