-
Book Overview & Buying
-
Table Of Contents
Oracle APEX Cookbook : Second Edition
HTML5 and CSS3 offer more possibilities regarding item types. Some of those item types are suitable for smartphone applications as well.
This recipe will explain how to use some of these item types.
Make sure that a jQuery Mobile Smartphone application with a form is available. For this recipe we will assume that we use the application from the recipe Creating a mobile form, based on the EMP and DEPT tables.
We will change one of the items on the form page, to become a slider item. This type of item is often used on smartphone applications, because it can easily be used with a touch screen.
The item shows a bar with different values, that can be changed by sliding along that bar.
Open Page 2 of the application.
Under the Edit Employee region, right-click on the P2_COMM item and click on Edit.
In Display As change the value to Slider.
Scroll down to Settings.
Change Minimum Value to 0.
Change Maximum Value to 1000.
Change Step Increment to 100.
Click...
Change the font size
Change margin width
Change background colour