menu

Set dropdown direction in WinForms

By default, a winforms dropdown always extends to the right from the dropdown button / menu item. However, I have a toolbox button (similiar to chrome's options button) which is on the far-right side of the window; when clicked, the default menu would always extend outside of the window. Are there any built-in ways to make the menu drop...

How can I determine which menu item called an ActionListener?

I have a Java program where I have a JMenu with an arbitrary number of items (in this case, there is one menu item for each dynamic library currently loaded in a different program). I'm running a loop to add JCheckBoxMenuItem s to the menu, since I don't know how many there will be. How can I set up an action listener for these menu ite...

Are CSS based menus simply toggling display none/block and z-index?

Hi, Just trying to understand how to get drop down menus to work (the theory behind them). From what I have seen, it is just playing around with CSS using display:none and block along with the z-index. Events are attached on mouseover and mouseout to switch the CSS class. Is that basically it? ...

Is it a good idea to have the same feature available from two different menus ?

It happens sometimes that one feature seems to belong to more than one place. Trivial example, let's say I've got the following menus : File Pending orders Accepted orders Tools Help I've got a search feature, and the same search window work for both pending and accepted orders (it's just an 'order status' combo you can change) Whe...

overriding windows menu

i am in need of blocking windows menu: when i press the windows button in keyboard ,i dont want any actions to be performed ,how should i do programatically ...

jquery heirarchical menu design

edit: ok, the line: $( <?php echo("'#".$_GET['item']."'") ?> ).parent().show(); Is obviously and attempt to keep the menu open at the right place. I don't think this ever worked (got I hate working on other ppls code). Then my current problem is how to access the <ul class="myul"> directly above the <li id="001" > using that item ...

CSS Menu won't show through nested Divs in IE7

If you look at the menu for this site: http://writershore.com/ltlaw/ The menu looks great in Firefox, Chrome, etc, but in IE7 the menu drop downs don't break through the nested DIVs. Is this an overflow issue? A z-index issue? I've tried variations of both and doesn't fix the result in IE. Thanks for any ideas! ...

Prototype menu

Does anyone know of a good javascript menu using the prototype library. I need to produce a list of links available for each row of a HTML table as a hover/click dropdown menu. Constraints The list of links is the same for every row, however, a link needs to post an id param unique to the row. The table is in a scroll pane, so the ...

java eclipse-plugin : menuitems appear in windows but not on linux

I am extending the tools menu with my own action cmds using the below line in the plugin.xml ... <extension point="org.eclipse.ui.menus"> <menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=edit"> <menu id="geditorToolsMenu" label="T&amp;ools" ...

open popup with asp.net menu control

Hi guys i have a terrible problem İ have to open popup window(javascript) with asp.net menu control but i cant.Menu items dont contains "attribute" so i cant assign javascript codes. How can i solve? thx your suggestions ...

Creating a Menu Stack

Hello, I'm trying to create a menu system that allows you to go backward and forward while returning the final selected data to the calling method. Take for example a orderFood() method displays a menu of choices of types of food that can be ordered. If someone selects seafood a seafood() method would run and query what types of seafo...

Joomla: Parameters of List Section Layout are not inherited

Hi, I am Joomla I have a menu item that lists categories in a section. I have changed some of the parameters (like 'do not display headers'). It works on the initial category listing, however after navigating into categories from that page, these parameters no longer apply. For example, lets say we have a menu item 'News' with some pr...

compact framework show menu

Hi, is there some way how to show/popup menu item in main menu? I(ve not found any method to do it. I tried invoke protected mehtod "OnClick" by reflection, but it does not any efect. Thanks ...

Blurring fisheye effect on a vertical text menu

I'm searching for existing scripts that will animate a vertical text menu by blurring text and zooming it according to the mouse pointer. I'm trying to accomplish these actions: 1. OS X-like movement on mouse hover that can 'zoom' the text in and out 2. In an un-focused state, the text would be blurred 3. When a user moved their point...

WPF - Binding to a Menu Icon.

I've got a UserControl that contains a menu. I need to bind the Menu.Icon to a property of the UserControl but it's not working. The code starts like this - <Border Grid.Row="0"> <DockPanel> <Image x:Name="testImage" Height="16" Width="16" Source="{Binding ElementName=UC,Path=AddImage}"/> ...

ASP.NET MenuItem Individual Styles

I'm hoping to use an ASP.NET Menu Control for navigation through my site. However, I've got a requirement that each MenuItem must be styled differently (different colors, both static, and onHover). Without creating a custom class that would inherit from MenuItem, is this possible? Thoughts on a better solution? ...

Custom Menu / Context Menu Mouse Over or Right Click

I currently have an ASP.NET GridView that displays a few columns to the user with one of them being a link to view the details for the specific record. From the details page, the user has the ability to access other pages for adding new records (for example from the contact record page, you can click a link to add a new vehicle purchase...

How to fix this JQuery dropdown menu?

Hi Guys, I tried to create a dropdown menu in JQuery, but it's proving quite difficult. My code is here: $(document).ready(function(){ $('ul li').mouseover(function() { $(this).children("ul").show(); }); $('ul li ul').mouseover(function() { $('ul li ul').show(); ...

How to add context menu to Silverlight tree items?

I want to have context menus attached to tree items in my Silverlight Toolkit tree. How can I do this? ...

What is the Send API for accessing menu commands from outside application

hi, is there a send api to access a menu command in another application? For example,I am trying to access the View menu of a notepad. How am I going to do this? I already got the menu using GetSystemMenu but I can't access it. I think this has an API already but I don't know. ...