Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
jQuery UI 1.7: The User Interface Library for jQuery

You're reading from   jQuery UI 1.7: The User Interface Library for jQuery Build highly interactive web applications with ready-to-use widgets from the jQuery User Interface library

Arrow left icon
Product type Paperback
Published in Nov 2009
Publisher Packt
ISBN-13 9781847199720
Length 392 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (19) Chapters Close

jQuery UI 1.7
Credits
About the Author
About the Reviewers
Preface
1. Introducing jQuery UI FREE CHAPTER 2. The CSS Framework 3. Tabs 4. The Accordion Widget 5. The Dialog 6. Slider 7. Datepicker 8. Progressbar 9. Drag and Drop 10. Resizing 11. Selecting 12. Sorting 13. UI Effects Index

Rich uploads with progressbar


Instead of relying on user interaction to increase the value of the progressbar and therefore the completion of the specified task, we can instead rely on the system to update it; deterministic means simply that something must be able to update it accurately.

In our final progressbar example we can incorporate the brand-new HTML5 file API in order to upload a file asynchronously, and can use Firefox's propriety onprogress event to update the progressbar while the file is uploading. This example will only work in Firefox 3+ at the time of writing, although hopefully more browsers will make use of both the file API and the onprogress event in the future.

This example will also only work correctly using a full web server with PHP installed and configured. We won't be looking at the server side of the upload process in this example, we're not interested in what happens to the file once it's been uploaded, only in updating the progressbar based on feedback received...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
jQuery UI 1.7: The User Interface Library for jQuery
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime
Modal Close icon
Modal Close icon