Partager via


LOGO element

Obsolete. Specifies an image used to represent a CHANNEL, ITEM, or SOFTPKG element.

Usage

<LOGO
  HREF = "url"
  STYLE = "sStyle"/>

Attributes

Attribute Type Required Description

HREF

url

Yes

URL associated with the channel logo or icon image.

Note  CDF supports only HTTP, HTTPS, and FTP protocols. If a different protocol is used, Internet Explorer will fail to load the logo without notifying the user.
 

STYLE

sStyle

Yes

String value indicating the context in which a logo will be used, as follows:

ICON

This image appears in the Channels Explorer Bar hierarchy and other areas of the Windows namespace, such as when viewing the contents of a folder containing the CDF.

IMAGE

This logo image is placed in the desktop Channel Bar to provide a quick launching mechanism for the main channel page.

IMAGE-WIDE

Wide logos are displayed in the Channels Explorer Bar to provide a link to the main channel page. When clicked, this image will also expand or contract the channel's hierarchy (if one exists) in the Channels Explorer Bar.

Child elements

There are no child elements.

Parent elements

Element

CHANNEL

ITEM

SOFTPKG

Remarks

Windows Internet Explorer 7. The CDF (Channel Definition Format) is obsolete and should not be used.

Logo changes will not be detected unless the URL changes.

GIF, JPEG, and other standard image formats supported by Internet Explorer can be used for logo images. However, animated GIF files are not supported with this element. Image formats and styles are subject to change.

Examples

In the following example, two LOGO elements are used to represent an ITEM. The two LOGO elements are nested inside the ITEM element. The ICON will represent the ITEM in the Channels Explorer Bar. The IMAGE will represent the ITEM in the desktop Channel Bar.

<ITEM HREF="http://www.joyware.tld/promo.htm"
       .
       .
       .
    <LOGO
        HREF="http://www.joyware.tld/promoicon.gif"
        STYLE="ICON" />
    <LOGO
        HREF="http://www.joyware.tld/promoimage.gif"
        STYLE="IMAGE" />
</ITEM>

Element information

Minimum supported system

Windows XP
Can be empty Yes