-
Book Overview & Buying
-
Table Of Contents
Oracle Application Express 4.0 with Ext JS
By :
In this chapter we have spent time familiarizing ourselves with some of the underlying concepts and functionality Ext provides for manipulating the Document Object Model (DOM).
By using simple standalone testing pages, we have done isolated testing without worrying about interaction with APEX, or trying to build end solutions. Using the Firebug Console, HTML, and DOM tabs, we have executed Ext code snippets and inspected the results both in the browser and within Firebug.
We have investigated the Ext.Element component, exploring how it allows us to easily manipulate and navigate the DOM. We have used CSS3 selectors provided by Ext.DomQuery to retrieve elements of interest, and then modified them by using the Ext.Element API to add and remove classes, attach event handlers, and add or remove elements around them.
We have explored more advanced event techniques such as delegation and one-off events, as well as modern JavaScript programming concepts such as object notation and the need...
Change the font size
Change margin width
Change background colour