Here's a Pop-up Menu Challenge/Issue

Peace.
I have read dozens of posts on using dreamweaver and fireworks to export various symbols, objects, and pop-ups. Getting the pop-up menu to work in DW is to have javascrit code in the header and body portion of the page. Also, the difference between browsers FF and IE, popup menus not working properly .
I have managed to work through most of these problems, including the popup alignment of X,Y parameters, to get them to show up properly (what a nightmare for an intermediate)! If I only knew how to use CSS?
Anyway, I finally got my pop-ups to work the way I want, but ONLY in IE, not in FF.
The "challenge" is that two of my pop-up menus work on FF and the others don't? See images at http://www.christianacademyonline.org/testnew/index.html
I have done my best to scrutinize the script (java/mm_loads,images, etc) and I can't find the problem. The two images that work have two diffent codes, probably (on_click), because I was doing what I could to make it work..
I need more eyes to help find my script problem...I'm almost complete, but missing something!
Thanks Guys!
Deke D.

I don't get any pop-ups anywhere nor any menus (if there are supposed to be some). The code is rather messy, also, with all those on-the-fly definitions for styles and endlessly long JavaScript actions. Quite possible that the links override one another. Not to ruin your day, but I'd definitely start from scratch with an empty page and a clean style sheet for the various elements. IMO that's the only way to get this working properly.
Mylenium

