Content element
The content element declares the start file used by the BlackBerry® Widget when it runs. If you do not specify a content element, a default start file from within the widget archive is used. The start file can also be a URL to a remote file outside of the BlackBerry Widget archive.
|
Attribute |
Description |
|
src |
The src attribute specifies the source HTML file within the widget archive. This attribute is required. |
|
type |
The type attribute specifies the MIME type for the file referenced in the src attribute. This attribute is optional. |
|
charset |
The charset attribute specifies the character set used by the file identified in the src attribute. This attribute is optional. |
|
Code sample: Specifying a start file | |
|
<content src="startpage.html | |
Post a comment