Dynamic From Menu with Sub Menu

I am trying to create a form where it has a drop down menu
that depending on what you select, will change the 2nd drop down
menu. For example, you would select one of the 50 states in the
first one (data pulled from Mysql) then then when you select a
state, the second drop down menu would list all of the cities in
the state you selected. I have made the 2 connections, but i have
no idea how to make one control the second one.
Thanks,
Ben

Log in to the Knowledge Exchange:
http://portalstudio.oracle.com/servlet/page?_pageid=2112&_dad=ops&_schema=OPSTUDIO
Once in, run a search for "DHTML Menu" and you should find something interesting created by a certain Ronaldo Viscuso.

Similar Messages

  • HT4623 i have installed ios7 and when 'i agree to terms' etc, with sub menu....nothing happens. please tell me if i have missed something

    i have installed ios7 and when 'i agree to terms' etc, with sub menu....nothing happens. please tell me if i have missed something

    By the way, the safari setting is: private browsing off and accept cookies from visited. Much help is appreciated!

  • Firefox 4 Menu Bar - When I hover over or select a menu bar item, the menu bar sub-menu becomes transparent and unreadable. Is this a known issue that can be corrected with an update or is it functionality that is not designed to work with this version?

    Firefox 4 Menu Bar - When I hover over or select a menu bar item, the menu bar sub-menu becomes transparent and unreadable. Is this a known issue that can be corrected with an update or is it functionality that is not designed to work with this version?

    If this happens on monitor 2 of 2, this problem has been solved here:
    http://support.mozilla.com/en-US/questions/794823#answer-157988
    Go to "Firefox"--> "Options" --> "Advanced"
    Then un-check "Use hardware acceleration when available"
    While not verified, I believe this problem is due to an SLI configuration where the focus is on monitor 1. (I.e acceleration is available, but only on monitor 1.)

  • Can't access in  Finder Contextual Menu  the sub-menu named More

    Hi!
    I was trying to learn how to use Automator, in the web page
    http://www.macosxautomation.com/automator/examples/ex03/index.html
    and I realize that I can't access in Finder Contextual Menu the sub-menu named More for choose Automator > Create Workflow... from the sub-menu.
    Someone can help me to configure the finder in order to

    That page is out of date since it doesn't reflect the change in Snow Leopard that did away with the More contextual menu. Try this. System Preferences->Keyboard->Keyboard Shortcuts->Services->Development->enable Create Workflow. Close the prefPane, select the object, CONTROL-click->Services->Create Workflow.
    If that solves your issue, then send a message to the page's developer and ask them to update it.
    BTW, see http://discussions.apple.com/thread.jspa?threadID=2241804 for a four-parter by Sal Saghoian on *Automation in Snow Leopard*
    and this, which describes the old and new automator—services stuff:
    http://www.reynoldsftw.com/2009/08/automator-and-finder-interactions-in-os-x-10- 6/

  • Menu and Sub Menu in Flash

    I have discover dis site http://vista-buttons.com/
    It makes flash menus the way i want.
    It wourth 50€ for it or there is a better way to do menu and sub menu in flash ?
    Best Regards

    For the amount of time it would likely take you to create your own, it's up to you to decide whether or not it's worth the cost.  Just note that the cost varies based on your intended use of the product.  The non-commercial version is $50.

  • I want to have JMenu on a Side bar(JPanel) with sub menu.

    I want to have the JMenu on the sidebar(which is a
    JPanel placed at WEST). This JMenu shall have the sub
    menu with it. I got the JMenu on the Sidebar but when
    i take mouse over(or click) the MenuItem it is
    displaying the sub Menu. I am attaching the my code.
    Can anyone please let me know why it is not displaying
    the sub menu and what should be added to my code to
    work?
    Thanks in Advance(see below for code)
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class SideBarMenu extends JFrame {
         JMenuItem menuItem1,menuItem2;
         JMenu books, softwares, tools;
         JSeparator horizontal1, horizontal2,horizontal3;
         JPanel p1, p2;
          public static void main(String[] args) {
           SideBarMenu vAR =  new SideBarMenu();
         public SideBarMenu() {
              super("Side Bar");
              setSize(500,500);
              setLocation(150,100);
              setResizable(true);     
              Container content = getContentPane();
              p1 = new JPanel(new BorderLayout());
              p2 = new JPanel();
              p2.setLayout(new GridLayout(20,1));
              p2.setBorder(BorderFactory.createLineBorder(Color.black,1));
              books = new JMenu("Books");
              horizontal1 = new JSeparator( JSeparator.HORIZONTAL );
              softwares = new JMenu("Softwares");
              horizontal2 = new JSeparator( JSeparator.HORIZONTAL );
              tools = new JMenu("Tools");
                                    horizontal3 = new JSeparator( JSeparator.HORIZONTAL );
              //sub Menu for menu "books"     
              menuItem1 = new JMenuItem("Java");
              books.add(menuItem1);
              menuItem2 = new JMenuItem(".Net");
              books.add(menuItem2);
              //sub Menu for menu "Softwares"          
              menuItem1 = new JMenuItem("Java");
              softwares.add(menuItem1);
              menuItem2 = new JMenuItem(".Net");
              softwares.add(menuItem2);
              //sub Menu for menu "tools"          
              menuItem1 = new JMenuItem("Java");
              tools.add(menuItem1);
              menuItem2 = new JMenuItem(".Net");
              tools.add(menuItem2);
              p2.add(books);
              p2.add(horizontal1);
              p2.add(softwares);
              p2.add(horizontal2);
              p2.add(tools);
              p2.add(horizontal3);
              p1.add(p2,BorderLayout.WEST );
              content.add(p1);
              setVisible(true);
    }

    Hi Ashwin,
    I saw the above code which is approaching my requirement... Thats cool man. Taking that as reference i modified it to make it what i want. The code i have modified and which is very closer to my requirement is attached below. I have set the Windows Look and Feel, because its easy to track my problems with it. The problems am having are:
    1) When the mouse is removed from the menu its submenu is not disappearing.
    2) When i take the mouse over the menu its making the name(Books/softwares/tools) of the menu invisible.
    3) When i take the mouse over the sub menu items they are not getting highlighted, which means they are not listening
    I hope u will solve these issues for me...
    Also make the menu items work ie., just make them print when i click submenus like "Clicked books->java" and "clicked softwares->.Net" so that i get an idea of events....
    Many Thanks .
    Here we go,
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.GridLayout;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionAdapter;
    import javax.swing.BorderFactory;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.JPanel;
    import javax.swing.JPopupMenu;
    import javax.swing.JSeparator;
    import javax.swing.UIManager;
    public class SideBarMenu4 extends JFrame
        JMenuBar menuBar;
        JPopupMenu popup = new JPopupMenu();
        JMenuItem menuItem1, menuItem2;
        JMenu books, softwares, tools;
        JLabel mainMenu = new JLabel("Main Menu");
        JMenu subMenu;
        JSeparator horizontal1, horizontal2, horizontal3;
        JPanel p1, p2;
        public static void main(String[] args)
            SideBarMenu4 vAR = new SideBarMenu4();
        public SideBarMenu4()
            super("Side Bar");
            setSize(500, 500);
            setLocation(150, 100);
            setResizable(true);
            setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            Container content = getContentPane();
            p1 = new JPanel(new BorderLayout());
                        try {
              //MetalLookAndFeel.setCurrentTheme(new MacMetricsTheme());
                 UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");            
            } catch(Exception e) {}
            p2 = new JPanel();
            p2.setLayout(new GridLayout(30, 1));
            p2.setBorder(BorderFactory.createLineBorder(Color.black, 1));
            books = new JMenu("Books");
            horizontal1 = new JSeparator(JSeparator.HORIZONTAL);
            softwares = new JMenu("Softwares");
            horizontal2 = new JSeparator(JSeparator.HORIZONTAL);
            tools = new JMenu("Tools");
            horizontal3 = new JSeparator(JSeparator.HORIZONTAL);
            // sub Menu for menu "books"
            menuItem1 = new JMenuItem("Java");
              popup.add(menuItem1);
            //books.add(menuItem1);
            menuItem2 = new JMenuItem(".Net");
              popup.add(menuItem2);
              popup.setPopupSize(100,50);
            menuBar = new JMenuBar();
            menuBar.setLayout(new GridLayout(0, 1, 5, 5));
            books.add(popup);
              books.setComponentPopupMenu(popup);
            books.addMouseMotionListener(new MouseMotionAdapter(){
                public void mouseMoved(MouseEvent e)
                     popup.show(books, 88, 0);
              softwares.add(popup);
              softwares.setComponentPopupMenu(popup);
            softwares.addMouseMotionListener(new MouseMotionAdapter(){
                public void mouseMoved(MouseEvent e)
                     popup.show(softwares, 88, 0);
              tools.add(popup);
              tools.setComponentPopupMenu(popup);
            tools.addMouseMotionListener(new MouseMotionAdapter(){
                public void mouseMoved(MouseEvent e)
                     popup.show(tools, 88, 0);
            // p2.add(menuBar);
            p2.add(books);
              p2.add(horizontal1);
              p2.add(softwares);
              p2.add(horizontal2);
              p2.add(tools);
              p2.add(horizontal3);
            p1.add(p2, BorderLayout.WEST);
            content.add(p1);
            setVisible(true);
    }

  • Collapsing Menu with Sub-Menus

    Hi
    I am trying to create a collapsing vertical menu (with nested
    submenus). Check out the 'products' quick menu here and you will
    know what i mean:
    http://www.sofaworldhomefurnishings.com
    Does anyone know how to do this using dreamweaver (ASP VBS)
    or can point to any reference or tutorial?
    Any help greatly appreciated.

    It's pretty simple to do manually with DW's Change Property
    behavior and a
    nested list, or you might find some tuts and products here -
    http://www.projectseven.com/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "pakora" <[email protected]> wrote in
    message
    news:ee3vb7$qqd$[email protected]..
    > Hi
    >
    > I am trying to create a collapsing vertical menu (with
    nested submenus).
    > Check
    > out the 'products' quick menu here and you will know
    what i mean:
    >
    http://www.sofaworldhomefurnishings.com
    >
    > Does anyone know how to do this using dreamweaver (ASP
    VBS) or can point
    > to
    > any reference or tutorial?
    >
    > Any help greatly appreciated.
    >

  • Trouble with Menu and sub menu widget

    I am a newbie, hence my current question.  I have developed a site for the company that I work for, the basic navigation menu widget has been added, however, the owner wanted a sub-menu for only one of the categories/menu tab, but I am having trouble getting/adding a drop down for one of the menus, it is doing an all or nothing when I try to add the submenu, regardless of only editing the one.  What am I missing?

    Thanks, that is exactly what I was missing.  And that did the trick.  I know it was probably a dumb question, but I'm still learning my way around the Muse. 

  • Customization of NewCheckIn Menu to Sub Menu

    Hi All,
    Plz help me on this requirement --> Customization of NEW_CHECK_IN Menu containg profiles list and grouping the similar profiles need to show in the Sub Menu
    Example:
    Current :
    NewCheckIn
    HR-Department
    HR-Admin
    HR-Finance
    HR-Insurance
    Requirement :
    NewCheckIn
    HR-Grouping>> HR-Department >> HR-Admin
    HR-Finance>>HR-Insurance
    Regards,
    Ramesh Vundela

    Depending on whether you are on 10g or 11g the code may be different.
    See the following posts for help on working with menus:
    http://corecontentonly.com/2009/05/29/hide-standard-profile-menus/
    http://corecontentonly.com/2011/09/29/alphabetizemenus-11g/
    https://blogs.oracle.com/kyle/entry/modifying_navigation_menus_in_ucm
    Jonathan
    http://jonathanhult.com

  • Menu and sub-menu

    Hi,
    Is anyone knows where to find an example for creating the menu and sub-menus in coldusion?
    thanks
    kt

    here is a simple example using cfmenu:
    <cfmenu name="menu" type="horizontal"
             fontsize="14"  font="Verdana, Arial, Helvetica, sans-serif"  bgcolor="##ff9f40;"
            selecteditemcolor="##dd6b04" selectedfontcolor="##FFFFFF" menustyle="border: 1;">
        <cfmenuitem name="cfdiv" href="test1.cfm" display="Test1" />
        <cfmenuitem name="cfdiv2"  href="test2.cfm" display="Test2"/>
        <cfmenuitem name="JavaScripts"  display="JavaScripts">
            <cfmenuitem name="test3" href="test3.cfm" display="test3"/>   
            <cfmenuitem name="test3a" href="test3a.html" display="test3a"/>   
        </cfmenuitem>
        <cfmenuitem name="Examples"  display="Examples" >
            <cfmenuitem name="cfgrid" href="cfgrid.cfm" display="CFGrid"/>   
            <cfmenuitem name="cfgridwin" href="cfgridwindow.cfm" display="CFgrid in Popup Window"/>                   
            <cfmenuitem name="monthDay" href="ymd.cfm" display="day base on month selected"/>                                
        </cfmenuitem>
        <cfmenuitem name="cfmenu" href="http://tutorial16.learncf.com/demo/16" display="cfmenu on the fly"/>
    </cfmenu>
    hope it helps.

  • How to create a dropdown menu with sub buttons that link back to the labels on click.

    im trying to create a dropdown menu buttons that when you rollover to the top central button the button it opens up like a drop down menu would containg two other subsectional buttons. This makes the sub sectional buttons seperate from the main stage making it difficult to simply give them a on click,  sym.play("label") function.
    the buttons work like this in symbols or sections stage/panel/homebutton inside home button is group dev containg another group dev containg the button which I need to link back to a "label" in the /panel/ symbol or section. Thank you very much.

    pdp_1 wrote:
    Hi!
    I would like to create a DVD menu that offers two languages. So the first page gives two options: Language 1 and Language 2. Then depending on which language you choose, you go to a menu that proposes different videos and a photo slideshow.
    Regardless on which language button you click on initially, you get the same content but in different languages.
    I've been looking at Premiere's templates, which I can certainly customize, but I really don't see how to create the double menu. Does anybody have an idea?
    Put the video with the first language on the timeline followed by the video with the second language.  Use chapter markers so you can have each video as a chapter in the menu.
    I use Premiere Pro, so I can't give more specific directions. Perhaps somebody like ATR will chime in.
    Also, I have another question: can I put videos from different projects in the same DVD with Premiere or must all of the videos that go into the DVD be in the same project?
    Thank you very much!!!
    pdp1
    They must be in the same project.

  • How do I remove an old scanner from the File_Import sub-menu?

    I'm running Photoshop CS6 under Windows 7-32bit, on a Dell Optiplex 360 with 4GB of RAM installed. My hard drive has 96GB of free space, so system resources seem adequate.
    I recently replaced an old multi-function printer and a flat-bed scanner with a new multi-function printer that is capable of flat-bed scanning too. I have disconnected the old devices and uninstalled the drivers, not only from my computer but from all the other computers on my home network too. But the File_Import menu still shows all three devices even though two of them have been permanently disconnected. What am I missing? I would really like to make the scanners that I no longer have disappear from that import menu. How do I do it?

    Try this: You will only want to delete the files associated with your obsolete scanner.
    If you are not sure, please contact tech support of the uninstalled scanner.
    Following the un-installation of the programs, delete the "twain"
    files and the "twunk" files. This is done because some of these files are
    not removed from the computer when the programs are uninstalled.
    a. Go to "Start," come up to "Find or Search," and
    click on "Files or Folders."  Be sure the "look in" box is set to search the
    hard drive, or "C:" drive.
    b. In the "named" box type "twain" (minus the quotes).
    Make sure the box to the left of "Include subfolders" is selected (has a
    check mark in it). If not, click on the box.
    c. Click on the "Find Now" button.
    d. Delete all of the "twain" files by going to "Edit"
    and clicking on "Select all," and then going to "File" and clicking on
    "Delete."
    e. Go through the previous four steps again, but this
    time type "twunk" (minus the quotes) in the "Named" box instead of typing
    "twain."

  • Is it possible to create a pop-up menu with sub-headings

    I am trying to setup a pop-up menu in Number that would give me the ability to first create subheadings, that I can then enter my selection list in.
    Example:
    Subheading 1
         eg 1
         eg 2
         eg 3
    Subheading 2
         eg 1
         eg 2
         eg 3
    Subheading 3
         eg 1
         eg 2
         eg 3
    I did try to search for a solution to this, but nothing came up that I recognized quickly.  So, I'm hopeful that someone out there in the Apple community has a quick work-around for acomplishing this.
    Thanks,

    Strictly speaking this i not possible.  You could precede each entry that is indented with a space to make the menu appead to have sub entries.

  • Cs 6 blu-ray with sub menus, only go back to main menu

    I have burned a blu-ray with a main menu then sub menus: audio setup, chapters, extras.
    (note: they are regular menus NOT pop-up menus and I would rather not do pop-up menus at this time)
    when I am playing any of the sub menu content (trailer or making of or picking a chapter button from the chapter menu etc...) and press the menu button on the Blu-Ray player while it plays that content, it goes to the main menu instead of the sub menu.
    I checked it in the simulator and it was working perfectly....just as I would expect it to.
    each sub menu item (a trailer or making of featurette for example) is set to go back to the sub menu and it's button
    when done playing...and it does. 
    It just refuses to do that when the menu button on a blu-ray player is used and instead goes to the main menu.
    I ran the link checker before building the folders and burning it...no conflicts found.
    This seems to be an issue with Encore in general, reading about this here and in
    other forums.
    Can Encore simply not create a proper blu-ray disc with sub-menu's you can
    return to when the menu button on a remote is pressed?
    Do I have to buy BluStreak in order to correct these rather obvious navigation errors?

    Let us know what you find.
    I think the original poster in the other thread observed that commercial BDs were showing the same behavior.
    Even if true, it does not mean that some kind of scripting might not work.
    But Encore would not have the option.

  • Issue with af:menu

    I have the following component in my page
    a panel menubar which contains a menu("Root menu") inside it. Inside this menu I have a another menu("Sub menu").
    Inside sub menu, if I have more than 14 child components, then a scroll button will appear on top and bottom of this sub-menu. I am not able to click on this scroll buttons. When I click the menu is getting closed. Is there any way to avoid this scroll buttons?
    Also if Root menu is having more than 14 children then this scroll works absolutely fine.
    Is there any solution for this behavior?
    I am using ADF 11gR1.
    <af:menuBar id="pt_mb2">
                      <af:menu text="Root menu " id="pt_m2">
                        <af:menu text="Sub menu " id="pt_m1">
                          <af:commandMenuItem text="commandMenuItem 1"
                                              id="pt_cmi1"/>
                          <af:commandMenuItem text="commandMenuItem 2"
                                              id="commandMenuItem1"/>
                          <af:commandMenuItem text="commandMenuItem 3"
                                              id="commandMenuItem2"/>
                          <af:commandMenuItem text="commandMenuItem 4"
                                              id="commandMenuItem3"/>
                          <af:commandMenuItem text="commandMenuItem 5"
                                              id="commandMenuItem4"/>
                          <af:commandMenuItem text="commandMenuItem 6"
                                              id="commandMenuItem5"/>
                          <af:commandMenuItem text="commandMenuItem 7"
                                              id="commandMenuItem6"/>
                          <af:commandMenuItem text="commandMenuItem 8"
                                              id="commandMenuItem7"/>
                          <af:commandMenuItem text="commandMenuItem 9"
                                              id="commandMenuItem8"/>
                          <af:commandMenuItem text="commandMenuItem 10"
                                              id="commandMenuItem9"/>
                          <af:commandMenuItem text="commandMenuItem 11"
                                              id="commandMenuItem10"/>
                          <af:commandMenuItem text="commandMenuItem 12"
                                              id="commandMenuItem11"/>
                          <af:commandMenuItem text="commandMenuItem 13"
                                              id="commandMenuItem12"/>
                          <af:commandMenuItem text="commandMenuItem 14"
                                              id="commandMenuItem13"/>
                          <af:commandMenuItem text="commandMenuItem 15"
                                              id="commandMenuItem14"/>
                          <af:commandMenuItem text="commandMenuItem 16"
                                              id="commandMenuItem15"/>
                          <af:commandMenuItem text="commandMenuItem 17"
                                              id="commandMenuItem16"/>
                          <af:commandMenuItem text="commandMenuItem 18"
                                              id="commandMenuItem17"/>
                          <af:commandMenuItem text="commandMenuItem 19"
                                              id="commandMenuItem18"/>
                        </af:menu>
                      </af:menu>
                    </af:menuBar>in firefox, chrome, and IE 8(with compatibility mode ON) I am able to scroll using keyboard. but when I try to scroll using mouse the menu closes.
    Anyway, I don't want this scroll feature in my menu. Is there any way to disable this feature?
    Edited by: josetuttu on Nov 29, 2011 11:17 PM

    Hi
    I was also thinking about skinning.
    This is what I got from http://docs.oracle.com/cd/E14571_01/apirefs.1111/e15862/toc.htm
    af|menu::scroll-up-cell -----     Style on the cell that contains the scroll up icon. This cell is only present in a menu when there are more menu items present than the menu's maximum item setting.
    Can you suggest how to skin so that maximum item setting can be overridden?

Maybe you are looking for

  • Not able to drag new data control to my jsf

    hi am not able to drag Queriable Attributes into the new query.jsf page and abl to Create it as a Query > ADF Query Panel. this is what i have done 1.In the Application Navigator locate the adfc-config file under the Page Flows node in the ViewContro

  • What to look for in a battery

    I was browsing ebay for a batter and charger to pick up while I wait for my Incredible to get here.  I'm curious if there are specific specs or anything I need to look for in a replacement battery.

  • How to handle Table control in BDC

    How to handle Table control in BDC

  • IMac'24 08 + new iMac's video cards

    I know that in my iMac'24(2008) used mxm ati 2600 card. I just want to know - may i upgrade my old imac with new ati 4850

  • Compiz writes Primary modifier instead of Control

    Hello. I am new in Arch. Recently I made a choise of using Compiz as a window manager and AWN as dock/system panel. Everything works quiet well, but I can't get my favorite keybindings to work. I want to set a command to ctrl+shift+r combination, but