menu

JSP menu design advice

I'm looking to create a horizontal menu in a jsp page - the menu items vary by user but stay consistent over every page in the site for that user apart from the appearance of the active tab. Seems a simple enough problem at first (the appearance is modified using css) but I can't decide where to construct the menu. Menu code: <ul> ...

Create menu link to view with argument

Hi there, I'm trying to use hook_menu to create a link to a view which takes an argument. However if I use the path (in $items[view-path/%dest]) that I've already set as the path in the view then the link doesn't appear. I'm guessing there's a path conflict somewhere. Is there a way round this? Or can I use another method to return the ...

Context Menu Customization

I'm trying to return a list of addresses obtained through: addressList = geocoder.getFromLocationName(sSearchPath,5); I have a contextmenu displaying the results, however the text it too large and does not wrap content, it just travels off the window. How can I make the context window appear more like the Google maps navigation conte...

Expand Primary Links

How do you get children of primary links to output in the HTML? Only my parent-level primary links are generating LI's. I have a very very simple two-level primary links menu. There are 5 pages on the site: three parents, and the third parent has two children. In the administrative menu settings I have the parents' and childen's 'expand...

Maven Site Plugin: How does menu inheritance work?

If I have a multi-module project, how can I inherit a menu from my parent POM? The project layout is: main <-- main project which just contains modules parent <-- parent POM ext <-- 3rd party code I tried this in my parent's site.xml: <menu name="Projects"> <item name="Main Project" href="${web-root}/" collapse="false...

Programatically creating menu hiearchy in Joomla

Hi, Let's say that I have a vast quantity of restaurant reviews in a database -- not Joomla articles, just database tables. I want to display these restaurant reviews as part of a Joomla 1.5 web site. I can write a component to display each review. That part is fine. But rather than listing the reviews as a list on a page, I want to us...

Include menu on every page

Let's say I have a simple CSS layout and my menu is a column on the side. This menu is going to be on every web page (About 10 web pages). If I have items on this menu in the form of links and such, how can I make it so that if I add a link on one page, it will add it to all pages? Would you just make it a PHP page and in that <div> elem...

Adjusting <ul>'s width to accommodate menu items using jQuery

This is an expansion of a question I posted a while ago: http://stackoverflow.com/questions/3275997/fitting-a-uls-width-to-accommodate-the-menu-items Is there a snippet of jQuery code that can adjust the width of every <ul> inside a certain <ul> to make sure the <li> items don't overflow? The menu looks something like this: <ul id="men...

How do I make my CSS/HTML category menu minimize gracefully when a user minimizes the browser window?

My Problem When I minimize the browser window the category menu does not minimize the way I would like it to. I would like the li elements to drop one by one below the other other li elements as the window is minimized. The problem is that the whole ul element is dropped below the p element. A live example of the menu is located here. ...

Display navigation menu list alphabetically with jquery

Hi guys, I am hoping some smart folks can help me here. I'm out of my depth. I had a wordpress site developed for me a little while ago. I paid the developer for his work, but he never delivered what he promised so I am left to try and fix it. Anyway... The site uses some jquery to activate a drop down menu. When you click on a link cal...

Alphabetic shortcuts for menu in Android

Is it a good practice to define the alphabetic shortcuts (alphabeticShortcut) of the menu items? I ask because I've never used them in any of the Android devices that I have owned, even those that have a physical keyboard. Is there any reason to define them? Maybe an accessibility use-case than I'm not seeing? ...

jquery-ui vertical navigation menu using with themeswitcher.

Hello, I would like to have a vertical navigation menu compatibbel with jQuery UI ThemeRoller. How can I define the styles for my menu? I just build menus dynamically and php code is following: $menu = '<ul>'; foreach ($items as $val) { if ( 'sep' == $val['link'] ) $menu.=$val['label'].'<br>'; else { // echo $_SER...

Active class on page load of menu item

Hi all, I have a hardcoded li menu that is using filterable.js to filter a list of items, based on hash tags. I can get focus to work if the item is selected, however, I want the all tag to be selected on page load. I added the class "current" to the "all" menu item, however this did not work. see: http://thinquetanque.com/portfolio ...

Does display: none affects SEO on a navigation menu ?

Hello, i want to know if using display:none (via CSS) on a menu will affect SEO (make it less efficient) than using only display:none (via jQuery) Thank you ...

JMenu and JMenuItems have thin orange border that I cannot change

Hey all, I have been using the UIManager to change the coloring scheme on my GUI. For example I use this for JMenuItems: UIManager.put("MenuItem.foreground", new ColorUIResource(255, 255, 255)); UIManager.put("MenuItem.background", new ColorUIResource(51, 51, 51)); UIManager.put("MenuItem.selectionBackground", new ColorUIResource(232, ...

Android popup menu

Hey, I am making a android app. I have a list of items displaying. I am looking to create a popup menu just like the one that pops up when you tap the avatar of a contact in the contact list. I have tried looking threw the android reference but can not find it. has anyone created one of these popup menus? A link to the reference or ...

Toolstrip Accelerator Text

I am trying to get the text of a ToolStripMenuItem as if it has been rendered for drawing. If I have this: var ts = new ToolStripMenuItem("&New File..."); I want to get "New File...", and there does not seem to be a property to get this information. I had a look through the TextRenderer and ToolStripRenderer classes in Reflector, an...

Menu router question

My question is related to a performance issue I'm experiencing using the context module with a large number of menus. The performance issue may be a result of a module I created to import a menu structure from a different CMS into Drupal. I programatically created the menu items using menu_link_save(), passing in the menu_name, link_path...

Horizontal Drop Down Menu

Hi I want to create a html structure like this: <ul class="menu"> <li class="top"><a></a></li> <li><a class="button1"></a></li> <li class="extend"> <a class="button 1"></a> <ul> <li class="last"><a class="button2"></a></li> </ul> </li> <li class="extend"> <a class="button1"...

Android 1.5 Menu Inflator didn't find Image

In Android 1.6 and higher, this menu XML inflates and runs fine. But when run in 1.5 I get an error about a resource not found. I find that when I remove the @drawable/menu_preferences from the XML in 1.5 it works fine. Is there a 1.5 work around I can do to get the image to work? EDIT: The image is in the drawable-mdpi folder. <menu...