473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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

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>
Sep 6 '08 #1
1 1838
DrBunchman
979 Expert 512MB
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
Sep 8 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: jsgough | last post by:
I am trying to create a drop down list that has a button as its first item, and text links underneath. I hacked the ASP:Menu to do this so that it only pops the menu when the indicator arrow is...
2
by: Kevin L. Kitchens | last post by:
Howdy... Been toying the the asp:menu object in order to dump the manually generated menu I've been using, however, I cannot seem to get the coloring to work properly. First off, what CSS...
1
by: sthrudel | last post by:
Hello! I'm programmatically inserting a navigation asp menu to a page, like this: // Create new Menu Menu menu = new Menu(); // Create new MenuItem MenuItem mainItem = new MenuItem();
2
by: Steve Richter | last post by:
I would like to have a standard site navigation menu, horizontal across the page, at the top of the page. When I hover over a top level menu item I want a drop down menu to appear with the same...
0
by: jobs | last post by:
Hi. I have a menu horizontal on the top. I figured out that if I set this property the black arrow on parent items goes away.. StaticEnableDefaultPopOutImage="False" However, the item is...
1
by: eps | last post by:
Has anyone have any experience of doing this ? I want a small menu on each row with a few options, I have tried it and it seems to work great at first but after clicking on a menu item and...
3
by: kenny bones | last post by:
Hi! I'm currently working on a menu which is based on CSS and is listed with <li> tags. The CSS code looks like this: #nav { position: absolute; top: 101px; left: 390px; list-style: none;...
3
by: win | last post by:
I've create menu in a webform. <asp:Menu ID="Menu1" runat="server" CssClass="toolbar" Orientation="Horizontal"> <Items> <asp:MenuItem Text="Master" Value="Master"> <asp:MenuItem...
0
by: Mark B | last post by:
I have an asp:Menu control in vertical drop-down mode, a portion as displayed: Can anyone tell me how to get Community correctly aligned with Support? Also how do I put a bit of a gap...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.