|
|
|
|
|
|
Linux Hosting NT/2000 Hosting DYO Internet Access HTMLez.com PHPez.com ASPez.com
|
OverviewThis example demonstrates layering, a tabbed index, a changed cursor, setting up and capturing keypress and tab events, and changing views using the innerHTML method.This TabIndex structure can be built with the code shown in the
The first part of the code in the HTML code sets up the Tab Indexes. Each index has an id value, a tabindex value greater than 0 to place it higher in the browser's hierarchy. The accesskey defines the tab location and the keypress to capture. When tabbed to or the appropriate key pressed while also pressing the alt key and pressing the return key to switch sections to view. The disp function is called when clicked. The last part of this HTML code contains the display division. Following the display division are the section divisions. This is then followed by the javascript code to hide these section divisions. Code the Style SectionCode the Javascript SectionCode the HTML Section
Style stuff...
Javascript stuff...
Html stuff...
|
|||||||||||||||||