menus

Simple text menu in C++

I am writing a silly little app in C++ to test one of my libraries. I would like the app to display a list of commands to the user, allow the user to type a command, and then execute the action associated with that command. Sounds simple enough. In C# I would end up writing a list/map of commands like so: class MenuItem { ...

Need a good ASP.NET menu

I am looking for a good menu to use in an ASP.NET. I am currently using the asp menu. I need it to work in IE 6,7,8, Firefox and Safari. I also need it to not add a lot of overhead to the page client-side. I need to be able to load it from the database. ...

MOSS'07 - Page View Web Part Slows Menu Hovers

Hello everyone, In our MOSS '07 site we have a page that contains just a Page Viewer web part in it that points to a site on another server. However, I've noticed that on that page (and any others that have a Page Viewer web part on it) our drop down menus and hover effects are SUPER SLOW and completely max out the CPU on the visitor's...

Building a database driven menu with ASP.NET, JQuery and Suckerfish

Hello everyone, I'm attempting at creating a menu from a table using the Suckerfish css menu and Jquery. I'm using this as my reference: Suckerfish menu with ASP.NET and JQuery and I have it working with manually supplied links (much like in the article). Where I'm having issues is writing the recursive function to get the menu items f...

Editing Javascript for Vista Buttons

I generated drop down menus for my site in Vista Buttons. When it exports the buttons, they are in a .js file along with graphics files and .css to control everything. I did some extensive editing on the .css, and then decided to change all the .html extensions for the links that the menus are pointing to, to .php, because I am now usin...

Is there any way to change the index of menu items in a SharePoint menu?

When the "New" menu item on a Document Library expands the default seems to be to list the document templates for that list and the "New folder" as the final element (if "New folder" has not been disabled). I have added a new custom menu item but it is displayed after "New folder" and I would like it to be shown at index 0 in order to b...

Delphi Menu Merging problem

I'm trying to merge two main menus together, but am having problems getting the right result with sub-items. I'm using the GroupIndex property on my MenuItems to control the merging/insertion. Menu1 (with groupindices) is like this File=10 Open=11 Close=12 Edit=20 Cut=21 Paste=22 Help=90 About=91 Menu2 is like this Edit=20 ...

Programmatic Navigation through a Context Menu in .NET WinForms Framework 2.0

I have a Windows Forms application, written in VB.NET framework 2.0. I have a grid that has an associated context menu with the following structure : MenuItem1 MenuItem2 --> SubMenuItem1 SubMenuItem2 --> SubSubMenuItem1 MenuItem3 ... I wish to display the context menu when a part...

Hiding a menu item in MFC

How can I hide a menu item under certain conditions in MFC? I'm not interested in just graying it out. ...

How do you put a gradient background on ASP.NET menu items?

The boss wants the master page's menu to look nicer. I generated my gradient file with one of the tools available on the net, no problem there.. I tried to make a CSS class for each menu item but when I use the background-image directive and the style builder, I get a line like: background-image: url('file:///C:/Documents and Settings...

What is the most efficient way to give the active page's menu item a "selected" id to change the CSS?

Lets say I have 5 pages: A, B, C, D, and E. I also have a horizontal menu, and each item has a light gray background. Each menu item has a:hover that gives it a medium-gray background, but I want the active page to have a black background, so I define #black { background-color: #000; } Now when the user is on B.php, I want the B ...

What type of menu bar is this?

I'm going to be building a CSS menu bar into a site much like the one at http://www.mightyleaftea.com I've heard of dropdown menus, but what is the type of menu at mightleaftea.com called? Oh, and more recently http://www.whitehouse.gov/ This is programming related. I have to build the menu... ...

How can I change a main menu First level caption?

I have a main menu in an MDI parent form, and it as a main menu. Now I need to change the first level caption of my first menu item in runtime. How can I do that? --- Update --- Sorry. I forgot to tell you that the mainMenu is housed in a TcontrolBar. I think that is the problem because all answer so far don’t work. I had tried all tha...

Remove correctly selected NSManagedObjects

Look at this great screenshot and I think you can imagine what I could ask... The players: to the right: the preferences-panel and a NSTableView to the left: main-window with a NSPopUpButton (under the NSMenu ;] ) The selected object of the popup is binded to one of these in the tableview. This ugly thing (what you can see th...

How to create a dynamic menu in Symfony

While I do find that the PHP Symfony framework is wonderful for many things, I am finding it difficult to create easily scalable dynamic menus for a website. I am wondering how other Symfony developers out there have dealt with this issue. I will give a simple example as to what I am asking. If go to www.fool.com you will see that they...

jQuery dropdown - CSS issues

Hey, if you to go: http://catonthecouchproductions.com/fish/ and those images under the dropdown are suppose to be hidden then appear on hover, I have this so far: $(document).ready(function() { $('.btn-fishing-trip').hover(function() { $('.fishing-trip').slideDown("slow"); }, function() { $('.fishing-trip').slideUp("s...

Java SWT: How to indicate a menu item is selected

Using SWT, what is the common way to indicate that a menu item (from a taskbar menu) is the currently active selection? Checkmark? Bold? How is this done with code? ...

How do you change the default background color for menustrips and menus in .NET?

These days with Visual C# (Visual C# 2008 specifically) it seems that the default color for menustrips and menus is blue, which to me looks really strange and is something that I'd really like to override. I'm guessing that Visual Studio is picking up this blue color from my selected system theme or something, however no other Windows ap...

When to use ellipsis after menu items

In pretty much all applications that have a menu bar, some of the items have an ellipsis (...) after them, and some don't. Is there a well known convention on when to put that ellipsis there and when not to? When do you do it? Do you do it? I have looked at various windows applications, and this is what I have come to: Ellipsis Menu...

Subcategories and Drop-down Menus in Graffiti CMS?

I am trying to build my first website using Graffiti CMS and have added a couple of categories that have parents. Yet they don't appear anywhere in my Navigation config screen, nor (obviously) on the menu system. How do you display sub-categories? Is there a turnkey way to implement dropdown menus or do I have to roll my own? ...