Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   AspMenu - Multiple Separator Images? (http://www.velocityreviews.com/forums/t778681-aspmenu-multiple-separator-images.html)

Vijay 08-11-2006 06:09 AM

AspMenu - Multiple Separator Images?
 
Hi

Is it possible to have different separator images for different levels of
menu in an ASPMENU?

Right now i am specifying the separator image for the menu items as
follows -

StaticBottomSeparatorImageUrl="<url of the image>"

We want to have a different images for 1st level and 2nd level menu items
(The design of the website is such that it requires this) . How can this be
done programmatically?

Thanks.

Vijay

My Menu code - (its being used in Sharepoint 2007)

<SharePoint:AspMenu runat="server"
datasourceID="SiteMapDS"
orientation="Vertical"
StaticDisplayLevels="1"
MaximumDynamicDisplayLevels="0"
StaticSubMenuIndent="1"
ItemWrap="true"
AccessKey="3"
CssClass="leftNav"
SkipLinkText="<%$Resources:cms,masterpages_skiplin ktext%>"
StaticBottomSeparatorImageUrl="../../SiteCollectionImages/SitePrimary/leftnav_separator.gif">
<LevelMenuItemStyles>
<asp:MenuItemStyle CssClass="leftNav1" Font-Underline="False" />
<asp:MenuItemStyle CssClass="leftNav2" Font-Underline="False" />
<asp:MenuItemStyle CssClass="leftNav3" Font-Underline="False" />
</LevelMenuItemStyles>
<DynamicHoverStyle CssClass="leftNavFlyOutsHover"/>
<DynamicMenuStyle CssClass="leftNavFlyOuts" />
<StaticSelectedStyle Font-Bold="True" ForeColor="White" />
<DynamicMenuItemStyle CssClass="leftNavFlyOutsItem"/>
<StaticHoverStyle CssClass="leftNavHover"/>
</SharePoint:AspMenu>




All times are GMT. The time now is 05:55 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57