
473
ADOBE GOLIVE CS2
User Guide
As you add form elements to i-mode pages, keep the following tips in mind:
•
Set the visible attribute of text fields to fit within the phone’s screen. Usually it’s safe to set the visible attribute to 15.
•
For form text fields, add the i-style attribute to specify the allowed input type, rather than relying on your users to
change it on their phones. You can quickly set the i-style attribute in the Outline Editor by choosing it from the
<input> tag’s attribute pop-up menu. Japanese is the default when you don’t choose a specific istyle. Set istyle to 1
for full-width Japanese Kana. Set istyle to 2 for half-width Japanese Kana. Set istyle to 3 for half-width roman
alphanumeric characters (English). Set istyle to 4 for half-width roman numeric characters (English).
•
To allow users to quickly select an option using their keypads, set the access option in the Inspector for that
element. Generally you’ll set a number from 1 to 9. Also remember to label the option with the access key number.
See also
“About web forms” on page 411
“Types of form buttons and check boxes” on page 412
WML
About WML
WML (Wireless Markup Language) is a markup language for displaying information on wireless devices, such as
mobile phones.
WML is based on a hierarchy of decks and cards. A deck is the container element for a WML document and is made
up of a series of cards. A deck of cards is downloaded to the user’s phone all at once. Cards can contain text, images,
user input elements, and WML-specific elements that allow navigation and handle user events (such as a user
pressing a key on the device).
The document window for a WML deck has three views. Use Layout view to design a WML deck. Use Source view
to view WML code in a text editor. Use Outline view to view the structure of a deck in a hierarchical format.
To enable the WML module
You must enable the WML module before you can author in WML. When you enable the module, you’ll see the
WML Elements set in the objects toolbox.
1
Choose Edit > Preferences (Windows) or GoLive > Preferences (Mac OS).
2
Display the Modules section of the Preferences dialog box, and select WML in the Extend Scripts folder.
3
Restart GoLive.
To create a new WML deck
Decks are the container element for a WML document. When you create a deck, GoLive automatically specifies a
document type definition (DTD) for the deck. By default, the DTD version is 1.3; however, you can also specify DTD
version 1.1 and 1.2.
❖
Choose File > New, and then select Mobile > Pages > WML Deck.
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...