Genie 7110 manual Nokia Im ag e Suppor t, Mitsubishi Trium Imag e Suppor t

Models: 7110

1 84
Download 84 pages 46.18 Kb
Page 70
Image 70
Nokia Im ag e Suppor t

12 Icons and Images

Images can be included in an <option> element, if the extension DTD is being used.

This will allow an icon to be displayed on the same line as a menu item.

Example 12-1

<option onpick="my_url"><img localsrc="envelope" src="" alt=""/>Email</option>

Example 12-1shows how to embed an image inline with a menu item. In this case, an envelope is displayed before the text (￿ Email).

When delivering a deck that calls images, consider the use of a digest so that the image is displayed when the card has finished loading.

This will load the deck and image simultaneously. The maximum digest size must be less than the MAX PDU, which is device specific but is approximately 2000 bytes.

This technique is also useful for pre-loading images that will be needed later in an application as the images are put into the cache of the handset.

Nokia Im ag e Suppor t

The maximum display size for an image is 96 x 44 pixels.

Images are centred and displayed with nothing else on the line.

Images wider than 96 pixels are left aligned and cropped on the right. Images longer than 44 pixels are sometimes scrollable, depending on the other content of the card. A link immediately below a tall picture can mean that it is not possible to see all of the picture.

6210/6250 handsets (and the 7110 with a browser model 5.00 or later) left align the image rather than centring it.

Mitsubishi Trium Imag e Suppor t

Images can be displayed inline (along with text or a link).

Example 12-2

<img src="envelope.wbmp" alt=""/>Email</option>

Example 12-2shows how to embed an image inline with a menu item. In this case, the envelope.wbmp is displayed before the text (￿ Email).

Ensure that the alt tag deck has meaning when image support is disabled by the user.

The alt text will show in angle brackets – for example <test>

The gif image format is supported.

66 Genie Application Style Guide

February 2001

Page 70
Image 70
Genie 7110 manual Nokia Im ag e Suppor t, Mitsubishi Trium Imag e Suppor t