menu

Windows Explorer Context Menu Application with Multiple Arguments

Hi, i have read heaps of articles about how to add custom right click context menu's to windows explorer but all of them only work if you have only 1 single file highlighted. The app i am writing is a utility app and i would ideally like it to work on %n number of files. Can this be done? ...

How can I create a "Drop-Down" menu in a Java Swing toolbar?

I've created a drop-down menu on my Swing JToolBar. But it doesn't create behave the way I want. I'm aiming for it to work like Firefox's "Smart Bookmarks" button. It disappears when the user selects a menu item: CORRECT! It disappears when the user presses ESC: CORRECT! It disappears when the user clicks somewhere in the main frame o...

CSS menu issue in Safari and Chrome. Submenu disappears on hover unless you're really fast!

When you hover over the top level links, the submenu appears as it should, but when you move the cursor down over the sub menu, it disappears sometime immediately and sometimes after the 3rd or 4th submenu link depending on how precise or fast you are! It works fine in firefox, ie7 and ie8 and validates for css and xhtml transitional. Pl...

Way to do radio buttons in Qt 4.4.3 menus

On Linux would like to have a set of menu items which are mutually exclusive and have the currently selected one be designated by a radio button instead of a checkbox. Is there a way to do this in Qt v4.4.3 easily? ...

how to create a drop down menu java app on the desktop to hold desktop icons (java)

Hi all, I'm trying to create a java desktop application that holds desktop icons. The app will be a menu/panel that is invisible until you hover your cursor near the top of the screen, at which point the menu full of desktop icons will drop down. To add new icons to the menu one must simply drag icons from the desktop into the menu and ...

Django Dynamic menu design question

Hi, I want to create dynamic menus according to user permissions. As was already discussed here and by the the documentation itself, I know that I can achieve this in the templates using the following snippet: {% if perms.polls.can_vote %} <li> <a href="/polls/vote">Vote</a> </li> {% endif %} But the problem is that f...

menu with jquery

I want to make a menu for the admin side of a website and when I saw the top bar of stubleupon I wanted to make a menu with same style, always on top even when you scroll down, and has drop down items. here is the link to sumbleupon exemple : http://www.stumbleupon.com/su/2qQfq3/www.thevirtualpiano.com/ and I am not very good in javascr...

jquery - how do I make a select menu display itself without clicking it?

Using jquery, how would I make a SELECT menu display itself without actually clicking on it? I tried sending a click() event (in Safari and Firefox) but no luck. $('#myselectmenu').click(); Also tried focus() and select() (and various combinations of the three). Any ideas? Thanks! ...

internet explorer 7 hover drop down menu

i have created a simple drop down menu only with css, its working fine in all browsers except internet explorer 7, when i hover to menu link it shows drop down items but when mouse moves away from the link the drop down items disappears, how can i fix it ? ...

Tracking Right click menu events?

Is there a way to track the right click menu when clicked over a textarea. I would like to know if the user selected cut,copy,paste,select all. Also, I can know when the menu is visible by detecting a right mouse click... But how can I know when it's closed? Thank you. ...

Css and J-query menu cuts off due small page size.

Hello, my problem is that my menu which is designed using css and jquery is having some problems. Whenever I hover on the menu a long sublist drops down, it is ok for the bigger page size but it gets cut off whenever displayed on a small page. ...

Commands are disabled in WPF application when data source is empty

Hi I have a simple WPF with a menu, a toolbar and a ListView in a GridView. the menu and toolbar actions are bound to commands. I have that defines when commands should be executed ("CanExecute"). Some commands, such as "Create New Item" should always be executed, so they are bound to a "e.CanExecute = true;" function. However, when th...

ASP.Net MVC Database-driven menu with caching

Hi. I am trying to create a menu for my website. It needs to meet the following requirements it must be database driven, pulling data from DB to build up the menu structure the data being pulled from the DB needs to be cached - I do not want to hit the DB for each page request At the moment, I have a simplistic example running, but ...

CSS Navigation Menu Using Sprite: How to highlight current page's tab/button?

Hi all, I've built a CSS navigation menu using a sprite, very similar to the one on Apple's website. I've got it working fine, such that it changes to the right position on the image on hover and mousedown (all using CSS), but I'm having a hard time figuring out how to make a button stay highlighted once it's clicked. I have a row in my...

looking for asp.net navigation menu editor with source code

web-based so it can be used by users and hopefully using the class SQLSiteMapProvider which allows for saving sitemap in a SQL Database instead of XML. ...

When I create click events for my Menu, I end up having about 20 events for each MenuItem. Is this the prefered way?

I'm using WPF Menu. I have about 20 different menu buttons and in my XAML code I associate a Click event to each menu item. Is this the preferred way? ...

drop down menu padding problem in IE

Hello, I have checked this in IE8 and its compatible mode, in firefox this code is working fine but in IE its not indenting as expected. The code is below: Please help! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <meta http-equiv="Content-Type" content="text/html; c...

HTML Dropdown selection value

I have the following code: <select> <option value="blablabla">Test</option> <!-- ... --> </select> But I want to know if I can set the "value" attribute of the option tag, as a reference to an object (in javascript). ...

problems with SecurityTrimming a Menu when not leaving a login page

I have an ASP Menu object that's pulling data from a SiteMap XML file. On that menu, I have a link to my login page. When I click the link and login (which fires on a button event), the Menu does not exposed the protected links. I suspect it has to do with the security context not being updated in time for the render, but I don't know...

Getting Lavalamp jQuery plugin to work with dropdown menu?

I have a problem with the jQuery Lavalamp plugin. It works perfectly with a single-level menu, but after adding a dropdown it gets a bit lost. Here's what I mean: http://screenr.com/0fS. Of course what I would like to achieve is for the lavalamp background to stay on the Portfolio item when the user hovers over the subitems. I guess i...