menu

How to get rid of ugly asp:Menu flickering?

I'm using the asp:Menu control on an ASP.NET 4.0 Webforms page with table-free rendering mode: <asp:Menu ID="MenuBase" runat="server" DataSourceID="SiteMapDataSourceMenu" Orientation="Horizontal" CssClass="contentmenu" RenderingMode="List" IncludeStyleBlock="false"> </asp:Menu> The menu has a horizontal main row with 5 or 6 m...

How to change Visual Studio 2008 menu items color ( not the text editor but windows of VS more like skin)

hi there, i am working in Visual Studio 2008 and is bored of default theme of blue menu items so wanted to chage it. but so far have no clue ho to do it. found a theme editor which changes themes but this is for VS2010: http://visualstudiogallery.msdn.microsoft.com/en-us/20cd93a2-c435-4d00-a797-499f16402378/view/Reviews Please note that...

Need ASP menu control that works on all browsers, including mobile

I'm writing a web site (ASP.NET/C#) that is specifically targeted at mobile phones. On the master page I have put an ASP menu. This works fine in IE8 and Firefox, but when I try viewing it from my Nokia browser, while the menu is visible, its behavior is incorrect: I tap on the menu to open it, and instead of opening the next level of ...

Possible to display more than 6 items in a menu without the "More" option?

I want to add around 9 options to my menu but I would like all 9 options to show at once. Is there a way i can disable the grouping of the last options into the "More" submenu? ...

Where does VS2010 store modified keyboard shortcuts?

I have this strange behaviour in VS2010 where any modifications I make to keyboard shortcuts or the text for top-level menu items (File, Edit, View, ...) are reset to their default values the next time I restart VS. I suspect that one or more of the add-ins I've installed could be the culprit. So far though, I have had no success in stop...

Why is this ul exceeding the size of it's div?

Although li.textmenu has width: 140px, padding: 5px, and div.textmenu has width: 150px, the one list item i've made so far has a big left margin, and extends beyond the right edge of the div by a good 30px. Could someone explain why? http://www.briligg.com/frailty.html css: div.textmenu { background-color: #3b3b3b; ...

Jquery Menu problem

I just got a fix on another post I just made but this created a nother problem. I am working on a navigation menu with multiple levels. Here is the script I am using: $(document).ready(function(){ // attach the click handler for the menu $(".left-navigation-holder li a[href='']:has(~ul)").click(toggleMenu); // Expand menu for the curr...

Wordpress custom post type hierarchy and menu highlighting (current_page_parent)

I have created a custom post type of 'portfolio' and page with a template that retrieves all posts matching that custom post type. The problem is when I drill down into the actual post, the post seems to sit under 'blog' in the main menu highlighting (displays current_page_parent as a class) The permalink url is correct: www.site.com/p...

Same option menu in all Activities in Android

Hi, I have 10-15 activities in my project. I want to have the option menu mostly in all Activities. Then is their any way we can do it at one place and it appears in all activities. Also, I will like to hide the option menu in some. So, is it possible or I have to write option menu code in all activities. Regards Sunil ...

Fitting a <ul>'s width to accommodate the menu items

I have a menu that contains submenus. Its HTML source looks like this: <ul id="menu"> <li> <a href="javascript:;">Menu 1</a> <ul> <li><a href="javascript:;">Item 1<a></li> <li> <a href="javascript:;">Subitem 1</a> <ul> <li><a href="javascript:;">Subsubitem 1</a></li> </ul> </...

How to display dropdown menu to exceed header div

Hello everybody! I have problem in displaying drop-down menu. Please, see the example on: http://staging.gwynconsulting.com/rif/hello-world-2/ When I hover 'Rent it finished', I can't display all menu items. I tried to play with many css properties, but I can't make it work... Thank you... ...

Programmatically adding glyphs (delete key, backspace, space, etc) to menu item

It used to be that in Carbon you could use SetMenuItemKeyGlyph. What's the alternative under 10.6? Will I need to use undocumented goodness or...? Thanks ...

Javascript drop-down form math calculation

I'm trying to create a page where there are two dropdown menus, and then when the user presses submit, it calculates a price based on the data given from the dropdown menu. It needs to take either 1 or 2 from the first dropdown menu choice, multiply that by the value of the second dropdown menu choice, multiply that by 0.2, and output it...

WPF: Change background color of a template

I have defined a menu template which, in theory, should use the backgroundcolor of the "AppBackground" SoliColorBrush, defined in a separate file. When in "debug mode", I use the following code to change that variable: this.Resources["AppBackground"] = new SolidColorBrush(Colors.DarkGreen); This has the intended effect on the applicati...

C# winform Menustrip merging problem

class MDIFormMenu: System.Windows.Forms.MenuStrip { } class ChildFormMenu: System.Windows.Forms.MenuStrip { } I used MDIFormMenu on MDIForm set MainMenuStrip property and ChildFormMenu added on ChildForm. It is failed to merge. If I used same class menu on both form it works. Please help me, what am I doing wrong? ...

Scrollable menu in JavaScript

Hi, I am trying to create a scrollable menu list in JavaScript and I am following a tutorial http://javascript.internet.com/navigation/menu-scroll.html But nothing appears on my page. This is what I have tried: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <hea...

Sliding menu javascript

Hi, can anyone point me in the right direction to implement something like this please: http://blog.sallarp.com/iphone-sliding-menu/ but using javascript? Thanks and have a nice day :), C. ...

Removing thin border around the menuitems

I based a custom menu on some code I once received. It looks OK, but I'm going crazy over how to remove the thin black border around the entire section of menuitems?! Where is this border/padding defined? Thanks to any WPF guru that might help me with this :) <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/p...

How accessible are dropdown lists on mobile devices?

I am developing as site for mobile devices which requires the user to select a product (there are ~70 in total). I however do not have a testing device with me at the moment (I am also currently on a Mac and do not know of any mobile browser emulators for Macs). My question is, would a drop down list of length ~70 be way too long? How h...

android Menu Item not showing text?

I have create a single item menu, but the text does not appear when it pops up, only the icon does. Am I missing a setting. <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"&gt; <item android:id="@+id/options_menu" android:icon="@drawable/options" android:titl...