Connecting Tech Pros Worldwide Forums | Help | Site Map

Asp:Menu - Blow up of text or image with mouse movement

Newbie
 
Join Date: Sep 2008
Posts: 1
#1: Sep 6 '08
Hi there,

Want to know if it is possible to To blow-up the text or image on a menu item (top or left) if a mouse moves over it in ASP.NET?
Would it just be an adjustment to StaticHoverStyle or DynamicHoverStyle.

I've got the following code (What adjustement would you recommend)?
Expand|Select|Wrap|Line Numbers
  1. <asp:Menu DataSourceID="XmlDataSource1" EnableViewState="true" ID="Menu2" runat="server"
  2.                                                             BackColor="#990000" ForeColor="White" Font-Size="11" Font-Names="Papyrus" Font-Bold=true
  3.                                                             StaticSubMenuIndent="0px" StaticDisplayLevels="2" StaticEnableDefaultPopOutImage="False">
  4.                                                             <DataBindings>
  5.                                                                 <asp:MenuItemBinding DataMember="services" Depth="0" Selectable="False" />
  6.                                                                 <asp:MenuItemBinding DataMember="siteMapNode" NavigateUrlField="url" TextField="title"
  7.                                                                     ToolTipField="description" ValueField="title" ImageUrlField="img" />
  8.                                                             </DataBindings>
  9.  
  10.                                                             <DynamicMenuStyle BackColor="White" />
  11.                                                             <DynamicSelectedStyle BackColor="#990000" />
  12.                                                             <DynamicHoverStyle BackColor="#990000" ForeColor="White" />
  13.                                                             <StaticHoverStyle BackColor="#990000" ForeColor="White" CssClass="LeftMenuHoverStyle"/>
  14.                                                             <StaticMenuItemStyle BorderColor="white" BorderStyle="Solid" BorderWidth="1px" ItemSpacing="0px" HorizontalPadding="10px" /> 
  15.                                                             <DynamicMenuItemStyle ForeColor="white" BackColor="#990000" BorderColor="black" BorderStyle="Solid"
  16.                                                                 BorderWidth="1px" HorizontalPadding="0px" VerticalPadding="0px" />
  17.  
  18.                                                         </asp:Menu>

DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 930
#2: Sep 8 '08

re: Asp:Menu - Blow up of text or image with mouse movement


Hi mollerm8,

Welcome to Bytes.com! I hope you find the site useful.

You've posted your question in the ASP Forum which is for Classic ASP only - I've moved it for you but in future please post all ASP.NET questions in the .NET Forum.

Please don't forget to wrap your code in CODE tags - it makes your posts much easier to read - and please read the Posting Guidelines if you have not done so already.

Thanks.

Dr B
Reply