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"/>
參考馬老師製作的範例網頁
Pornstar
An outstanding share! I’ve just forwarded this onto a co-worker who was doing a little homework on this. And he actually bought me breakfast because I stumbled upon it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanks for spending time to discuss this issue here on your site.
Buy Drugs
Sex
Porn site
Viagra
Porn
Thanks for your article. It is unfortunate that over the last ten years, the travel industry has had to fight terrorism, SARS, tsunamis, bird flu virus, swine flu, and also the first ever true global economic depression. Through all this the industry has really proven to be effective, resilient and dynamic, getting new approaches to deal with adversity. There are generally fresh difficulties and opportunity to which the market must once again adapt and respond.
Superb site you have here but I was wondering if you knew of any message boards that cover the same topics talked about here? I’d really love to be a part of community where I can get responses from other knowledgeable people that share the same interest. If you have any recommendations, please let me know. Cheers!
I’m really enjoying the design and layout of your site. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme? Outstanding work!
Good information. Lucky me I found your website by chance (stumbleupon). I’ve saved it for later!
Tel Bond Shekel-50 Index the Index consists of the company bonds of the 50 largest companies having an attachment to Israel, that are included in the Tel Bond-Shekel Index.
This data was wri tt en by GSA Content Generator DE MO.
In January 2015, Oppenheimer & Co.
Can I simply just say what a relief to find a person that truly knows what they are discussing online. You definitely understand how to bring a problem to light and make it important. A lot more people really need to check this out and understand this side of the story. I was surprised you aren’t more popular because you surely have the gift.
Roosevelt entered the convention with a delegate lead as a result of his success in the 1932 Democratic primaries, however most delegates entered the convention unbound to any specific candidate.
Baraniuk, Chris (three July 2019).
It is an axiom of some determination theories that when new alternatives are added to a decision problem, the ranking of the old alternate options must not change – that “rank reversal” should not occur.
Hi, I do believe this is an excellent blog. I stumbledupon it 😉 I am going to return once again since i have book-marked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.
The transportation of uncooked timber via floating down the Ottawa River was proved attainable in 1806 by Philemon Wright.
On 22 December 2013, the Toronto Transit Fee suspended streetcar services for many of the day because of thick ice on the overhead wires.
That is a great tip particularly to those fresh to the blogosphere. Simple but very precise info… Many thanks for sharing this one. A must read post!
Efficiency exhausts are able to offer this energy increase because they’re less restrictive than inventory exhausts.
Faced with funds falling $95 million short (at one time the shortfall climbed to as a lot as $167 million) and threatened with bankruptcy, the organizers of the world’s largest athletic competition began canceling Olympic events, and slicing journey and promotional budgets.
On 19 June 2018, one hundred employees from the company’s head office were made redundant.
Wane, Joanna. “NZ’s Women in Power: Where are they now?”.
Home windows Vista Business, Home windows Vista Enterprise, and Windows Vista Final additionally include Windows Complete Laptop Backup that enables system images to be created, and this function will be began from Home windows Vista installation media in order that images will be restored to a brand new onerous disk or new hardware or if a Pc has skilled hardware failures and it cannot boot.
It comprises three computer labs, Marist Institute for Public Opinion, nine classrooms, six seminar rooms and a buying and selling room for the business college.
I have learned new things via your blog. One other thing I’d like to say is that newer computer system os’s often allow more memory for use, but they in addition demand more memory simply to function. If people’s computer can’t handle additional memory as well as the newest software program requires that ram increase, it may be the time to buy a new Computer. Thanks
Excellent site you have got here.. It’s hard to find good quality writing like yours nowadays. I truly appreciate people like you! Take care!!