menu

jQuery: Simple menu

I'm trying to learn jQuery by implementing a simple menu. I've got <div> elements that act as buttons and have links in them. I'm trying to add onclick events to the divs that navigate the browser to the link's address in the div. This is basically my pseudo-code. What would the real code be? How can I improve this? Any feedback apprecia...

Wordpress menu issue on IE!

So I am building a site for a client. The problem is the menu I made doesn't work on IE. Here's the site: http://robertnogueira.com You'll see that the topmost menu isn't where it is supposed to be.. I know this could be a very simple problem to fix. But since I am new to web development I really can't find a way to fix it... Please...

How to use a ListView and a ViewFlipper to navigate user in an Android app?

I want to set up some menu-like navigator for my app. There is a listView in the main page and it contains two items, click each one will show its child view with ViewFlipper, and if user clicked the back button, he will return to the homepage again. The question is how to make it, I can only use ViewFlipper to flip to next screen or ...

Implementing a recursive menu system a'la Joomla in CodeIgniter

Hi I have some sites powered by Joomla, but with my current assignment I wanted to try something new and created with CodeIgniter a really basic CMS (just to suit my client's needs). Everything works fine except menus - multilevel menus like in Joomla, Drupal etc. with items and subitems... My question is: do you know of any tutorials o...

Override iPhone copy menu captions on a long-press?

Is it possible to override the captions in the "Copy" menu when the iphone user long-presses on some text? Essentially, I'd like to change the text to something like "Create a Note" instead of "Copy". Is that possible? ...

How can I make a menu stay visible after it's clicked?

I'm using Delphi. I have my popup menu ready, and in a submenu I want to click, but I don't want the popup menu to disappear. I want to click and make it stay. ...

Set item.selected in ASP.NET Menu Control

ASP.NET newbie here. When on a page I'd like to set the corresponding menu item to selected. My approach is this: On Home.aspx.cs: Menu menu = (Menu)Master.FindControl("Menu1"); if (menu.Items.Count > 0) { menu.FindItem("Home").Selected = true; } Trouble is, menu.item.count == 0. My menu is bound t...

how to add menu dynamically in Qt

Hi, I want to add, submenu to a menu item dynamically. How can I achive this? I tried like this, I have created an Action and submenu. Then I have added the submenu to action. But, I have connected the “triggered” signal of action. its getting crash if I click on the action.. I have also handled the “aboutToShow” signal of menu, sam...

How to open a document in a separate window from a site map

I was hoping to open a document in a menu control using a sitemap. I am using the following code in the sitemap but get an error. I would like to be able to click on the menu item, have it open the sample doc in a new window, but not to have the original page navigate to a new place (essentially to do nothing on the main page.) <siteMap...

Can you have the same menu control highlighed for multiple pages in a site map

I'm using a sitemap and a menu control. I have a search and list page that I want to highlight the same same item in the menu control. For example, Search Widgets menu items will be (Search.aspx) and the List Widgets will be (List.aspx). The sitemap will have a single entry for "Widgets", but I need both pages to map. Any idea on how to ...

JQuery Menu plugins under ASP.NET MVC seem to only work in Chrome, but not in IE & FireFox

Recently, I was trying to prototype some jQuery-based menu into ASP.NET MVC. Just to name two examples here: plugins.jquery.com/project/columnview www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/ Their demo page looks great, but when I integrate their sample code into MVC, the script no longer works in IE and FireFox, b...

Multi level menu, active links css highlight. (Ruby on Rails)

Site structure: / /products /products/design /products/photo /about I want to see parent menu item also highlighted by CSS, when child is active. (When 'design' or 'photo' is active 'products' should be highlighted too.) I'm using this for child and simple urls: <li class="<%= current_page?(:action => 'design') %>"> <%= link_to...

start .net application from start menu search

bla.exe (application alias) points to a .net application called wpfapp1.exe. When i add a key&value to eg. this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\bla.exe and then start application using Run -> bla.exe it starts however when i start application using windows search i get an "windows cannot find w...

simple text menu in Haskell

Hello, I would like to know what is the best solution to create simple menu with functionality described below (pseudo code) just like im used to: while (true){ x = readLine(); case (x): x == "1" then do sth1 function x == "2" then do sth2 function } thanks for help, maybe any other ideas on how to make menu ...

Drupal 6: Printing Unadulterated Primary Links and all children...

How in the WORLD is possible? I swear, I've read the equivalent of 3 encyclopedias to no avail. I've tried solutions within regions, page.tpl.php and blocks. None of them give me what I need... and I know there are so many other people that need this too! I've come to the conclusion that I want to print out the menu within my page.tpl.p...

MenuRef GetControl32BitValue always return 0

Hello i' need to use a pop-up menu, witch is created dynamically. OSErr err = GetBevelButtonMenuHandle(m_pRecallAOptionalButton, for (countitem) { String szItem (List.GetAt(i)); CFStringRef sz = ToCFStringRef(szItem); AppendMenuItemTextWithCFString(m_pRecallAMenuRef, sz, 0, 0, 0); } short sCount = CountMenuItems(m_pRecallAMenuRe...

How to control CSS class applied to ASP.NET 4 Menu with RenderingMode=List

I am using an ASP.NET 4.0 Menu control with RenderingMode=List and am struggling with creating the appropriate CSS. Each menu item is represented by an <li> tag that contains a nested <a> tag with what appear to be fixed class names: <a class="level1"> for unselected level 1 menu items <a class="level2"> for unselected level 2 menu it...

CSS-Friendly Menu adapter that emits the same markup as .NET 4.0

For .NET 2.x/3.x there exists a CSS-Friendly Adapter on CodePlex that emits markup for an ASP.NET Menu Control as an ul. The .NET 4.0 Menu control will also emit an ul, but the CSS class names are different from those emitted by the CSS-Friendly Adapter 1.0 on CodePlex. In the interests of having a single version of CSS for .NET 2/3/4 ...

Whatever hover not working IE6 and IE7

Below is the css for my menu #menu { position: absolute; left: 170px; top: 92px; background: #336699; float: left; z-index:50; } #menu ul { list-style: none; margin: 0; padding: 0; width: 9em; float: left; } #menu a, #menu h2 { font: bold 11px/20px arial, helvetica, sans-serif; display: block; border-top-width: 1px; bor...

Why does my DHTML menu have huge layout issues in IE7?

This one's got me stumped. Usually with a little CSS juggling here and there I am able to solve most IE7 CSS bugs, but not this one! Head on over to the example page and view it in IE7, you will soon see that when mousing over the (vertical) drop down menu on the left of the page, it opens the sub menu WAY over to the right. I have pull...