Icon

The Icon element allows the developer to specify a 16×16-pixel thumbnail to be associated with the gadget. Icons usually appear beside the gadget’s title in the context of a gadget gallery. The content of the Icon element can be either a URL to a web-based image or inline base64-encoded image data.

Icon may take the following form:

<ModulePrefs>
    <Icon>http://www.mysite.com/favicon.ico</Icon>
</ModulePrefs>

Table 3-3 lists the attributes available to you when specifying an Icon. Both are optional.

Table 3-3. Icon attributes

Attribute

Description

mode

The encoding you use for the image when embedding it. Only base64 is currently supported.

type

The MIME type of the embedded icon text.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.255.187