Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads | All Downloads

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Swish Templates
   SWiSH Climax
   GimpTalk
   Idea Designs
   Sposatoettore
   Try Acai Berry Diet
   Download Free Ringtones
   Swishzone

Manage your site with Flax Article Content Management System
Navigate through a mailform
Category : SWiSHMax | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

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,

cool.gif


All rights reserved - swish-db.com