Creating Confirm Boxes and Progress Bars with the Ext JS Library
Welcome to the second article in a five-part series that shows you how to build cool message windows with the Ext JS library. In this article you will learn how to build a professional-looking progress bar and an improved confirm box. You'll find that constructing these user interface components with this library is quite easy.
Creating Confirm Boxes and Progress Bars with the Ext JS Library - Review: creating simple prompt and confirm boxes using the Ext JS library (Page 2 of 4 )
Before we dive in, let's briefly review some of the examples coded in the preceding tutorial, where we constructed single and multi-line prompt windows and basic confirm boxes.
Here are the code samples that show how to create the aforementioned windows using the Ext JS package, along with their corresponding complementary images:
(example in building a confirm box)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Well, after studying in detail all of the above examples, it's quite possible that you've recalled how to use the methods provided by the Ext JS library to build a couple of single and multi-line prompt windows, as well as a basic confirm box. As you can see, all of these message boxes indeed look very professional and can be constructed with minor efforts.
So far, I've taught you how to build simple confirm windows that include two typical buttons, labeled "Yes" and "No" respectively. However, it's also extremely easy to create a similar box that contains an additional "Cancel" button.
That will be precisely the topic that I'll discuss in the section to come, so please click on the link below and keep reading.