Click to return to the Content     
LOGIN Element     LOGTARGET Element     CDF Reference for Active ...    
Web Workshop  |  Content & Component Delivery

LOGO Element


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

Syntax

<LOGO
    HREF="url"
    STYLE="ICON" | "IMAGE" | "IMAGE-WIDE"
/>

Attributes

HREF
Required. URL associated with the channel logo or icon image.
STYLE
String value indicating the context in which a logo will be used, as follows:
Value Image size Display description
"ICON" 16H x 16W This image appears in the Channels Explorer Bar hierarchy and other areas of the Microsoft® Windows® namespace, such as when viewing the contents of a folder containing the CDF.
"IMAGE" 32H x 80W This logo image is placed in the desktop Channel Bar to provide a quick launching mechanism for the main channel page.
"IMAGE-WIDE" 32H x 194W 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.

Element Information

Number of occurrences None or one (per STYLE attribute)
Parent elements CHANNELITEMSOFTPKG
Child elements None
File formats supported CDF
Requires closing tag No

Remarks

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.

Example

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>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.