|
|
 |
|
|
|
|
|
Hi,
This is a very small tutorial on how to navigate very easy through a mailform. For example you have a mailform and you wish that the visitors are filling in the fields in a certain way.
With this tutorial who might be very handy, the visitors do not need to use the mouse anymore to jump from one field (inputbox) to another. They can easily use the TAB key on their keyboard and YOU can chose HOW they navigate through the mailform.
Everything has to do with the tabindex property. You can do the same with a sprite or a button.
See a very small example of what I mean :
onLoad() { obj1.tabIndex = 1; obj2.tabIndex = 2; obj3.tabIndex = 3; obj4.tabIndex = 4; obj5.tabIndex = 5; obj6.tabIndex = 6; obj7.tabIndex = 7; obj8.tabIndex = 8; }
This code above determines the order. So obj1 will first be "active" after a click on the tab key and they obj2 and so on..
I placed all my objects (inputboxes) through each other and you'll see when using the TAB key, the cursor will jump to the inputbox that is indicated in the script.
Export your SWF6 !
this is a working example
click on one inputbox and then use the TAB key. The cursor will automatically jump to the following number. If you click on number 4 and then use the tab key, the cursor will jump to 5 and so on...
Here is the SWI
I hope it is clear for everyone. Enjoy it,
|
|
|
|