Working With Events And Tasks In Wml Decks - Adobe GOLIVE CS2 User Manual

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

To specify image attributes
1
Select an img element in the document window.
In the Img Inspector, set the following attributes:
2
Specifies alternative text for the image. A WML browser displays alternative text when it does not support images
alt
or when the image file cannot be found.
src
Specifies a URL for the image file.
Set the following optional attributes in the Img Inspector:
3
Specifies an image file that is local to (saved on) the wireless device. This image file takes precedence over
localsrc
the image file specified by the src attribute.
vspace and hspace
Specify the amount of white space that you want a WML browser to insert around the image in
pixels or a percentage. Some browsers may ignore this attribute.
Specifies how the image is aligned within a paragraph. Choose Bottom to align the bottom of the image with
align
the current line. Choose Middle to center the image on the current line. Choose Top to align the top of the image
with the current line. Some browsers may ignore these attributes.
Specify the dimensions of the image in pixels or a percentage. Some browsers may ignore these
height and width
attributes.
Specifies the language of the element or its attributes.
xml:lang
To add a prev, refresh, or noop element
Drag the Prev icon, the Refresh icon, or the Noop icon from the WML Elements set in the objects toolbox into the
1
document window. Release the mouse button when the pointer is over the colored area of a do, onevent, or anchor
element.
For prev and refresh elements, add a setvar element to the task.
2
See also
"To set variables or postfield elements in a WML deck" on page 477
To set variables or postfield elements in a WML deck
Drag the Setvar icon or Postfield icon from the WML Elements set in the objects toolbox into the document
window. Release the mouse button when the pointer is over the colored area of a go, prev, or refresh element.
In the Inspector, specify a name and value for the variable or postfield element.

Working with events and tasks in WML decks

Using events in WML decks
When a user performs an action on a wireless device, the WML browser captures the user's input. In technical terms,
the user's action is called an event. You can use events to execute tasks in your WML deck.
ADOBE GOLIVE CS2
477
User Guide

Advertisement

Table of Contents
loading

Table of Contents