Similar Messages

  • Pop-up menu feature and IE issues

    I am using Firework MX 2004, Version 7.0 Build 288, to create drop down menus using the “Pop-up Menu” feature. The pop-up menus that I create work great in Netscape and Firefox, but fair in IE 6.0. The pop-up menus appear under certain elements such as select boxes in IE 6.0. I have read and tried some of the solutions on Blogs in regard to setting the z-index in div tags, but to no avail. Any help or work around would be greatly appreciated! Unfortunately, the huge company I work at switched from Netscape to IE 6.0 as the corporate platform, and I don’t have the patients to upgrade Fireworks if that is the solution. The last time I upgraded from Fireworks 4 toFirework MX 2004 the Macromedia Tech Support area had to e-mail me special registry entries for the product registration to work, and it took a very long time. I still have the emails to remind me of the pain. Thanks William!

    I found this:  http://kb2.adobe.com/cps/158/tn_15842.html
    And this:
    Fireworks generated html and javascript calls its layers with a z-index beggining with a value of 1. Try doing a search of text external JS file and you will see your menus.
    I would rename the offending layer that runs over the top of the menu layers in the with z-index:0
    Also this:  http://www.adobe.com/devnet/fireworks/articles/fw8_popups.html
    Hope something here works, that being said...the menus from that version arenb't very good. a better solution is CSS menus. A quick solution is from Project Seven here:http://projectseven.com/products/menusystems/pmm2/index.htm for $95. It's a DW extension and simple to use. Alkso compatiple with most browsers.

  • Strange Navigation Issues After Using Pop-up Menu

    I have a Blu-ray project I'm working on.  It's 1920x1080 resolution. 
    I have a main menu and then seven sub-menus as chapter-selection menus for three different videos.
    The Main Menu has four buttons.  Button one is a highlights video, button two takes the user to the first of three chapter-selection menus for the first video.  Button three takes the user to the first of two chapter-selection menus for the second video and button four takes the user to the first of two chapter-selection menus for the third video.  I have transitions from the main menu to each of the three chapter-selection menus and back from any of the seven chapter-selection menus to the main menu.
    I also have a pop-up menu with the same four buttons on it as the main menu, except that the top button takes you to the main menu rather than playing the highlights video.
    The problem I have is that all of the navagition works fine when moving around the menus, unless you open the pop-up menu during a video and navigate to one of the chapter-selection menus.  When you do this, it works.  It goes to the first page of the chapter-selection menu for any of the three videos, but if you then go to the main menu from there (each chapter-selection menu has a "back to main menu" button on it), it will play the transition, but then jump you to one of the chapter-selection menus for the video who's chapter-selection menu you were just on.
    For example:  If I play the highlights video and while it's playing I open the pop-up menu and choose Video 3, it will take me to the first chapter-selection menu for Video 3.  If, once that menu comes up, I then scroll down to the "Back to Main Menu" button on that page and choose it, the transition from that menu to the Main Menu will play, but after it finishes, the Blu-ray will jump to the last chapter-selection menu page for Video 3.  If I then navigate back to menu page 1 of the chapter-selection menus for Video 3 and choose the exact same "Back to Main Menu" button, the transition will play again and this time the Main Menu will open up.
    The links for all of the menu buttons are correct, I've check them numerous times.  It just seems that they get screwed up after you've navigated somewhere from the pop-up menu.
    Sorry this is so long, but I wanted to try to explain it as best as possible.
    Any suggestions?
    Thanks.

    Hey Shark.  I read your explanation of what's happening, but I am not sure why you are having that weird navigation issue.  There are a lot of weird anomalies that happen with Encore authored blu-rays, and things that just don't work that really should.  For the price, it does the job, but there are limitations.
    Last year when I started using it for blu-ray authoring, there were non-stop road blocks and things to overcome.
    Check out the documented misery.  It gets better at the end  .
    http://forums.adobe.com/message/3446748#3446748

  • Pop-Up Menu Issues

    I am using CS3 Fireworks and CS3 Dreamweaver to edit a pop-up
    menu originally made in Fireworks. I have not altered the pop-up
    menu code whatsoever, and when I preview the index file that the
    pop-up menu is in from Dreamweaver, the menu appears to run just
    fine. There are no numbers within any of the file names or menu
    items. For some reason, once the index file is loaded onto my
    server, certain menu items do not show up and the ones that do are
    out of order. There are multiple pop up menu's within the index
    file, but those two are single tiered and work fine. The pop-up
    menu in question has 2 sub-groups. Could this be the
    problem?

    pixlor:
    OP is using CS3 and the menu blog is talking about the menus
    in earlier
    versions of FW, so *most* of the points made in the blog
    don't apply.
    That's not to say that using CS3 pop-up menus is a *good*
    thing....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "pixlor" <[email protected]> wrote in
    message
    news:gbce7b$a50$[email protected]..
    >
    quote:
    Originally posted by:
    captainbianco
    > I agree completely and totally, and I will haha but I'd
    like to get this
    > one
    > fixed if I can. You can view the page here
    >
    http://www.flooringanswers.com/nysurfaces/index2.htm
    > Hover over the letters to see the pop-up menu's. The one
    over "t" is the
    > problem.
    > Under Flooring, for example, you have a div with id of
    > MMMenu0910163730_1_1
    > (ugh). Under that are four items and they have their own
    IDs:
    > MMMenu0910163730_1_1_Item_0
    > MMMenu0910163730_1_1_Item_1
    > MMMenu0910163730_1_1_Item_2
    > MMMenu0910163730_1_1_Item_3
    > MMMenu0910163730_1_1_Item_4
    >
    > Your CSS file, however, doesn't have location
    information for the ..Item_4
    > object.
    >
    > That's just from a quick, cursory look. In order to fix
    this, you're going
    > to
    > have to go through it line by line and debug it. By the
    time you do this,
    > you
    > might be better off getting something else and starting
    from scratch.
    >
    > Read this:
    >
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    >

  • Pop-up menu issue

    I export a pop-up menu from Fireworks as an HTML and Images
    file. I then create the webpage in dreamweaver with the pop-up menu
    and save the file. When burning to a disc, the pop-up menu will not
    link back to the document it is trying to open. It states at the
    bottom of the page "Error on Page" and when I click for details it
    says "Problems with this web page might prevent it from being
    displayed properly.
    Line: 486
    Char: 18
    Error: Access is denied.
    Code: 0
    URL: file://C:\Documents and Settings\A637026\Application
    Data\Microsoft\CD Burning\ and then the html file
    Any help?

    I export a pop-up menu from Fireworks as an HTML and Images
    file. I then create the webpage in dreamweaver with the pop-up menu
    and save the file. When burning to a disc, the pop-up menu will not
    link back to the document it is trying to open. It states at the
    bottom of the page "Error on Page" and when I click for details it
    says "Problems with this web page might prevent it from being
    displayed properly.
    Line: 486
    Char: 18
    Error: Access is denied.
    Code: 0
    URL: file://C:\Documents and Settings\A637026\Application
    Data\Microsoft\CD Burning\ and then the html file
    Any help?

  • TS3147 My printer was no longer being detected, so I uninstalled it and when I went to reinstall it I discovered that I no longer have a printer pop up menu to select my printer.

    I had a power failure and then began getting a message that the printer (Canon Pixma 610) was not detected. So, I unplugged it from the computer, restarted the computer and no change. The printer was still showing as the default printer, but not being detected. So I deleted the printer and then tried to reinstall it. However, when I clicked on the + sign to reinstall nothing came up. The screen was blank with no printer choices. I went to the Canon website to try and download the driver and received this message: There is no driver for the OS Version you selected. The driver may be included in your OS or you may not need a driver. I would appreciate any help...

    MSG2014 wrote:
    I finally contacted Canon and they informed me that my printer is not compatible with Maverick
    As Greg stated, the Canon support person is simply referring to what they see on the web and knosw nothing about Mac's. The reality is that the v10.8 driver will work on 10.9. You just may need to get past Gatekeeper to install it. So here is a link to the v10.8 driver. If you get a message stating that the driver is not signed and cannot be installed, then this is Gatekeeper blocking it. So to install it, right click (or Control-click) on the installer and select Open from the pop-up menu. Now you will have the option to install.
    The second issue is the printer not appearing in the Add printer window. The USB cable is often the cause as suggested already. Also USB hubs can be a cause. To check if the Mac can see the printer, open System Information and select USB in the left column. The top right pane will show all the USB busses in your Mac. The MP610 should be listed under one of these busses. If it is not present, then try another USB cable and/or another USB port on the Mac. Until you see the MP610 in this view, you will not be able to add the printer.

  • Best way to create pop-up menu's

    Hi All,
    I have been having a heck of a time doing something that i
    would have assumed to be relatively simple - specifically creating
    a pup-up menu.
    My first set of approach was to dynamically create a movie
    clip on a button rollover, and within that movieclip create several
    other movie clips that i then assigned actions too. The problem was
    that since i applied a action on "rollout" on the initial movie
    clip, it became a button, and as such all of the sub
    movieclips/buttons became in active (any click was only detected on
    the parent).
    My second set of attempts have been around the MenuComponent
    (see other posts), but here too i have hit problems, initially with
    animation and depth. I solved the animation issue, but the depth
    problem remains.
    Now, i see pop-up menu's everywhere, so i assume that this is
    a relatively simple problem - so what am i missing. A google search
    showed up lots of examples of how to do using menu that are created
    in the UI (rather than purely in AS), using purchased components.
    The first case is not an option since i need to create it fully
    dynamically, the second would be an option - however i typically
    need a far greater level of visual control than off the shelf
    components provide (hence i have needed to build up my own class
    library for many common tasks).
    So after all that, i have a simple question.
    "What is the best way to create a dynamic popup menu in
    AS2?"
    Regards
    Neil

    I guess you want to make your own popup menu, if I understand
    correctly. Nothing simpler, your first attempt was in the right
    direction, you just don't assign button actions to the parent clip,
    because you won't get the child clips to work, but add another
    child at the lowest level inside the parent, that acts as a
    "background" clip/button.
    And for the rollout for the entire popup, you can add a
    transparent clip just under the popup (which is at the currently
    topmost depth) covering the entire stage, give it rollover that
    acts as your rollout, and make it not use the hand currsor, so you
    can't tell it's there.
    That's how I do it, anyways..

  • JComboBox event notification when select first entry in pop-up menu JDK 6

    I recently began testing a Java GUI, I originally developed with JDK 1.5.0_11, with JDK 1.6.0_3. I have used the JComboBox in several applications developed using JDK 1.3.x and 1.4.x over the years. In every one of these earlier JDKs the JComboBox widgets all behaved the same. When you select the JComboBox widget, the pop-up menu appears and you can select any of the items from the menu list. Having made the selection with either a mouse click or a key press, an event notification is sent. Typically, an ActionEvent as well as either a mouse click event or a keypressed event may be sent. When testing with 1.6.0_x versions of the JDK and JRE, I can't account for any event notification being sent when selecting the first item at the top of the pop-up menu as the initial selection. If I select some other item on the list and then the first item, it works as it is supposed to work, but only after selecting another item first.
    I've placed the JComboBox in a JDialog and a JPanel. There are NO AWT widgets in any containers of the application. The same behavior seems to exist regardless of what other containing Swing component I place the JComboBox in. I'm running these applications on Windows XP, service pack 2. The system is an AMD 64 bit dual processor with 4Gb of RAM. The essential code follows:
    private JComboBox getJcboAlias()
        /* Note here that I am using a defaultComboModel as I have always done */
       jcboAliases = new JComboBox(urls);
       *jcboAliases.setEditable(false);*                               // Note here that the JComboBox is NOT editable
       jcboAliases.addActionListener(new ActionListener()   // ActionListener only receives a notification if the second or
       {                                                                            // another item in the pop-menu list is selected...but never the
          public void actionPerformed(ActionEvent ae)           // first item in the list
             String s = (String) jcboAliases.getSelectedItem();
             for (int i = 0; i < connections.size(); i++)
                conAlias = (String[]) connections.get(i);
                if (s.equals(conAlias))
    isSelected = true;
    break;
    jlblName.setVisible(true);
    jlblAlias.setVisible(true);
    jlblUID.setVisible(true);
    jlblPWD.setVisible(true);
    jtxtName.setText(conAlias[0]);
    jtxtName.setVisible(true);
    jtxtAddress.setText(conAlias[1]);
    jtxtAddress.setVisible(true);
    jtxtUID.setText(conAlias[2]);
    jtxtUID.setVisible(true);
    jtxtPWD.setVisible(true);
    jtxtPWD.setText("");
    jtxtPWD.requestFocus();
    return jcboAliases;
    }    I'm using a non-editable JComboBox because there is a pop-up menu with this and not with the JList widget.  JComboBox behaves more like the JList MicroSoft counterpart.  Another code snippet follows in which the JComboBox is editable.  The same errant behavior occurs when selecting the first item from the pop-up menu: private JComboBox getJcboPCMember()
    jcboPCMember = new JComboBox(PCViewerCustom.getCurrentMembers());
    jcboPCMember.setBounds(250, 103, 180, 20);
    jcboPCMember.setToolTipText("PATHCHECK(ER) member name - Example: CKPPTHCK");
    jcboPCMember.setSelectedIndex(Integer.valueOf(PCViewerCustom.getCurrentHost(3)));
    jcboPCMember.setEditable(true); // Note here that this JComboBox IS editable
    jcboPCMember.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    if (ae.getActionCommand().equals("comboBoxEdited"))
    boolean copy = false;
    for (int i = 0; i < jcboPCMember.getItemCount(); i++)
    if (jcboPCMember.getSelectedItem().equals(jcboPCMember.getItemAt(i)))
    copy = true;
    break;
    if (!copy)
    if (jcboPCMember.getItemCount() > 0)
    if (jcboPCMember.getItemAt(0).equals("No Entries"))
    jcboPCMember.removeItem("");
    jcboPCMember.removeItem("No Entries");
    jcboPCMember.insertItemAt((String) jcboPCMember.getSelectedItem(), 0);
    else
    jcboPCMember.removeItem("");
    jcboPCMember.addItem((String) jcboPCMember.getSelectedItem());
    enableJbtnOK();
    else
    if (jcboPCMember.getSelectedIndex() >= 0)
    PCViewerCustom.setCurrentHost(3, Integer.toString(jcboPCMember.getSelectedIndex()));
    enableJbtnOK();
    else
    JOptionPane.showMessageDialog(null, "Name not selected", "Error", JOptionPane.ERROR_MESSAGE);
    return jcboPCMember;
         I am able to add a new entry to the JComboBox, however, I am still unable to select the first item from the pop-up menu and fire any kind of notification event.  I have not seen this behavior before in any earlier versions of the JDK and it's playing havoc with my ability to deploy the application into a JDK or JRE V6 environment, without adding a bunch of additional code to pre-select the first item on the list, which pretty much defeats the purpose of the JComboBox.  I'll be the first to admit I've done something wrong, but i've built a number of test scenarios now on two systems runing Win XP SP2 and I get the same errant behavior.  I've also added in event listeners for a MouseListerner, a KeyListener and an ItemListener.  Still no event notification on this first item in the list.  Again, however, if I select one of the other items from the pop-up menu list and then select the first item, all is well.  Imagine selling that method of operation to a user....  It occurs to me that this must be a bug in the V6 JComboBox.  I wanted to post this here first, however, in order to determine if this is, in fact, a bug - in other words, am I the only one seeing this, or is this a more widespread issue?  Any assistance in making this determination is greatly appreciated.
    David Baker
    Edited by: Galstuk on Nov 27, 2007 12:21 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    here is the other file as well:
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    VI2.vi ‏5 KB

  • Using TreeViewer and creating a pop-up menu?

    I am using Eclipse Ganymede(3.1?) to write my program. This project has multiple parts(most issues/progress can be tracked back in java-forums.org) and I am trying to get the last bit of my GUI finished. I have a TreeViewer that displays on top of a composite display(not a component) which is why I haven't been able to find a solution that works for me. My tree is interactive(double click nodes to expand, deepest nodes open up an editor view, auto refresh new nodes/deletes etc) and I'm trying to make a pop-up menu appear on right click that would give all the options the File menu gives. I haven't been able to find a work around on how to attach the menu since my TreeViewer is based on a composite instead of a component there is no where to attach the menu. I have been working on this one issue for a week with no progress and am at the point where I'm tempted to rewrite my entire project using JPanel and JPanes and Tree but I REALLY don't want to have to do this. This is my createPartControl method with the relevent sections.
    public void createPartControl(final Composite parent) {
    //          final Tree tree = new Tree(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
              treeViewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
    //          treeViewer = new TreeViewer(tree);
              treeViewer.setContentProvider(new ViewContentProvider());
              treeViewer.setLabelProvider(new ViewLabelProvider());
              treeViewer.setInput(createDummyModel());
    //Double click listener
              treeViewer.addOpenListener(new IOpenListener() {
                   public void open(final OpenEvent event) {
                        //double click expands/shrinks nodes, opens up target editors
    //Selection listener
              treeViewer.addSelectionChangedListener(new ISelectionChangedListener() {
                      public void selectionChanged(SelectionChangedEvent event) {
                           final IActionBars bars = getViewSite().getActionBars();
                           selObj = ((IStructuredSelection) event.getSelection()).getFirstElement();                      
                                      //...outputs selection to status bar
    //Mouse listener
              treeViewer.getTree().addMouseListener(new MouseAdapter(){
                 public void mouseUp(MouseEvent event){
                      if(event.button==3){         //right click
                           System.out.println(event.getSource());        //Tree{ }
                           System.out.println(event.display);             //org.eclipse.swt.widgets.Display@1e328e0
                           if(selObj instanceof Server){
                                System.out.println(treeViewer.getControl().toString());          //Same as event.getSource()
                                               /*code to have menu appear goes here*/
                                System.out.println("Server Menu");
                                //Delete Server
                                //Edit Server
                                //View Properties
         }Does anybody know a way I can attach a popup menu to the node I click on or if it's possible(and if so how would I go about) attaching it to the display beneath the TreeViewer and somehow setting the focus or making the popup a heavy component so it would appear on top?
    P.S there's alot more superfluous code in the listeners but they don't pertain to this so I removed them.

    Can anyone confirm that what I'm trying to do is not possible? I found this link which states an SWT bug of the header not being a control so it become unattachable. http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg38040.html
    Any truth in this and if so where can I track progress of the bug?

  • Using COUNTIF on time values in pop-up menu (employee schedule template)

    I have modified the Numbers employee schedule template to my liking and it works very well. I would like to add a column to the beginning which shows, at a glance, how many people I have scheduled for AM shifts and PM shifts on a given day. My AM shifts start at 9:00 AM and my PM shifts end at 6:30 or 8:30 PM.
    So I thought I could use COUNTIF, but after I set the array, I cannot get the condition right to return anything except "0". How do you make it detect the appropriate times? The times in each cell for In and Out times are selected using a pop-up menu, just like the template.
    Here is what I tried: =COUNTIF(E3:AE3,"9:00 AM")
    What should the condition be to return a proper count?

    ac,
    You shouldn't feel badly about having trouble with this template. It is a rather tricky one. The values in the Pop-Up menus are Date/Time values. That is to say, they have year, month, day, hour and minute components, even if only the hours and minutes are displayed. So if you only compare to the hours and minutes, you will never get a match.
    I don't know if you have experienced this yet, but when you changed the Pop-Up menu content, you probably entered the current year, month and day unknowingly and will have trouble doing math against the Pop-Up content that was originally in the template.
    My suggestion in your case would be to convert the time references to decimal hours before doing a comparison. For instance, if the time you wish to compare to is in cell C4, you could extract the decimal hours with =HOUR(C4)+MINUTE(C4)/60
    Remember that the hours will reflect a 24-hour day, so times in the afternoon will run from 12.0 to 23.99...
    Then after converting to decimal, instead of using "9:00 AM" for the COUNTIF criteria, use 9.
    There are probably ways to do this using the Duration format as well, but I prefer the decimal hours.
    Hope this helps.
    Jerry

  • Need Help: JTable POP up menu in a CellEditor to display on a right click

    This was from a previous post:
    I am trying to make a POP menu in a JTextComponent that has a assigned JEditorPane for a HTMLDocument to make use of the HTMLEditorKit to allow modifying HTML by the POP up menu.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.table.*;
    import javax.swing.text.html.*;
    import javax.swing.undo.*;
    import javax.swing.border.*;
    import javax.swing.filechooser.*;
    public class SimpleTableDemo extends JFrame {
        public SimpleTableDemo() throws Exception {
            final JTable table = new JTable(new MyTableModel());
            table.setPreferredScrollableViewportSize(new Dimension(500, 70));
            TableColumn fileColumn = table.getColumnModel().getColumn(2);
            FileTableCellEditor editor = new FileTableCellEditor();
            fileColumn.setCellRenderer(editor);
            fileColumn.setCellEditor(editor);
            JScrollPane scrollPane = new JScrollPane(table);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                System.exit(0);
                table.setRowHeight(100);
            public static void main(String[] args) throws Exception {
                SimpleTableDemo frame = new SimpleTableDemo();
                frame.pack();
                frame.setVisible(true);
            class MyTableModel extends AbstractTableModel {
                String[] columnNames = {"First Name","Last Name","HTML File"};
                public Object[][] data;
                MyTableModel() throws Exception
                    data = createArray();
                private Object[][] createArray() throws Exception
                    Object[][] data = {{"One", "Andrews", createDoc("file1.html")}
                return data;
                private Document createDoc(String url) throws Exception
                    File file = new File(url);
                    URL baseURL = file.toURL();
                    InputStream in = baseURL.openStream();
                    InputStreamReader r = new InputStreamReader(filterTag(in));
                    HTMLEditorKit kit = new HTMLEditorKit();
                Document doc = kit.createDefaultDocument();
                kit.read(r,doc,0);
                return doc;
                } // workaround for HTMLEditorKit.Parser, cant deal with "content-encoding"
                private InputStream filterTag(InputStream in) throws IOException {
                    DataInputStream dins = new DataInputStream( in);
                    ByteArrayOutputStream bos = new ByteArrayOutputStream(10000);
                    DataInputStream din = new DataInputStream(new BufferedInputStream(in));
                    while (din.available() > 0) {
                    String line = din.readLine();
                    String lline = line.toLowerCase();
                    if (0 <= lline.indexOf("<meta ")) // skip meta tags
                    continue;
                    bos.write( line.getBytes());
                    din.close();
                    return new ByteArrayInputStream( bos.toByteArray());
                public int getColumnCount() {
                    return columnNames.length;
                public int getRowCount() {
                    return data.length;
                public String getColumnName(int col) {
                    return columnNames[col];
                public Object getValueAt(int row, int col) {
                    return data[row][col];
                public Class getColumnClass(int c) {
                    return getValueAt(0, c).getClass();
                public boolean isCellEditable(int row, int col) {
                if (col >< 1) {
                    return false;
                } else {
                    return true;
    public class FileTableCellEditor extends JScrollPane implements TableCellEditor , TableCellRenderer
        public JTextComponent jtext;
        JEditorPane editor;
        HTMLEditorKit kit = new HTMLEditorKit();
        HTMLDocument doc = new HTMLDocument();;
        private EventListenerList listenerList = new EventListenerList();
        private ChangeEvent event = new ChangeEvent(this);
        public FileTableCellEditor()
        editor = new JEditorPane();
        editor.setContentType("text/html");
        doc=new HTMLDocument();
        editor.addMouseListener(new MouseHandler());
        editor.setEditorKit(kit);
        editor.setDocument(doc);
        editor.setEditable(true);
        editor.setCaretColor(Color.RED);
        getViewport().setView(editor);
        setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
        setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        public Component getTableCellRendererComponent(JTable table, Object value,
        boolean isSelected, boolean hasFocus, int row, int column)
            // System.out.println("has focus: "+hasFocus+", isSelected: "+isSelected);
            if (isSelected)
            table.editCellAt(row,column);
        table.editCellAt(row,column);
        return getTableCellEditorComponent(table,value,isSelected, row, column);
        public Component getTableCellEditorComponent(JTable table,
        Object value, boolean isSelected, int row, int column)
        editor.setDocument((Document)value);
        return this;
        public boolean isCellEditable(EventObject anEvent)
        { return true;
        public boolean shouldSelectCell(EventObject anEvent)
        { return true;
        public void cancelCellEditing()
        { fireEditingStopped();
        public boolean stopCellEditing()
        { return true;
        public Object getCellEditorValue()
        { return null;
        public void addCellEditorListener(CellEditorListener l)
        { listenerList.add(CellEditorListener.class, l);
        public void removeCellEditorListener(CellEditorListener l)
        { listenerList.remove(CellEditorListener.class, l);
        protected void fireEditingStopped()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingStopped(event);
        protected void fireEditingCanceled()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingCanceled(event);
            ///////////createPopupMenu///////////////
            protected JPopupMenu createPopupMenu()
            JPopupMenu popup =new JPopupMenu();
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.cutAction)).setAccelerator(null);
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.copyAction)).setAccelerator(null);
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.pasteAction)).setAccelerator(null);
            popup.addSeparator();
            popup.add(getTextComponent().getActionMap().get("font-bold"));
            popup.add(getTextComponent().getActionMap().get("font-italic"));
            popup.add(getTextComponent().getActionMap().get("font-underline"));
            //popup.add(getTextComponent().getActionMap().get("break"));
            return popup;
        public JTextComponent getTextComponent()
             return jtext;
        protected class MouseHandler extends MouseAdapter{
           public void mouseReleased(MouseEvent me){
               if(me.getButton()==MouseEvent.BUTTON3){
               Point p=me.getPoint();
               createPopupMenu().show((Component)me.getSource(),p.x,p.y);
    }

    I got the pop up to work, I had to go back to and add a createActionTable editor that is a JEditorPane, vs the JTextComponent!
    Here is the latest version:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.HashMap;
    import javax.swing.*;
    import javax.swing.undo.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.table.*;
    import javax.swing.text.html.*;
    import javax.swing.undo.*;
    import javax.swing.border.*;
    import javax.swing.filechooser.*;
    public class SimpleTableDemo extends JFrame {
        public SimpleTableDemo() throws Exception {
            final JTable table = new JTable(new MyTableModel());
            table.setPreferredScrollableViewportSize(new Dimension(500, 70));
            TableColumn fileColumn = table.getColumnModel().getColumn(2);
            FileTableCellEditor editor = new FileTableCellEditor();
            fileColumn.setCellRenderer(editor);
            fileColumn.setCellEditor(editor);
            JScrollPane scrollPane = new JScrollPane(table);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                System.exit(0);
                table.setRowHeight(100);
            public static void main(String[] args) throws Exception {
                SimpleTableDemo frame = new SimpleTableDemo();
                frame.pack();
                frame.setVisible(true);
            class MyTableModel extends AbstractTableModel {
                String[] columnNames = {"First Name","Last Name","HTML File"};
                public Object[][] data;
                MyTableModel() throws Exception
                    data = createArray();
                private Object[][] createArray() throws Exception
                    Object[][] data = {{"One", "Andrews", createDoc("file1.html")}
                return data;
                private Document createDoc(String url) throws Exception
                    File file = new File(url);
                    URL baseURL = file.toURL();
                    InputStream in = baseURL.openStream();
                    InputStreamReader r = new InputStreamReader(filterTag(in));
                    HTMLEditorKit kit = new HTMLEditorKit();
                Document doc = kit.createDefaultDocument();
                kit.read(r,doc,0);
                return doc;
                } // workaround for HTMLEditorKit.Parser, cant deal with "content-encoding"
                private InputStream filterTag(InputStream in) throws IOException {
                    DataInputStream dins = new DataInputStream( in);
                    ByteArrayOutputStream bos = new ByteArrayOutputStream(10000);
                    DataInputStream din = new DataInputStream(new BufferedInputStream(in));
                    while (din.available() > 0) {
                    String line = din.readLine();
                    String lline = line.toLowerCase();
                    if (0 <= lline.indexOf("<meta ")) // skip meta tags
                    continue;
                    bos.write( line.getBytes());
                    din.close();
                    return new ByteArrayInputStream( bos.toByteArray());
                public int getColumnCount() {
                    return columnNames.length;
                public int getRowCount() {
                    return data.length;
                public String getColumnName(int col) {
                    return columnNames[col];
                public Object getValueAt(int row, int col) {
                    return data[row][col];
                public Class getColumnClass(int c) {
                    return getValueAt(0, c).getClass();
                public boolean isCellEditable(int row, int col) {
                if (col < 1) {
                    return false;
                } else {
                    return true;
    public class FileTableCellEditor extends JScrollPane implements TableCellEditor , TableCellRenderer
        JEditorPane editor = new JEditorPane();
        HTMLEditorKit kit = new HTMLEditorKit();
        HTMLDocument doc = new HTMLDocument();;
        private EventListenerList listenerList = new EventListenerList();
        private ChangeEvent event = new ChangeEvent(this);
        HashMap<Object, Action> actions;
        public FileTableCellEditor()
        getContentPane();
        editor.setContentType("text/html");
        doc=new HTMLDocument();
        editor.addMouseListener(new MouseHandler());
        editor.setEditorKit(kit);
        editor.setDocument(doc);
        editor.setEditable(true);
        editor.setCaretColor(Color.RED);
        getViewport().setView(editor);
        createActionTable(editor);
        makeActionsPretty();
        setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
        setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        public void makeActionsPretty(){
             Action a;
                      a=editor.getActionMap().get(HTMLEditorKit.cutAction);
                      a.putValue(Action.SHORT_DESCRIPTION,"Cut");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('X',Event.CTRL_MASK));
                      a=editor.getActionMap().get(HTMLEditorKit.copyAction);
                      a.putValue(Action.NAME,"Copy");
                      a.putValue(Action.SHORT_DESCRIPTION,"Copy");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('C',Event.CTRL_MASK));
                      a=editor.getActionMap().get(HTMLEditorKit.pasteAction);
                      a.putValue(Action.NAME,"Paste");
                      a.putValue(Action.SHORT_DESCRIPTION,"Paste");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('V',Event.CTRL_MASK));
        public Component getTableCellRendererComponent(JTable table, Object value,
        boolean isSelected, boolean hasFocus, int row, int column)
            if (isSelected)
            table.editCellAt(row,column);
        table.editCellAt(row,column);
        return getTableCellEditorComponent(table,value,isSelected, row, column);
        public Component getTableCellEditorComponent(JTable table,
        Object value, boolean isSelected, int row, int column)
        editor.setDocument((Document)value);
        return this;
        public boolean isCellEditable(EventObject anEvent)
        { return true;
        public boolean shouldSelectCell(EventObject anEvent)
        { return true;
        public void cancelCellEditing()
        { fireEditingStopped();
        public boolean stopCellEditing()
        { return true;
        public Object getCellEditorValue()
        { return null;
        public void addCellEditorListener(CellEditorListener l)
        { listenerList.add(CellEditorListener.class, l);
        public void removeCellEditorListener(CellEditorListener l)
        { listenerList.remove(CellEditorListener.class, l);
        protected void fireEditingStopped()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingStopped(event);
        protected JPopupMenu createPopupMenu()
            JPopupMenu popup =new JPopupMenu();
            popup.add(getActionByName(DefaultEditorKit.cutAction));
            return popup;
        protected class MouseHandler extends MouseAdapter{
           public void mouseReleased(MouseEvent me){
               if(me.getButton()==MouseEvent.BUTTON3){
               Point p=me.getPoint();
               createPopupMenu().show((Component)me.getSource(),p.x,p.y);
        private void createActionTable(JTextComponent textComponent) {
            actions = new HashMap<Object, Action>();
            Action[] actionsArray = textComponent.getActions();
            for (int i = 0; i < actionsArray.length; i++) {
                Action a = actionsArray;
    actions.put(a.getValue(Action.NAME), a);
    private Action getActionByName(String name) {
    return actions.get(name);

  • How can I show a pop up menu based on the selection in a previous pop up menu?

    For example, if "Company" is selected in a pop up menu in C6, then show another pop up menu in C7. if "Bob" is selected in a pop up menu C7, show another pop up menu that contains the talks "Bob" has in C8.
    I am trying to create a talk scheduling spreadsheet with different talk outlines for different speakers. I'm not sure if there are any functions or formulas that can accomplish this. Can anyone help?

    Pop-up menus contain fixed values in Numbers. You might be able to do this using Steppers or sliders. These produce a numerical result, which could be used to direct a second slider or stepper's output to a specific column or table.
    If you can provide a map of the structure of your list(s), there may be someone here able to take on the task of constructing the tools to do the job.
    Regards,
    Barry

  • Troubleshooting pop-up menu in Dreamweaver 8

    Hello,
    I'm using Macromedia Dreamweaver 8.
    1. Created a pop-menu woith 6 items all linking to 6 different anchors in a different page.
    2. The first 5 items work fine - they link up to the 5 anchors in the destination page.
    3. The 6th item when clicked simply closes the pop-menu and does not link to the anchor in the destination page.
        (Completely checked the anchor name and also tested that anchor by linking from a different page).
    Please reply asap.Please see HTML Code below:
    thanks
    allen
    DSM Home.html
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Dying Seed Home</title>
    <link href="DS_Home/DS_Home.css" rel="stylesheet" type="text/css" media="all"/>
    <script language="JavaScript">
    <!--
    function mmLoadMenus() {
    if (window.mm_menu_0802105338_0) return;
    window.mm_menu_0802105338_0 =  new Menu("root",120,23,"Arial Unicode  MS",11,"#000000","#000000","#3399FF","#CCCCCC","le   ft","middle",3,2,1000,-5,7,true,false,true,10,false,false);
    mm_menu_0802105338_0.addMenuItem("History","window  .open('About Us/Dark About Us.html#HISTORY', '_parent');");
    mm_menu_0802105338_0.addMenuItem("Milestones","win  dow.open('About Us/Dark About Us.html#MILESTONES', '_parent');");
    mm_menu_0802105338_0.addMenuItem("Mission Sta   tement","window.open('About Us/Dark About Us.html#MISSIONSTAT',  '_parent');");
    mm_menu_0802105338_0.addMenuItem("Faith State   ment","window.open('About Us/Dark About Us.html#FAITHSTAT',  '_parent');");
    mm_menu_0802105338_0.addMenuItem("Finance","window  .open('About Us/Dark About Us.html#FINANCE', '_parent');");
    mm_menu_0802105338_0.addMenuItem("Contact Us"  ,"window.open('About Us/Dark About Us.html#CONTACT', '_parent');");
    mm_menu_0802105338_0.fontWeight="bold";
    mm_menu_0802105338_0.hideOnMouseOut=true;
    mm_menu_0802105338_0.bgColor='#555555';
    mm_menu_0802105338_0.menuBorder=0;
    mm_menu_0802105338_0.menuLiteBgColor='#FFFFFF';
    mm_menu_0802105338_0.menuBorderBgColor='#777777';
    window.mm_menu_0803160751_0 = new Menu("root",172,23,"Arial Unicode  MS",11,"#000000","#000000","#3399FF","#CCCCCC","le   ft","middle",3,2,1000,-5,7,true,false,true,10,false,false);
    mm_menu_0803160751_0.addMenuItem("Administration",  "window.open('DS National/DS-National.html#ADMINS', '_parent');");
    mm_menu_0803160751_0.addMenuItem("Legacy","window.  open('DS National/DS-National.html#LEGACY', '_parent');");
    mm_menu_0803160751_0.addMenuItem("Departments","wi  ndow.open('DS National/DS-National.html#DEPTS', '_parent');");
    mm_menu_0803160751_0.addMenuItem("All India",  "window.open('DS National/DS-National.html#ALLINDIA', '_parent');");
    mm_menu_0803160751_0.addMenuItem("National Pr   omotion","window.open('DS National/DS-National.html#NATPROMO',  '_parent');");
    mm_menu_0803160751_0.addMenuItem("Dying Seed&   nbsp;Vision Institute","window.open('DS  National/DS-National.html#DSVI', '_parent');");
    mm_menu_0803160751_0.fontWeight="bold";
    mm_menu_0803160751_0.hideOnMouseOut=true;
    mm_menu_0803160751_0.bgColor='#555555';
    mm_menu_0803160751_0.menuBorder=0;
    mm_menu_0803160751_0.menuLiteBgColor='#FFFFFF';
    mm_menu_0803160751_0.menuBorderBgColor='#777777';
    window.mm_menu_0804102108_0 = new Menu("root",138,23,"Arial  Unicode MS",11,"#000000","#000000","#3399FF","#CCCCCC","le   ft","middle",3,2,1000,-5,7,true,false,true,10,true,false);
    mm_menu_0804102108_0.addMenuItem("Call &&amp;   nbsp;Vision","window.open('DS  International/DS-International.html#CALLVISN', '_parent');");
    mm_menu_0804102108_0.addMenuItem("Patrons &&a   mp;nbsp;Partners","window.open('DS  International/DS-International.html#PATPART', '_parent');");
    mm_menu_0804102108_0.addMenuItem("Overseas Mi   nistry","window.open('DS International/DS-International.html#OVERMISS',  '_parent');");
    mm_menu_0804102108_0.addMenuItem("Contact Us"  );
    mm_menu_0804102108_0.fontWeight="bold";
    mm_menu_0804102108_0.hideOnMouseOut=true;
    mm_menu_0804102108_0.bgColor='#555555';
    mm_menu_0804102108_0.menuBorder=0;
    mm_menu_0804102108_0.menuLiteBgColor='#FFFFFF';
    mm_menu_0804102108_0.menuBorderBgColor='#777777';
    mm_menu_0804102108_0.writeMenus();
    } // mmLoadMenus()
    function MM_initTimelines() { //v4.0
    //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
    var ns = navigator.appName == "Netscape";
    var ns4 = (ns && parseInt(navigator.appVersion) == 4);
    var ns5 = (ns && parseInt(navigator.appVersion) > 4);
    var macIE5 = (navigator.platform ? (navigator.platform == "MacPPC") :  false) && (navigator.appName == "Microsoft Internet Explorer")  && (parseInt(navigator.appVersion) >= 4);
    document.MM_Time = new Array(1);
    document.MM_Time[0] = new Array(1);
    document.MM_Time["Timeline1"] = document.MM_Time[0];
    document.MM_Time[0].MM_Name = "Timeline1";
    document.MM_Time[0].fps = 15;
    document.MM_Time[0][0] = new String("sprite");
    document.MM_Time[0][0].slot = 1;
    if (ns4)
    document.MM_Time[0][0].obj = document["Layer2"];
    else if (ns5)
    document.MM_Time[0][0].obj = document.getElementById("Layer2");
    else
    document.MM_Time[0][0].obj = document.all ? document.all["Layer2"] : null;
    document.MM_Time[0][0].keyFrames = new Array(1, 15);
    document.MM_Time[0][0].values = new Array(5);
    if (ns5 || macIE5)
    document.MM_Time[0][0].values[0] = new Array("318px", "318px",  "318px", "318px", "318px", "318px", "318px", "318px", "317px", "317px",  "317px", "317px", "317px", "317px", "317px");
    else
    document.MM_Time[0][0].values[0] = new Array(318,318,318,318,318,318,318,318,317,317,317,  317,317,317,317);
    document.MM_Time[0][0].values[0].prop = "left";
    if (ns5 || macIE5)
    document.MM_Time[0][0].values[1] = new Array("78px", "78px",  "79px", "79px", "79px", "79px", "80px", "80px", "80px", "81px", "81px",  "81px", "81px", "82px", "82px");
    else
    document.MM_Time[0][0].values[1] = new Array(78,78,79,79,79,79,80,80,80,81,81,81,81,82,82  );
    document.MM_Time[0][0].values[1].prop = "top";
    if (!ns4) {
    document.MM_Time[0][0].values[0].prop2 = "style";
    document.MM_Time[0][0].values[1].prop2 = "style";
    if (ns5 || macIE5)
    document.MM_Time[0][0].values[2] = new Array("0px", "0px",  "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px",  "0px", "0px", "0px");
    else
    document.MM_Time[0][0].values[2] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
    document.MM_Time[0][0].values[2].prop = "width";
    if (!ns4)
    document.MM_Time[0][0].values[2].prop2 = "style";
    if (ns5 || macIE5)
    document.MM_Time[0][0].values[3] = new Array("0px", "0px",  "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px", "0px",  "0px", "0px", "0px");
    else
    document.MM_Time[0][0].values[3] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
    document.MM_Time[0][0].values[3].prop = "height";
    if (!ns4)
    document.MM_Time[0][0].values[3].prop2 = "style";
    document.MM_Time[0][0].values[4] = new Array("0","0");
    document.MM_Time[0][0].values[4].prop = "zIndex";
    if (!ns4)
    document.MM_Time[0][0].values[4].prop2 = "style";
    document.MM_Time[0].lastFrame = 15;
    for (i=0; i<document.MM_Time.length; i++) {
    document.MM_Time[i].ID = null;
    document.MM_Time[i].curFrame = 0;
    document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
    //-->
    </script>
    <script language="JavaScript" src="DS_Home/mm_menu.js"></script>
    </head>
    <body>
    <script language="JavaScript1.2">mmLoadMenus();</script>
    <h1 align="center"><img src="Images/Dark_Wheat banner.jpg"  alt="" name="WheatBanner" width="1085" height="230" id="WheatBanner"  /></h1>
    <div id="Layer1">
    <p align="center"><span class="verse1">Unless a grain of wheat falls into the
    earth and dies, it remains alone, but if it dies it bears much fruit. John
    12:24</span></p>
    </div>
    <div id="Layer2" width="50" align="center"><span class="welcome">Welcome to Dying
    Seed!</span> </div>
    <div id="Layer6" align="center">
    <p align="right" class="slogan">Dying Seed is carved in
    this stone: &lsquo;You gain by losing; you reap by sowing; you live by dying&rsquo;<br /><br />
    </p>
    </div>
    <div id="Layer12"><span class="slogan">.&hellip;.and when God&rsquo;s hand carves,
    never miss it!</span></div>
    <h1 align="center" class="slogan"> </h1>
    <div id="Layer7"><img src="Images/pinned-up2.jpg" width="200" height="262" alt="pics" /></div>
    <div id="Layer5">
    <table width="915" height="41" align="center">
    <tr>
    <th width="125" align="center" valign="bottom"  scope="col"><span class="menutxt"> <a href="#" name="link4"  id="link1" onmouseover="MM_showMenu(window.mm_menu_0802105338   _0,0,-148,null,'link4')" onmouseout="MM_startTimeout();">About
    Us</a></span></th>
    <th width="183" align="center" valign="bottom"  scope="col"><span class="menutxt"><a href="#" name="link5"  id="link2" onmouseover="MM_showMenu(window.mm_menu_0803160751   _0,0,-148,null,'link5')" onmouseout="MM_startTimeout();">DS
    National</a></span></th>
    <th width="209" align="center" valign="bottom"  scope="col"><span class="menutxt"><a href="#" name="link7"  id="link3" onmouseover="MM_showMenu(window.mm_menu_0804102108   _0,0,-98,null,'link7')" onmouseout="MM_startTimeout();">DS
    International </a></span></th>
    <th width="222" align="center" valign="bottom" scope="col"><span class="menutxt"><a href="#">Future
    Objectives </a></span></th>
    <th width="152" align="center" valign="bottom"  scope="col"><span class="menutxt"><a  href="#">Gallery</a></span></th>
    </tr>
    </table>
    </div>
    <div id="Layer9">
    <div align="left"><span class="style1">Ever wondered about  the grandeur of  simplicity?</span>       &nb   sp;    <span class="style1">See
    our <a href="About Us/Dark About Us.html#HISTORY"  target="_parent"  class="blinks">History</a></span></div>
    </div>
    <div id="Layer10"><span class="style1">Or known what He can  do with rugged perseverance?</span>   <span  class="style1">Stop
    by our <a href="About Us/Dark About Us.html#MISSIONSTAT" class="blinks">Mission</a></span></div>
    <div id="Layer11">
    <div align="left"><span class="style1">But to know what  God is yet to do?</span><span  class="style1">     &nbsp    ;        &    nbsp;       &nb    sp;       &nbsp   ;     Stay
    with <a href="About Us/Dark About Us.html#CONTACT" class="blinks">us</a></span></div>
    </div>
    </body>
    </html>

    Step away from the keyboard.
    Don't use those pop-up menus. They are really awful.
    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    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
    ==================
    "aebell" <[email protected]> wrote in
    message
    news:ern5k6$b$[email protected]..
    > Hello,
    >
    > Someone please help me..... I can't get the show-pop up
    menu to work in
    > IE browser. What do I do?

  • Pop up menu

    I have a class that extends JPasswordField.
    no i need a thing like a pop up menu like in the windows when you have caps lock on i come up to tell you this way my users know that caps is active. i have done all of the back door stuff and at the moment it just prints out using System.out.println that caps is active. not the pop up so only last a short time but should not pause the program and should be independet of app just the password field i need the help to create the little pop up menu and to after let say 500ms close it.
    Please can you help me.
    it you would like to see the code i wil post it later.
    but if you under stand what i am needed then please can you help point me in the right direction. I think i would use a JWindow but then it would not move if the log in screen was moved so there has to be a better way of doing it.
    Thanks
    David

    thanks dose JWindow support if i put a .gif that has transparent part in it would it just leave the space blank so if i made an imageIcon added that to a JLabel and then to the JWindow add put that on top of the JFrame or what ever i have made as the parent . but then what happend if i move the JFrame. will the JWindow move with it.....
    here is the code that i have done that works but the pop up thing is buging me as i dont know how i am going to do it.
    package utils;
    import java.awt.event.*;
    import javax.swing.JPasswordField;
    import javax.swing.text.Document;
    import java.awt.Toolkit;
    * This class is just an extension of <Code>JPasswordField</Code> so that
    * it can tell the user that the caps lock is on when they enter the field
    * it also tells them if the caps is pressed while they are in the field.
    * and also if it was pushed in another application and then they go back to
    * the field.
    * @author David Rubin
    * @version 1.0
    public class CapsLockPasswordField extends JPasswordField
       boolean needsToBeChecked=true;
       public CapsLockPasswordField()
          super();
          addListnenster();
       public CapsLockPasswordField(String text)
          super(text);
          addListnenster();
       public CapsLockPasswordField(String text,int cols)
          super(text,cols);
          addListnenster();
       public CapsLockPasswordField(Document doc,String text,int cols)
          super(doc,text,cols);
          addListnenster();
       private void addListnenster()
          this.addFocusListener(new FocusAdapter(){
              public void focusGained(FocusEvent e){
                 checkForCapsLock();
              needsToBeChecked=false;
              public void focusLost(FocusEvent e){
                 checkForCapsLock();
                needsToBeChecked=true;
          this.addKeyListener(new KeyAdapter(){
             public void keyPressed(KeyEvent e){
                if(e.getKeyCode()==KeyEvent.VK_CAPS_LOCK)
                    needsToBeChecked=true;
                checkForCapsLock()  ;
                needsToBeChecked=false;
       private void checkForCapsLock()
          //this save us the trouble of checking if there is a caps on.
          if(!needsToBeChecked)
             return;
          boolean b= Toolkit.getDefaultToolkit().getLockingKeyState(
                KeyEvent.VK_CAPS_LOCK);
          if(b)
             //IN HERE YOU CAN DO ANY THING TO TELL THE USER THAT CAPS
            //LOCK IS ON
          //IS IT OK IF I GIVE THIS TO YOU
    //------------------------------->>>>>>>>>>>>>>>>>>
             System.out.println("Caps lock is on");
    }//----------------->>>>>>>>>>
    this is were is want to put a pop up so that it can be there to show use wha is going on.
    David

  • Pop up menu links dont work

    i have created a pop up menu in fw then brought it into my
    page using "fw insert html" into dw. saved the page as template. i
    then modified it w/ behaviours to have internal page links. i have
    already resolved the issue of the menu text showing thru the menu
    colors by adding a wider border and making it dark so they wont be
    seen. now the links from the pop up menu dont find the pages. i
    have partially resolved the issue on the first page view but once
    the page is found the menu doesnt work at all on the second page
    using the pop up menu that are duplicated into all the pages from
    the template.
    any ideas?? help!!

    Well, I found a coworker with CS4 and the popup menu editor appears to work.  Further confirming that this may be a bug.

Maybe you are looking for

  • How can I search for a string like a partial IP address in the global search

    When searching for a string like "10.255." the global search finds messages containing "255" or "10" and both. This happens no matter whether quotation is used or not. When quotation is used it probably will match on the given order as well, but beei

  • HT204065 iMessage message doesn't be delivered sometimes

    Hello, I use iMessage with my wife and messages don't be delivered sometimes. It says "sent" on my iPhone 6 but my wife doesn't see the message. We are both in Wi-Fi and 3G networks but there may be network issues instant. I send another messages the

  • About hr-abap(script)

    hi,          can any one send the program about script in hr-abap......inlcuding driver program and layout set,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

  • ACS 4.2 and EAP-TLS with AD and prefix problem

    Hi there we have the following situation: - 2 x ACS (1 x ACS SE 4.2 and 1 x ACS 4.2) for domain A - 2 x ACS (1 x ACS SE 4.2 and 1 x ACS 4.2) for domain B First of all, is it a problem to have an ACS SE and an ACS working together for one domain, I do

  • Creative Cloud Connection update error - U43M1D204

    Received an update request from the Adobe Application Manager for the "Creative Cloud Connection".  The error states "The download appears corrupted.  Press Cancel, wait a few minutes and try again (U43M1D204).  I tried this several times receiving t