Webmaster's Guide to the Wireless Internet part 31

Webmaster's Guide to the Wireless Internet part 31. The Webmaster’s Guide to the Wireless Internet provides the Wireless Webmaster with all of the tools necessary to build the next generation Internet. Packed with the essential information they need to design, develop, and secure robust, e-commerce enabled wireless Web sites. This book is written for advanced Webmasters who are experienced with conventional Web site design and are now faced with the challenge of creating sites that fit on the display of a Web enabled phone or PDA | 272 Chapter 6 Web Clipping Figure Selected Date Returns the User to the Datepicker Object Choosing a Date with the Timepicker Object The timepicker is another useful element that is unique to the Web clipping environment. The timepicker is invoked using a syntax very similar to the datepicker Output of this object is always in 24-hour HH MM format but the input of this object may be in 12-hour format depending on the user s preferences accessible via the Formats screen under Prefs . The following sets the 24-hour format input type timepicker name time value hh mm The following sets the 12-hour format input type timepicker name time value hh mm am pm Figure illustrates the timepicker object in action. First the user is presented with a screen containing the specified time in this case 11 30 am or if no time is specified the current time. Figure Timepicker Object with Value Attribute Omitted Web Clipping Chapter 6 273 Upon clicking on the input field the user is presented with a dialog to specify the time. Each field is selected and manipulated with the arrows in the center of the dialog box see Figure . Figure Selecting a Time Once the user selects the new time and presses OK they are returned to the page containing the timepicker object with the selected time displayed see Figure . Figure Selected Time Returns the User to the Timepicker Object If the value attribute is omitted or if the value is not in the expected format the current time will be displayed in the timepicker when the user clicks on it. This being the case it is not necessary for you to overly concern yourself with the user s default preference is 12-hour format so you may want to keep this in mind as you build your application. 274 Chapter 6 Web Clipping The device-specific extensions to Web clipping are quite useful and convenient and come in handy both to reduce development time by eliminating the need to code .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
12    26    1    29-11-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.