BEA WebLogic User Manual page 111

Mobility server
Hide thumbs Also See for WebLogic:
Table of Contents

Advertisement

Define a Logo
Use the following tag to define a logo:
<mm-logo id="name" displaymode="once" period="2">
where "name" is unique identifier for your logo.
Within this tag, insert the code for the image:
<img src="image.location"/>
where "image.location" is the location on the server of the image.
Complete the element with the closing tag:
</mm-logo>
Set the Displaymode and Period Attributes
Example 1: The author wants a logo displayed "once per session" and for a period
of two seconds.
The author indicates that this logo should be displayed once per session by adding the attribute
to the
displaymode="once"
the attribute period="2", where the integer represents the number of seconds that the logo will be
displayed.
<mm-logo displaymode="once" period="2">
<img src="img/logo.wbmp" alt="logo"/>
</mm-logo>
Example 2: The author wants a logo displayed always and for a period of three
seconds.
The author indicates that this logo should be displayed always (each time the page is requested)
by adding the attribute
logo is indicated by adding the attribute
seconds that the logo will be displayed for.
<mm-logo displaymode="always" period="3">
<img src="img/logo.wbmp" alt="logo"/>
</mm-logo>
Deliver Different Image Formats with <mm:logo>
Several WAP devices support the display of color images such as GIFs. Through use of the
and
<mm:media-group>
deliver color images to these devices whilst delivering monochrome images to others. For
instance:
<mm:logo displaymode="once" period="3">
<mm:media-group alt="">
<mm:img where="ImgGIFSupported" src="myimage.gif" alt="Logo" />
<mm:img where="ImgWBMPSupported" src="myimage.wbmp" alt="Logo" />
</mm:media-group>
</mm:logo>
tag. The display period of the logo is indicated by adding
<mm-logo>
displaymode="always"
period="3",
tags, you can enhance the functionality of
<mm:img>
Part IV Presentation of Mobile Content
to the
tag. The display period of the
<mm-logo>
where the integer represents the number of
BEA WebLogic Mobility Server User Guide - 107
to
<mm:logo>

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic and is the answer not in the manual?

This manual is also suitable for:

Weblogic mobility server

Table of Contents