menus

How do I create a right click context menu in Java Swing?

I'm working on a school project and we want to implement a right click pop-up menu in the gui. Currently we are doing something like creating a JMenu on right click and setting its location to that of the mouse's position... This seems really ugly and is very buggy, is there any better way of doing this? I'm sure there must be. ...

Using Quartz2D on iPhone to design alternative input

Hey all, I'm trying to create a simple iPhone input device shaped like a disk, ony half of which is viewable on screen. The idea is this disk would be spun, and the selection would be the menu item in the middle when the disk stops spinning. Any idea what the best way of implementing such a thing would be? I'm reading up on Quartz2D and...

Qt and context menu

Hello, i need to create a context menu on right clicking at my window. But i really don't know what should i do. Are there any widgets or i must make it by my hands? Programming language: Python Graphical lib: Qt (PyQt). ...

Load bottom horizontal menu based on choice in first

I have a horizontal menu in a DIV and I'd like to load a menu below it (also horizontal) based on what users choose in the top menu. Right now I'm rendering the menus in a master page based on which content page is currently loaded. However, I don't know how to figure out which submenu option was chosen when a user clicks one of those. ...

Sidemenu overlaps when browser window is restored.

Check my website, and see the Divisions left menu. When you have maximized your broswer there is no problem, but when you restore it to half of screen, the left menu overlaps to the right. Here is the CSS code. Can someone help me? ...

ASP.Net Menu Control renders incorrectly when used on a Master Page

I'm struggling to find a solution for a weird issue with ASP.Net Menu control, when used in conjunction with Master Pages. When the user navigates to a page - via. the menu - which inherits from the Master Page, the entire menu just expands and flashes across the screen. Collapses immediately and the page is rendered.... Causes some fli...

How should I update Mega Menus from Javascript.

I have some "mega menu" style menus on a site I maintain. These are essentially a set of nested <UL>s. Since there are about 150 to 200 entries in the complete menu, it adds a lot of bulk to the page and makes screen readers painful. I plan to change the menus so that only the top level of the menu is output on the page, which will cut ...

Mega Dropdown menu seen on sitepoint.

Im busy messing around with the mega menu example shown on sitepoint but noticed it uses a plugin to delay the hover. How do i adjust the Jquery so that i don't use the plugin. Sorry I can't figure it out my code so far $(document).ready(function() { function addsubmenu(){ $(this).addClass("hovering"); $(".hovering div").anim...

How can I stack an unknown number of ASP.NET Repeaters?

Hello all. I am building a pop-out menu, and the client wants it to be able to pop out continously based on a heirarchy. For example, the first pane is a list of options. When they are hovered over, another pane should pop up next to it with the next level of options, and so on until the last level of options is reached. I can handle ...

WPF, MVVM, and Menu Foreground Color - Oh My.

I'm new to both WPF and MVVM. I searched for a good way to dynamically create menus in the MVVM partern and, not finding anything to my liking, rolled my own solution. It works, but for some reason the Foreground (text) color of the menus is sometimes (just sometimes) not correct. I was going to include a picture to demonstrate my pro...

customize JMenuBar (e.g. BackgroundImage, highlighting color,...)

I'd like to adapt/customize the appearance of my JMenuBar, so i do a little research. Now i wondering why there are so little information about this issue?! I just found one good source here: http://forums.sun.com thread.jspa?messageID=4457769#4457769 which allows me to use a BackgroundImage for the MenuBar. The drawback is that i have ...

Optimizing a jQuery drop-down menu function

Here's the function, which I am calling like this: $(document).ready(function(){ dropdownmenu(); }); function dropdownmenu() { $("#navigation ul li.upper").hover(function(){ $("ul.submenu", this).show(400); },function(){ $("ul.submenu", this).hide(); }); } How can I optimize this function, specifically ...

How to implement reuseable HTML Navigation menus?

I'm sure this topic comes up all the time, but I can't seem to fine a concise answer. I've got a vertical menu bar that I want to reuse in our web pages (>20) for the site. The Menu bar is coded in html (UL, LI, A), uses Div tags and CSS to achieve the desired effects. We want to find the simplest approach to reusing the menu bar in all...

Where is a good Visual Studio Macro to iterate and list all menus (VS2008 if pos.)?

I've been explained there is a Macro which iterates through all the menus. Having checked CodeProject, and various places on the web I'm out of luck so far. Does anyone know any better? Thanks Beth ...

How can I orient the asp.net dyanmic menu as horizontal

Hello friends, I am developing a web site for engineering purpose. I am using a master page. On the master page I have put ASP.Net menu control, and dynamically changing the static and it's dynamic menus. I need the top static menus are in horizontal look, that we can get directly by setting the orientation property. But while hovering ...

Why doesn't GetMenu work on Mozilla menus?

I want to get the Mozilla menu handle but GetMenu returns zero. On Notepad it is true. Why? ...

MDI window list not updating child title bar texts

I have a MDI container form, and some child forms that update their title bar texts themselves, independently. After the Text property is changed on the child form, the new title bar text from the child is not updated in the window list menu when the menu is opened. This is the auto-generated window list provided by .NET via the MdiWindo...

javascript drop down menu question

Hi, I'm trying to make a drop down menu using javascript/jquery but can't get my head round something. When you mouseover a menu item it needs to display a div below it which contains another menu, in a similar fashion to lots of javascript menus. The problem i am having is that when you mouseout of the menu item then the div needs to...

How do I build an editable menu in ASP.NET and VB

Hi, I am working on building a CMS, my client's specific request was that he should be able to modify/edit the nav menu and its contents using the user interface, I am not sure how to do it. Can someone please help by providing links to articles where I can learn? or even examples that I can implement? Site2you.com has a template t...

How to change the current Tab backcolor of asp.net mvc menu?

Hi I would like to ask your help. Currently I am working with the project using mvc. For good model I would like to ask how this site changed the backcolor or the curent tab? For example above we can see there are tabs namely: Questions, Tags, Users etc. So when I am on the Questions tab the backcolor becomes orange. How did you do that?...