menu

PHP/MySQL - building a nav menu hierarchy

So the final menu will look something like this: Item B Item B-1 Item B-1-2 Item B-1-1 Item A SubItem A-1 SubItem A-2 Item C Based on the following DB records: id menu_title parent_menu_id menu_level weight 1 Item A 0 1 ...

How to make dropdown menu like "delicious" and "google" ?

Hi, I want to make a dropdown menu like delicious has at this http://delicious.com/search?context=all&p=sql&lc=1 page. In this page click the arrow which is with "Search" button. On click it displays a drop down menu, I want the same menu style but on my page I am having a link, what I want with that link a simple small icon wil...

What is the best practice for CSS-styled menu markup?

So, I've been 'collecting' CSS menus for a while now (another term would be 'borrowing', yet another would be 'blatantly ripping off'), to learn from them and to potentially reuse some of the leetness in my own projects. Being an oldschool HTML purist, I love the idea of styled <ul>s and <ol>s, and the better menus and tab interfaces te...

A user menu according to a Data Base role ?¿

Hi there guys, i need some of your programming experience, here is the issue: When a user logging into a WinForm application (C#.NET), how can i Assign dynamically a defined Menu (differ the menu depending on the user logged into my appz) according to a Role in the DataBase? Thanks in advance for your support, time and for share your k...

Tab character in Java

Hi guys, Trying to get a tab character into a JMenuItem using \t but it's not printing. I bet it's something really basic I'm missing. Here's the code menuItem = new JMenuItem("New\tCtrl + N"); Thanks ...

Are there standard shortcuts on Android?

Is there some kind of guide about shortcuts on Android? I have the typical CRUD and I want to assign familiar shortcus. ...

WPF C# - Change the brush of a menu's background

Does anyone know how to change the brush for a menu's background? This sounds simple, but I don't see any obvious way to do this. You'd think that the Background property would change it, but it doesn't. Here's what my menu looks like (notice the default white background): Example Image Example Code: <Window.Resources> <Soli...

Setting the width of a menu in the Windows API

I'm creating a custom control in wxWidgets that displays a menu as part of it, and currently working on the Windows side of things. wxWidgets doesn't have a way of setting the width of a menu. It just makes the window as wide as the longest string plus a few pixels on either side. In the API, there is a way to get the actual Windows A...

php dropdown menu population

I'm trying to write a php script that will populate a second drop down menu based on the selection of the a primary drop down menu. i would like to use jquery to do all the non-page refresh stuff. but every thing that i find that exists out there is hard to understand and modify, do you know of anything that was well written and easy to ...

OnUpdateMenuUI in C#?

Is there any mechanism where I can get update notification when users try to open an menu item, like in MFC. I know there is no direct way, but there should be lot of hacks, that's what I am asking. ...

Best way to draw icons on a pie (or circular) menu?

I am trying to figure out an algorithm to calculate where to place any number of icons for a circular menu on a device with a screen that is 240x320. The icons are 48x48 but can be scaled to any size. I would like to come up with a generic algorithm that will take any number of icons in any size and calculate the best scale for them and ...

How to implement gradient button bar in Cocoa

Some Cocoa applications (for instance, Mail and Automator) have a special control usually in the bottom of their window: Could you share the best practices of making the same action bar with standard images and popup buttons? Thanks. ...

winforms application guidelines

Hello all I want to start creating an application that has a menu on the left(some items in a tree) and I want to open different pages on the right on the form when I click these items. Could anybody guide me in doing this correctly pls? I dont want to have tons of data in memory and just display these pages one in top of another. Than...

Dynamically creating a sub-menu in Delphi

I have a popup menu and I want one of the items to open a sub-menu with a dynamically created list (it's a list of user defined flags). Here's how I'm creating the menu items (FlagAs is the menu item I want to attach the sub-menu to): lNewMenuItems: array[0..flagCount] of tMenuItem; for I := 0 to flagCount do begin { Create a new men...

Problem: adding feature in MOSS 2007

Hi All, I have added a menu item in 'Actions' menu of a document library as follows(Using features: explained in MSDN How to: Add Actions to the User Interface: http://msdn.microsoft.com/en-us/library/ms473643.aspx): feature.xml as follows: <?xml version="1.0" encoding="utf-8" ?> <Feature Id="51DEF381-F853-4991-B8DC-EBFB485BACDA" ...

Android add item to global context menu

When you long press on something in Android, a context menu comes up. I want to add something to this context menu for all TextViews in the system. For example, the system does this with Copy and Paste. I would want to add my own, and have it appear in every application. ...

how to apply custom action in ECB only for document item

I have added a menu item in edit control block(ECB) in document library(using following msdn article http://msdn.microsoft.com/en-us/library/ms473643.aspx) Now i found that the custom action(menu Item) in ECB is displayed for both document item and document folder. So how to apply custom action only for document item? ...

ASP.NET menus and CSS?

Hi I have the feeling that using Sitemap in ASP.NET is not conducive to CSS. Where do I format a menu to look like CSS can make it look. Where are mu ul and li's? ...Beginner, so forgive me if there right under my nose. ...

jQuery FlyDown/FlyUp Menu sub-container

Hi there, I was wondering if its possible for anyone to provide me with a guideline for creating a menu using jQuery that is similar to Telerik's MultiColumn RadMenu (http://demos.telerik.com/aspnet-ajax/menu/examples/multicolumnmenu/defaultcs.aspx). I am desperate to make this work, and I don't want to fork out a pot-load of money for ...

Asp.Net Menu control with Tab Style (Rounded Corners)

Can any body give me a better idea to come up with a Asp.net 2.0 Menu control with rounded corners? ...