Challenge popup menu,  css stylesheet and button in table component

Hello, in my last post i put the code of an example of popup menu but the only thing that need to run was a cdata tag. But in the example i only can open and close the popup menu in the top and left location that previously set in the css stylesheet .
1.- I need to create a popup menu that can be diplayed if i click on a button in a table component of creator
2.- The menu must waits and let me select the opcion I choose with a click otherrewise
3.- The menu must dissapear if i move the cursor mouse away of the menu,
I really need somebody helps me faster as u can, and i apreciate ur help, tnks!

The best thing to do would be to find an existing popup menu widget in a JavaScript library, like dojo (dojotoolkit.org). If you can't find an existing JavaScript widget that fulfills your needs, you can write your own. It won't be easy, but you can use Creator's Auto Complete Text Field's JavaScript as a model. If that is the case, look at both the JavaScript at http://sunapp2.whardy.com/AjaxSamples2/faces/static/META-INF/autocomplete/script.js and the HTML source of the page located at http://sunapp2.whardy.com/AjaxSamples2/faces/DemoAutoCompleteTextField.jsp which is a page that is part of the Creator AJAX component catalog (http://developers.sun.com/ajax/componentscatalog.jsp).

Similar Messages

  • How to add click popup menu to a row of a table.

    hi,
    I have a JTable with say 10 rows of data.
    On selecting a particular row and user right clicks then a popup menu should come.
    I dont want to attach popup to the JTable,instead i want it to be attached to the rows of the JTable.
    How to do it??
    Thanks & regards
    Neel

    You have no choice but to "attach" it to the JTable; it is the JTable which is
    receiving the events that you would use to trigger the popup.
    That said, there is nothing stopping you from displaying a different popup
    depending on which row was clicked on.
    : jay

  • Spry Tabbed Panels overwritting popup menu in IE6 and IE7 but display fine in Firefox

    I am new to Spry and Dreamweaver CS3 and would appreciate any
    help anyone can give. I am having an issue with Spry Tabbed Panels
    appearing above a navigation bar pop up menu only in IE6 and IE7.
    Everyhting works like expected in FF. I have several product pages
    that are exhibiting the same issue. I am not having this issue when
    using Spry Accordian. Would someone be able to educate me on what I
    can do to fix this problem. One of the product pages that is
    exhibiting this problem is
    Page
    with display issue

    The IE browsers implement z-indexing differently than most
    browsers ... specifically, IE browsers establish a new z-index
    context if you set the position CSS property of an element to
    anything other than static.
    What this means is that if you set something to
    position:relative ... any z-index values of children inside that
    element will be relative to that element.
    In your case, you seem to have a position relative on your
    div FWTableContainer1966866324. If you set the z-index value to
    something like 10, you'll notice that it fixes the problem.
    --== Kin ==--

  • CSS stylesheet and SWF works for Mac but not PC.

    PC converts stylesheet to notepad. Can't figure out how to fix the problem.

    This is what it looks like on a PC.....
    This is what it looks like on any mac....

  • How to create a splitted button with a popup menu?

    Hi,
    i am trying to build a button which can be clicked and an action is called (a normal button) and an addion to that basic function: there is on the right side of the button a seperated area with an arrow. If this arrow is clicked a popup menu becomes visible and you can choose a special action. This type of buttons (i don't know the name) can be seen by example in Eclipse or the Windows Media Player 11 or in Windows Vista).
    Here is an example image about what i mean: http://s2.imgimg.de/uploads/button56b4941cpng.png
    Can you tell me how to create a button with this possabilities?
    Please help me,
    greetings from germany,
    picard90

    hii,
    if you are want completed to define the Popup, then you have to define accesible areas,
    1/ create Popup (example from void)
    public void createPopupMenu() {
    JPopupMenu popup = new JPopupMenu();
    popup.addSeparator();
    ShowsManFxMenuItem = new JMenuItem("Show Details");
    ShowsManFxMenuItem.addActionListener((new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    //..some actions
    validate();
    repaint();
    popup.add(ShowsManFxMenuItem);
    MouseListener popupListener = new PopupListener(popup);
    //here is your listener directly to prepared object "yourButton"
    yourButton.addMouseListener(popupListener);
    2/ create POpupListener (example is class)
    class PopupListener extends MouseAdapter {
    JPopupMenu popup;
    PopupListener(JPopupMenu popupMenu) {
    popup = popupMenu;
    @Override
    public void mousePressed(MouseEvent e) {
    maybeShowPopup(e);
    @Override
    public void mouseReleased(MouseEvent e) {
    maybeShowPopup(e);
    //only in this block you can restrict anything with popup items (test anything and then to display all, only one, parts of them)
    private void maybeShowPopup(MouseEvent e) {
    if (e.isPopupTrigger()) {
    popup.show(e.getComponent(), e.getX(), e.getY());
    //these parts you can ingnore, but can covered extended events from popup
    public void actionPerformed(ActionEvent e) {
    JMenuItem source = (JMenuItem) (e.getSource());
    public void itemStateChanged(ItemEvent e) {
    JMenuItem source = (JMenuItem) (e.getSource());
    protected String getClassName(Object o) {// Returns just the class name -- no package info.
    String classString = o.getClass().getName();
    int dotIndex = classString.lastIndexOf(".");
    return classString.substring(dotIndex + 1);
    3/ I removed all my addition
    ... kopik

  • SHOWING POPUP MENU BY PRESSING BUTTON?

    Hello OTN members,
    The situation is as follows:
    On a Form i have Button, and by pressing the button it
    should bring up the popup menu ?
    Is the above condition possible by right clicking the
    button.
    Thanks for any suggestions.
    Sailesh
    null

    Sailesh (guest) wrote:
    : Hello OTN members,
    : The situation is as follows:
    : On a Form i have Button, and by pressing the button it
    : should bring up the popup menu ?
    : Is the above condition possible by right clicking the
    : button.
    : Thanks for any suggestions.
    : Sailesh
    Hi,
    You can have a popup menu attached to a button. So right click
    on that button will give you the pop up menu. (in property sheet
    of button, attach popup menu under functional section).
    I am not sure about bringing up a popup menu through
    when-button-pressed of a button. (unless you have a different
    canvas, containing your pop up menu...)
    Hope this can help.
    Thanks,
    Srinivasa Rao
    null

  • Where to put own JavaScript and CSS-Stylesheets in GlassFish ?

    Hi out there,
    we have some applications which are using external JavaScript libraries, CSS-Stylesheets and Images.
    On OHS we had a directory for those files which we aliases in dads.conf.
    Where do we have to put this directory when switching to GlassFish and Apex Listener ?
    Regards and thanks
    Markus

    Hi Markus,
    if you use the "regular" GlassFish, this shouldn't be a big issue. Just create a subdirectory in the GlassFish's docroot-directory for each alias you have now and copy the corresponding content into that directory. See "Copy Oracle Application Express Images" in the Listener documentation - the handling for other static content is similar to the handling for images.
    If you plan to test this with the Embedded Web Container (embedded GlassFish), this will not work that way, because you only have the fixed contexts for images, apex and the listener-internal functions.
    -Udo

  • Problem with fireworks popup menu in dreamweaver, has a huge box.

    hi, i made a popup menu in fireworks, and when i open that
    html page in dreamweaver, there is a huge white box around the
    popup menu area, so that i cant type anything under the menu or
    anywhere near it. i was wondering how i get rid of this white box.
    any help greatly appreciated. thanks. derek
    here is the code

    You have Dreamweaver, which is a wonderful and powerful
    program for building HTML. So
    why are you trying to build a navigation menu in Fireworks,
    which is a graphics program? Please. I beg you! Save yourself hours
    of headaches: create your graphics in Fireworks and your HTML in
    Dreamweaver.
    For example, this code would be impossible to maintain.
    Here's one of your navigation items:
    img src="untitled-4_r2_c2.gif" alt="" name="untitled4_r2_c2"
    width="98" height="48" border="0" id="untitled4_r2_c2"
    Do you even know which image this is or which link it's
    intended to take? Create your images with decent names like
    "contact.gif" or "products.gif" so you can write clear code.
    The first row and the first and last columns of your table
    have 1-pixel spacer gifs. Fireworks always puts in spacer gifs. If
    you're not aware of them, and take them out, you might get to later
    stages of your development process and wonder why you couldn't get
    your navigation menu to line up with everything else.
    As for that "big white box," it's a combination of the div
    the table is in and the 100% width on the table:
    div id="FWTableContainer1329034333
    table border="0" cellpadding="0" cellspacing="0" width="100"
    I have no idea what the div CSS is doing, but if I comment it
    out and take out the 100% width attribute on the table, then I get
    something that behaves more reasonably. FWTableContainer1329034333
    isn't in your code, but it still does something in my system, so
    either the long strings of numbers don't matter or it's coming from
    some place else and who knows what it is.
    My point is, that by letting Fireworks write bad code for
    you, you've set yourself up with something that doesn't work and is
    extremely difficult, if not impossible, to debug and maintain. Why
    would you do this to yourself?

  • How to place popup menu on clicking a Component

    Hi everybody.
    I have a swing application where I have JFrame and so many components in that. I want to open Popup menu on clicking a button. The menu should have three menu items into that. It looks very simple but I am not sure how should I do that.
    If possible, try to explain it with small piece of code.
    Thanks in advance.

    yourJbutton.addMouseListener(new MouseAdapter() { //Listen for mouse events
      public void mousePressed(MouseEvent e) {
        if (SwingUtilities.isRightMouseButton(e) == true && e.isMetaDown() == true) {
          JPopupMenu popup = new JPopupMenu();
          JMenuItem mItem = new JMenuItem("Something");
          mItem.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              // do your thing
          popup.add(mItem);
          popup.addSeparator();
          mItem = new JMenuItem("Close Popup");
          mItem.addActionListener(new ActionListener() {public void actionPerformed(ActionEvent e) {}});
          popup.add(mItem);
          popup.show(e.getComponent(), e.getX(), e.getY());
    });

  • JPopupMenu with JInternalFrame, popup menu doesn't work

    hi, i have this problem, as shown in the sample code at the end of this post.. basically, i have a table, and i added a JPopupMenu onto the table.. the popup menu works well when running the table class, though, when i call the table class in a JInternalFrame environment, the popup menu won't work.. anyone know why?
    ///Basic sample table code, when run this alone, the popup menu will work
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class TableBasic extends JPanel
         private JTable table;
         public TableBasic()
              String[] columnNames = { "Date", "String", "Integer", "Boolean" };
              Object[][] data =
                   {  { new Date(), "A", new Integer(1), Boolean.TRUE },
                        { new Date(), "B", new Integer(2), Boolean.FALSE },
                        { new Date(), "C", new Integer(9), Boolean.TRUE },
                        { new Date(), "D", new Integer(4), Boolean.FALSE}
              table = new JTable(data, columnNames)
                   //Returning the Class of each column will allow different
                   //renderers to be used based on Class
                   public Class getColumnClass(int column)
                        return getValueAt(0, column).getClass();
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane(table);
              add(scrollPane);
         public void createPopupMenu()
              JMenuItem menuItem;
              //Create the popup menu.
              JPopupMenu popup = new JPopupMenu();
              menuItem = new JMenuItem("A popup menu item");
              //menuItem.addActionListener(this);
              popup.add(menuItem);
              menuItem = new JMenuItem("Another popup menu item");
              //menuItem.addActionListener(this);
              popup.add(menuItem);
              //Add listener to the text area so the popup menu can come up.
              MouseListener popupListener = new PopupListener(popup);
              table.addMouseListener(popupListener);
         public static void main(String[] args)
              JFrame frame = new JFrame();
              TableBasic table = new TableBasic();
              table.createPopupMenu();
              frame.setContentPane(table);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.pack();
              //frame.setLocationRelativeTo(null);
              frame.setVisible(true);
         class PopupListener extends MouseAdapter
              JPopupMenu popup;
              PopupListener(JPopupMenu popupMenu)
                   popup = popupMenu;
              public void mousePressed(MouseEvent e)
                   maybeShowPopup(e);
              public void mouseReleased(MouseEvent e)
                   maybeShowPopup(e);
              private void maybeShowPopup(MouseEvent e)
                   if (e.isPopupTrigger())
                        popup.show(e.getComponent(), e.getX(), e.getY());
    ///when integrate the previous table into here, popup menu won't work
    import java.awt.*;
    import javax.swing.*;
    public class InternalFrameBasic
         extends JFrame
         //implements ActionListener
         private JDesktopPane desktop;
         private JInternalFrame menuWindow;
         public static final int desktopWidth = 800;
         public static final int desktopHeight = 700;
         public InternalFrameBasic(String title)
              super(title);
              //Set up the GUI.
              desktop = new JDesktopPane();
              desktop.putClientProperty("JDesktopPane.dragMode", "outline");
              //Because we use pack, it's not enough to call setSize.
              //We must set the desktop's preferred size.
              desktop.setPreferredSize(new Dimension(desktopWidth, desktopHeight));
              setContentPane(desktop);
              createMenuWindow();
              desktop.add(menuWindow); //DON'T FORGET THIS!!!
              Dimension displaySize = menuWindow.getSize();
              menuWindow.setSize(desktopWidth, displaySize.height);
         private void createMenuWindow()
              menuWindow =
                             new JInternalFrame("Event Watcher", true, //resizable
                                                                                                   true, //closable
                                                                                                   false, //not maximizable
                                                                                                   true); //iconifiable
              menuWindow.setContentPane(new TableBasic());
              menuWindow.pack();
              menuWindow.setVisible(true);
          * Create the GUI and show it.  For thread safety,
          * this method should be invoked from the
          * event-dispatching thread.
         private static void createAndShowGUI()
              //Make sure we have nice window decorations.
              //JFrame.setDefaultLookAndFeelDecorated(true);
              //Create and set up the window.
              JFrame frame = new InternalFrameBasic("Example Internal Frame");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              //Display the window.
              frame.pack();
              frame.setVisible(true);
         public static void main(String[] args)
              //Schedule a job for the event-dispatching thread:
              //creating and showing this application's GUI.
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    }

    table.createPopupMenu();The above line should not be in the main method. It should be in the constructor class of TableBasic.
    You never execute that method in your InternalFrameBasic class to the mouse listener never gets added to the table.

  • Can I apply one .css stylesheet to all of my linked word documents inside my RoboHelp8 HTML project?

    Hello all,
    I am on my fourthRoboHelp8 HTML project, after the other three crashed. I am a technical writer constructing my companies Policy and Procedures Guide. I am only 142 (word documents) and 9 (RoboHelp topics) into my project and there will be plenty more to come. I recently took Kevin Siegel's RoboHelp8 class where I determined that it would be best if I link all of my word documents inside of the Project Manager becuase I will be constantly updating these documents. I've searched around the Adobe Forums, talked to Kevin, and talked to my IT Department, but I cannot seem to find an answer for my problem.
    I have linked all of 142 word documents inside of the Project Manager, and all 142 word documents have their own .css stylesheet. I have assigned the default.css stylesheet (which I have assigned all of the proper formatting to headings 1-4 to match headings 1-4 inside of my Microsoft Word 2007 documents) under Project Settings under the Import tab. I also assigned this default.css stylesheet under WebHelp Pro. My understanding with applying the default.css stylesheet to these two places is that all of my word documents and topics should have this stylesheet applied to them.
    However, when I look at each individual linked word document the default stylesheet has not been assigned and the word document is still being dictated by its own stylesheet i.e. Credit.css. On my third project, before it crashed, I manually went through all 142 word documents in the Project Manager and assigned the default.css stylesheet to them. I did this by right clicking on the topic, under Appearance, I changed the stylesheet i.e. Credit.css to default.css and clicked apply. I was immediately prompted with the two options: "Preserve modifications to this file" or "Don't show me this message again." I tried both options. The first applied the default.css stylesheet and removed the Credit.css stylesheet, but when I made a change inside of my word document and updated it inside of the Project Manager none of my changes appeared. The second did not apply the default.css stylesheet and kept my Credit.css stylesheet applied to my word document. When I made a change inside of my word document and updated it inside of the Project Manager the change appeared.
    I talked about this to Kevin and he said that the individual stylesheet applied to each linked word document did not mean anything, essentially that by making the default.css stylesheet the dominant stylesheet under Project Settings under Import that the stylesheet would be applied to all of my linked word documents/topics. He also suggested that I make a change to the stylesheet like change the color of Heading 1 and link a new word document to see if it applied the changes. I tried doing this inside of my third project, but nothing changed.
    I would like to know if I can assign one stylesheet to all of my linked word documents before I get too far into the fourth project and have that project crash on me too. One of RoboHelp's appealing features is to apply one stylesheet to multiple topics, or in my case 142 word documents and 9 topics. I hope that I can apply one stylesheet to all of these linked word documents because having 142 individual stylesheets is unmanageable.
    Any help or suggestions would be greatly appreciated.
    Thank you,
    Roxxanne

    When a word document is imported into RoboHelp project, RoboHelp generates a separate stylesheet for each word document as each word document may have its own formatting styles. In a generic scenario, word documents may be brought from different sources and may have different styling. Hence, RoboHelp allows users to preserve different styling through sepearate stylesheets.
    However, for a different scenario like yours, RoboHelp allows users to override all the CSS and apply a single CSS to all the topics at the generation of output. As you have already mentioned that you have applied default.css in the WebHelp Pro SSL dialog, that should suffice and should meet your requirement of applying a single CSS to all the topics. You can verify the same at your end by linking few word files and generating the output with a single CSS applied in the SSL settings.
    Mayank

  • Popup menu.

    Sir,
    I have create popup menu in fireworks and export as html in dreamweaver but every time when i have make any change in menu when add some thing in menu or delete in menu and when i have export html each time it will change containeer id and the link which i have defined will not work.
    please help how to prevent containner id remain same when i have make any change in popup menu.
    Rajeev

    Rajeev:
    You don't tell us which Dreamweaver or Fireworks version you are using, so we can't really answer your question.  In general however, you should COMPLETELY avoid the use of the Fireworks popup menus (if FW8 or earlier this is an absolute requirement - if FWCS3 or CS4, it is a strong suggestion).  There are many other ways to make a menu that do not open the door to the many problems that these poorly conceived and implemented FW menus do.  Some of these methods are commercial (and some are VERY good), and some are not.
    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

  • Mouse icon issue/question in popup menu creaed in dreamweaver

    I have created a popup menu in dreamweaver and everything is fine except the popup menu items do not show a hand icon when mouse is over. It is an arrow or  a cursor blink. How can I make it so that it is a hand icon? Thanks.

    OK, here it is.
    Code from HTML created:
    <!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>Untitled Document</title>
    <script language="JavaScript">
    <!--
    function mmLoadMenus() {
      if (window.mm_menu_0817145255_0) return;
      window.mm_menu_0817145255_0 = new Menu("root",82,18,"Arial, Helvetica, sans-serif",12,"#FCFBFA","#000000","#666666","#999999","left","middle",3,0,1000,-5,7,true ,true,true,0,true,true);
      mm_menu_0817145255_0.addMenuItem("CREAM","location='#'");
      mm_menu_0817145255_0.addMenuItem("BUTTER","location='#'");
       mm_menu_0817145255_0.fontWeight="bold";
       mm_menu_0817145255_0.hideOnMouseOut=true;
       mm_menu_0817145255_0.bgColor='#FF6600';
       mm_menu_0817145255_0.menuBorder=0;
       mm_menu_0817145255_0.menuLiteBgColor='#FF9900';
       mm_menu_0817145255_0.menuBorderBgColor='#FF9900';
    mm_menu_0817145255_0.onmouseover='foo.jpg';
    mm_menu_0817145255_0.writeMenus();
    } // mmLoadMenus()
    //-->
    </script>
    <script language="JavaScript" src="mm_menu.js"></script>
    </head>
    <body>
    <script language="JavaScript1.2">mmLoadMenus();</script>
    <a href="http://www.msn.com" name="link1" title="COOKIES" target="_self" id="link1" onmouseover="MM_showMenu(window.mm_menu_0817145255_0,0,19,null,'link1')" onmouseout="MM_startTimeout();">COOKIES</a>
    </body>
    </html>
    The code below is from the js file:
    * mm_menu 20MAR2002 Version 6.0
    * Andy Finnell, March 2002
    * Copyright (c) 2000-2002 Macromedia, Inc.
    * based on menu.js
    * by gary smith, July 1997
    * Copyright (c) 1997-1999 Netscape Communications Corp.
    * Netscape grants you a royalty free license to use or modify this
    * software provided that this copyright notice appears on all copies.
    * This software is provided "AS IS," without a warranty of any kind.
    function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah)
    this.version = "020320 [Menu; mm_menu.js]";
    this.type = "Menu";
    this.menuWidth = mw;
    this.menuItemHeight = mh;
    this.fontSize = fs;
    this.fontWeight = "plain";
    this.fontFamily = fnt;
    this.fontColor = fclr;
    this.fontColorHilite = fhclr;
    this.bgColor = "#555555";
    this.menuBorder = 1;
    this.menuBgOpaque=opq;
    this.menuItemBorder = 1;
    this.menuItemIndent = idt;
    this.menuItemBgColor = bg;
    this.menuItemVAlign = valgn;
    this.menuItemHAlign = halgn;
    this.menuItemPadding = pad;
    this.menuItemSpacing = space;
    this.menuLiteBgColor = "#ffffff";
    this.menuBorderBgColor = "#777777";
    this.menuHiliteBgColor = bgh;
    this.menuContainerBgColor = "#cccccc";
    this.childMenuIcon = "arrows.gif";
    this.submenuXOffset = sx;
    this.submenuYOffset = sy;
    this.submenuRelativeToItem = srel;
    this.vertical = vert;
    this.items = new Array();
    this.actions = new Array();
    this.childMenus = new Array();
    this.hideOnMouseOut = true;
    this.hideTimeout = to;
    this.addMenuItem = addMenuItem;
    this.writeMenus = writeMenus;
    this.MM_showMenu = MM_showMenu;
    this.onMenuItemOver = onMenuItemOver;
    this.onMenuItemAction = onMenuItemAction;
    this.hideMenu = hideMenu;
    this.hideChildMenu = hideChildMenu;
    if (!window.menus) window.menus = new Array();
    this.label = " " + label;
    window.menus[this.label] = this;
    window.menus[window.menus.length] = this;
    if (!window.activeMenus) window.activeMenus = new Array();
    function addMenuItem(label, action) {
    this.items[this.items.length] = label;
    this.actions[this.actions.length] = action;
    function FIND(item) {
    if( window.mmIsOpera ) return(document.getElementById(item));
    if (document.all) return(document.all[item]);
    if (document.getElementById) return(document.getElementById(item));
    return(false);
    function writeMenus(container) {
    if (window.triedToWriteMenus) return;
    var agt = navigator.userAgent.toLowerCase();
    window.mmIsOpera = agt.indexOf("opera") != -1;
    if (!container && document.layers) {
      window.delayWriteMenus = this.writeMenus;
      var timer = setTimeout('delayWriteMenus()', 500);
      container = new Layer(100);
      clearTimeout(timer);
    } else if (document.all || document.hasChildNodes || window.mmIsOpera) {
      document.writeln('<span id="menuContainer"></span>');
      container = FIND("menuContainer");
    window.mmHideMenuTimer = null;
    if (!container) return;
    window.triedToWriteMenus = true;
    container.isContainer = true;
    container.menus = new Array();
    for (var i=0; i<window.menus.length; i++)
      container.menus[i] = window.menus[i];
    window.menus.length = 0;
    var countMenus = 0;
    var countItems = 0;
    var top = 0;
    var content = '';
    var lrs = false;
    var theStat = "";
    var tsc = 0;
    if (document.layers) lrs = true;
    for (var i=0; i<container.menus.length; i++, countMenus++) {
      var menu = container.menus[i];
      if (menu.bgImageUp || !menu.menuBgOpaque) {
       menu.menuBorder = 0;
       menu.menuItemBorder = 0;
      if (lrs) {
       var menuLayer = new Layer(100, container);
       var lite = new Layer(100, menuLayer);
       lite.top = menu.menuBorder;
       lite.left = menu.menuBorder;
       var body = new Layer(100, lite);
       body.top = menu.menuBorder;
       body.left = menu.menuBorder;
      } else {
       content += ''+
       '<div id="menuLayer'+ countMenus +'" style="position:absolute;z-index:1;left:10px;top:'+ (i * 100) +'px;visibility:hidden;color:' +  menu.menuBorderBgColor + ';">\n'+
       '  <div id="menuLite'+ countMenus +'" style="position:absolute;z-index:1;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;" onmouseout="mouseoutMenu();">\n'+
       '  <div id="menuFg'+ countMenus +'" style="position:absolute;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;">\n'+
      var x=i;
      for (var i=0; i<menu.items.length; i++) {
       var item = menu.items[i];
       var childMenu = false;
       var defaultHeight = menu.fontSize+2*menu.menuItemPadding;
       if (item.label) {
        item = item.label;
        childMenu = true;
       menu.menuItemHeight = menu.menuItemHeight || defaultHeight;
       var itemProps = '';
       if( menu.fontFamily != '' ) itemProps += 'font-family:' + menu.fontFamily +';';
       itemProps += 'font-weight:' + menu.fontWeight + ';fontSize:' + menu.fontSize + 'px;';
       if (menu.fontStyle) itemProps += 'font-style:' + menu.fontStyle + ';';
       if (document.all || window.mmIsOpera)
        itemProps += 'font-size:' + menu.fontSize + 'px;" onmouseover="onMenuItemOver(null,this);" onclick="onMenuItemAction(null,this);';
       else if (!document.layers) {
        itemProps += 'font-size:' + menu.fontSize + 'px;';
       var l;
       if (lrs) {
        var lw = menu.menuWidth;
        if( menu.menuItemHAlign == 'right' ) lw -= menu.menuItemPadding;
        l = new Layer(lw,body);
       var itemLeft = 0;
       var itemTop = i*menu.menuItemHeight;
       if( !menu.vertical ) {
        itemLeft = i*menu.menuWidth;
        itemTop = 0;
       var dTag = '<div id="menuItem'+ countItems +'" style="position:absolute;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';
       var dClose = '</div>'
       if (menu.bgImageUp) dTag = '<div id="menuItem'+ countItems +'" style="background:url('+menu.bgImageUp+');position:absolute;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';
       var left = 0, top = 0, right = 0, bottom = 0;
       left = 1 + menu.menuItemPadding + menu.menuItemIndent;
       right = left + menu.menuWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
       if( menu.menuItemVAlign == 'top' ) top = menu.menuItemPadding;
       if( menu.menuItemVAlign == 'bottom' ) top = menu.menuItemHeight-menu.fontSize-1-menu.menuItemPadding;
       if( menu.menuItemVAlign == 'middle' ) top = ((menu.menuItemHeight/2)-(menu.fontSize/2)-1);
       bottom = menu.menuItemHeight - 2*menu.menuItemPadding;
       var textProps = 'position:absolute;left:' + left + 'px;top:' + top + 'px;';
       if (lrs) {
        textProps +=itemProps + 'right:' + right + ';bottom:' + bottom + ';';
        dTag = "";
        dClose = "";
       if(document.all && !window.mmIsOpera) {
        item = '<div align="' + menu.menuItemHAlign + '">' + item + '</div>';
       } else if (lrs) {
        item = '<div style="text-align:' + menu.menuItemHAlign + ';">' + item + '</div>';
       } else {
        var hitem = null;
        if( menu.menuItemHAlign != 'left' ) {
         if(window.mmIsOpera) {
          var operaWidth = menu.menuItemHAlign == 'center' ? -(menu.menuWidth-2*menu.menuItemPadding) : (menu.menuWidth-6*menu.menuItemPadding);
          hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:'
           + menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
          item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:'
           + menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
         } else {
          hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:'
           + menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
          item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:'
           + menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
        } else hitem = null;
       if(document.all && !window.mmIsOpera) item = '<div id="menuItemShim' + countItems + '" style="position:absolute;left:0px;top:0px;">' + item + '</div>';
       var dText = '<div id="menuItemText'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColor +';">'+ item +'&nbsp</div>\n'
          + '<div id="menuItemHilite'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColorHilite +';visibility:hidden;">'
          + (hitem||item) +'&nbsp</div>';
       if (childMenu) content += ( dTag + dText + '<div id="childMenu'+ countItems +'" style="position:absolute;left:0px;top:3px;"><img src="'+ menu.childMenuIcon +'"></div>\n' + dClose);
       else content += ( dTag + dText + dClose);
       if (lrs) {
        l.document.open("text/html");
        l.document.writeln(content);
        l.document.close();
        content = '';
        theStat += "-";
        tsc++;
        if (tsc > 50) {
         tsc = 0;
         theStat = "";
        status = theStat;
       countItems++; 
      if (lrs) {
       var focusItem = new Layer(100, body);
       focusItem.visiblity="hidden";
       focusItem.document.open("text/html");
       focusItem.document.writeln(" ");
       focusItem.document.close();
      } else {
        content += '   <div id="focusItem'+ countMenus +'" style="position:absolute;left:0px;top:0px;visibility:hide;" onclick="onMenuItemAction(null,this);"> </div>\n';
        content += '   </div>\n  </div>\n</div>\n';
      i=x;
    if (document.layers) { 
      container.clip.width = window.innerWidth;
      container.clip.height = window.innerHeight;
      container.onmouseout = mouseoutMenu;
      container.menuContainerBgColor = this.menuContainerBgColor;
      for (var i=0; i<container.document.layers.length; i++) {
       proto = container.menus[i];
       var menu = container.document.layers[i];
       container.menus[i].menuLayer = menu;
       container.menus[i].menuLayer.Menu = container.menus[i];
       container.menus[i].menuLayer.Menu.container = container;
       var body = menu.document.layers[0].document.layers[0];
       body.clip.width = proto.menuWidth || body.clip.width;
       body.clip.height = proto.menuHeight || body.clip.height;
       for (var n=0; n<body.document.layers.length-1; n++) {
        var l = body.document.layers[n];
        l.Menu = container.menus[i];
        l.menuHiliteBgColor = proto.menuHiliteBgColor;
        l.document.bgColor = proto.menuItemBgColor;
        l.saveColor = proto.menuItemBgColor;
        l.onmouseover = proto.onMenuItemOver;
        l.onclick = proto.onMenuItemAction;
        l.mmaction = container.menus[i].actions[n];
        l.focusItem = body.document.layers[body.document.layers.length-1];
        l.clip.width = proto.menuWidth || body.clip.width;
        l.clip.height = proto.menuItemHeight || l.clip.height;
        if (n>0) {
         if( l.Menu.vertical ) l.top = body.document.layers[n-1].top + body.document.layers[n-1].clip.height + proto.menuItemBorder + proto.menuItemSpacing;
         else l.left = body.document.layers[n-1].left + body.document.layers[n-1].clip.width + proto.menuItemBorder + proto.menuItemSpacing;
        l.hilite = l.document.layers[1];
        if (proto.bgImageUp) l.background.src = proto.bgImageUp;
        l.document.layers[1].isHilite = true;
        if (l.document.layers.length > 2) {
         l.childMenu = container.menus[i].items[n].menuLayer;
         l.document.layers[2].left = l.clip.width -13;
         l.document.layers[2].top = (l.clip.height / 2) -4;
         l.document.layers[2].clip.left += 3;
         l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
       if( proto.menuBgOpaque ) body.document.bgColor = proto.bgColor;
       if( proto.vertical ) {
        body.clip.width  = l.clip.width +proto.menuBorder;
        body.clip.height = l.top + l.clip.height +proto.menuBorder;
       } else {
        body.clip.height  = l.clip.height +proto.menuBorder;
        body.clip.width = l.left + l.clip.width  +proto.menuBorder;
        if( body.clip.width > window.innerWidth ) body.clip.width = window.innerWidth;
       var focusItem = body.document.layers[n];
       focusItem.clip.width = body.clip.width;
       focusItem.Menu = l.Menu;
       focusItem.top = -30;
                focusItem.captureEvents(Event.MOUSEDOWN);
                focusItem.onmousedown = onMenuItemDown;
       if( proto.menuBgOpaque ) menu.document.bgColor = proto.menuBorderBgColor;
       var lite = menu.document.layers[0];
       if( proto.menuBgOpaque ) lite.document.bgColor = proto.menuLiteBgColor;
       lite.clip.width = body.clip.width +1;
       lite.clip.height = body.clip.height +1;
       menu.clip.width = body.clip.width + (proto.menuBorder * 3) ;
       menu.clip.height = body.clip.height + (proto.menuBorder * 3);
    } else {
      if ((!document.all) && (container.hasChildNodes) && !window.mmIsOpera) {
       container.innerHTML=content;
      } else {
       container.document.open("text/html");
       container.document.writeln(content);
       container.document.close();
      if (!FIND("menuLayer0")) return;
      var menuCount = 0;
      for (var x=0; x<container.menus.length; x++) {
       var menuLayer = FIND("menuLayer" + x);
       container.menus[x].menuLayer = "menuLayer" + x;
       menuLayer.Menu = container.menus[x];
       menuLayer.Menu.container = "menuLayer" + x;
       menuLayer.style.zindex = 1;
          var s = menuLayer.style;
       s.pixeltop = -300;
       s.pixelleft = -300;
       s.top = '-300px';
       s.left = '-300px';
       var menu = container.menus[x];
       menu.menuItemWidth = menu.menuWidth || menu.menuIEWidth || 140;
       if( menu.menuBgOpaque ) menuLayer.style.backgroundColor = menu.menuBorderBgColor;
       var top = 0;
       var left = 0;
       menu.menuItemLayers = new Array();
       for (var i=0; i<container.menus[x].items.length; i++) {
        var l = FIND("menuItem" + menuCount);
        l.Menu = container.menus[x];
        l.Menu.menuItemLayers[l.Menu.menuItemLayers.length] = l;
        if (l.addEventListener || window.mmIsOpera) {
         l.style.width = menu.menuItemWidth + 'px';
         l.style.height = menu.menuItemHeight + 'px';
         l.style.pixelWidth = menu.menuItemWidth;
         l.style.pixelHeight = menu.menuItemHeight;
         l.style.top = top + 'px';
         l.style.left = left + 'px';
         if(l.addEventListener) {
          l.addEventListener("mouseover", onMenuItemOver, false);
          l.addEventListener("click", onMenuItemAction, false);
          l.addEventListener("mouseout", mouseoutMenu, false);
         if( menu.menuItemHAlign != 'left' ) {
          l.hiliteShim = FIND("menuItemHilite" + menuCount + "Shim");
          l.hiliteShim.style.visibility = "inherit";
          l.textShim = FIND("menuItemText" + menuCount + "Shim");
          l.hiliteShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
          l.hiliteShim.style.width = l.hiliteShim.style.pixelWidth;
          l.textShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
          l.textShim.style.width = l.textShim.style.pixelWidth;
        } else {
         l.style.pixelWidth = menu.menuItemWidth;
         l.style.pixelHeight = menu.menuItemHeight;
         l.style.pixelTop = top;
         l.style.pixelLeft = left;
         if( menu.menuItemHAlign != 'left' ) {
          var shim = FIND("menuItemShim" + menuCount);
          shim[0].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
          shim[1].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
          shim[0].style.width = shim[0].style.pixelWidth + 'px';
          shim[1].style.width = shim[1].style.pixelWidth + 'px';
        if( menu.vertical ) top = top + menu.menuItemHeight+menu.menuItemBorder+menu.menuItemSpacing;
        else left = left + menu.menuItemWidth+menu.menuItemBorder+menu.menuItemSpacing;
        l.style.fontSize = menu.fontSize + 'px';
        l.style.backgroundColor = menu.menuItemBgColor;
        l.style.visibility = "inherit";
        l.saveColor = menu.menuItemBgColor;
        l.menuHiliteBgColor = menu.menuHiliteBgColor;
        l.mmaction = container.menus[x].actions[i];
        l.hilite = FIND("menuItemHilite" + menuCount);
        l.focusItem = FIND("focusItem" + x);
        l.focusItem.style.pixelTop = -30;
        l.focusItem.style.top = '-30px';
        var childItem = FIND("childMenu" + menuCount);
        if (childItem) {
         l.childMenu = container.menus[x].items[i].menuLayer;
         childItem.style.pixelLeft = menu.menuItemWidth -11;
         childItem.style.left = childItem.style.pixelLeft + 'px';
         childItem.style.pixelTop = (menu.menuItemHeight /2) -4;
         childItem.style.top = childItem.style.pixelTop + 'px';
         l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
        l.style.cursor = "hand";
        menuCount++;
       if( menu.vertical ) {
        menu.menuHeight = top-1-menu.menuItemSpacing;
        menu.menuWidth = menu.menuItemWidth;
       } else {
        menu.menuHeight = menu.menuItemHeight;
        menu.menuWidth = left-1-menu.menuItemSpacing;
       var lite = FIND("menuLite" + x);
       var s = lite.style;
       s.pixelHeight = menu.menuHeight +(menu.menuBorder * 2);
       s.height = s.pixelHeight + 'px';
       s.pixelWidth = menu.menuWidth + (menu.menuBorder * 2);
       s.width = s.pixelWidth + 'px';
       if( menu.menuBgOpaque ) s.backgroundColor = menu.menuLiteBgColor;
       var body = FIND("menuFg" + x);
       s = body.style;
       s.pixelHeight = menu.menuHeight + menu.menuBorder;
       s.height = s.pixelHeight + 'px';
       s.pixelWidth = menu.menuWidth + menu.menuBorder;
       s.width = s.pixelWidth + 'px';
       if( menu.menuBgOpaque ) s.backgroundColor = menu.bgColor;
       s = menuLayer.style;
       s.pixelWidth  = menu.menuWidth + (menu.menuBorder * 4);
       s.width = s.pixelWidth + 'px';
       s.pixelHeight  = menu.menuHeight+(menu.menuBorder*4);
       s.height = s.pixelHeight + 'px';
    if (document.captureEvents) document.captureEvents(Event.MOUSEUP);
    if (document.addEventListener) document.addEventListener("mouseup", onMenuItemOver, false);
    if (document.layers && window.innerWidth) {
      window.onresize = NS4resize;
      window.NS4sIW = window.innerWidth;
      window.NS4sIH = window.innerHeight;
      setTimeout("NS4resize()",500);
    document.onmouseup = mouseupMenu;
    window.mmWroteMenu = true;
    status = "";
    function NS4resize() {
    if (NS4sIW != window.innerWidth || NS4sIH != window.innerHeight) window.location.reload();
    function onMenuItemOver(e, l) {
    MM_clearTimeout();
    l = l || this;
    var a = window.ActiveMenuItem;
    if (document.layers) {
      if (a) {
       a.document.bgColor = a.saveColor;
       if (a.hilite) a.hilite.visibility = "hidden";
       if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
       a.focusItem.top = -100;
       a.clicked = false;
      if (l.hilite) {
       l.document.bgColor = l.menuHiliteBgColor;
       l.zIndex = 1;
       l.hilite.visibility = "inherit";
       l.hilite.zIndex = 2;
       l.document.layers[1].zIndex = 1;
       l.focusItem.zIndex = this.zIndex +2;
      if (l.Menu.bgImageOver) l.background.src = l.Menu.bgImageOver;
      l.focusItem.top = this.top;
      l.focusItem.left = this.left;
      l.focusItem.clip.width = l.clip.width;
      l.focusItem.clip.height = l.clip.height;
      l.Menu.hideChildMenu(l);
    } else if (l.style && l.Menu) {
      if (a) {
       a.style.backgroundColor = a.saveColor;
       if (a.hilite) a.hilite.style.visibility = "hidden";
       if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
       if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";;
      l.style.backgroundColor = l.menuHiliteBgColor;
      l.zIndex = 1;
      if (l.Menu.bgImageOver) l.style.background = "url(" + l.Menu.bgImageOver +")";
      if (l.hilite) {
       l.hilite.style.visibility = "inherit";
       if( l.hiliteShim ) l.hiliteShim.style.visibility = "visible";
      l.focusItem.style.pixelTop = l.style.pixelTop;
      l.focusItem.style.top = l.focusItem.style.pixelTop + 'px';
      l.focusItem.style.pixelLeft = l.style.pixelLeft;
      l.focusItem.style.left = l.focusItem.style.pixelLeft + 'px';
      l.focusItem.style.zIndex = l.zIndex +1;
      l.Menu.hideChildMenu(l);
    } else return;
    window.ActiveMenuItem = l;
    function onMenuItemAction(e, l) {
    l = window.ActiveMenuItem;
    if (!l) return;
    hideActiveMenus();
    if (l.mmaction) eval("" + l.mmaction);
    window.ActiveMenuItem = 0;
    function MM_clearTimeout() {
    if (mmHideMenuTimer) clearTimeout(mmHideMenuTimer);
    mmHideMenuTimer = null;
    mmDHFlag = false;
    function MM_startTimeout() {
    if( window.ActiveMenu ) {
      mmStart = new Date();
      mmDHFlag = true;
      mmHideMenuTimer = setTimeout("mmDoHide()", window.ActiveMenu.Menu.hideTimeout);
    function mmDoHide() {
    if (!mmDHFlag || !window.ActiveMenu) return;
    var elapsed = new Date() - mmStart;
    var timeout = window.ActiveMenu.Menu.hideTimeout;
    if (elapsed < timeout) {
      mmHideMenuTimer = setTimeout("mmDoHide()", timeout+100-elapsed);
      return;
    mmDHFlag = false;
    hideActiveMenus();
    window.ActiveMenuItem = 0;
    function MM_showMenu(menu, x, y, child, imgname) {
    if (!window.mmWroteMenu) return;
    MM_clearTimeout();
    if (menu) {
      var obj = FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
      x = moveXbySlicePos (x, obj);
      y = moveYbySlicePos (y, obj);
    if (document.layers) {
      if (menu) {
       var l = menu.menuLayer || menu;
       l.top = l.left = 1;
       hideActiveMenus();
       if (this.visibility) l = this;
       window.ActiveMenu = l;
      } else {
       var l = child;
      if (!l) return;
      for (var i=0; i<l.layers.length; i++) {      
       if (!l.layers[i].isHilite) l.layers[i].visibility = "inherit";
       if (l.layers[i].document.layers.length > 0) MM_showMenu(null, "relative", "relative", l.layers[i]);
      if (l.parentLayer) {
       if (x != "relative") l.parentLayer.left = x || window.pageX || 0;
       if (l.parentLayer.left + l.clip.width > window.innerWidth) l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
       if (y != "relative") l.parentLayer.top = y || window.pageY || 0;
       if (l.parentLayer.isContainer) {
        l.Menu.xOffset = window.pageXOffset;
        l.Menu.yOffset = window.pageYOffset;
        l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
        l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
        if (l.parentLayer.menuContainerBgColor && l.Menu.menuBgOpaque ) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
      l.visibility = "inherit";
      if (l.Menu) l.Menu.container.visibility = "inherit";
    } else if (FIND("menuItem0")) {
      var l = menu.menuLayer || menu;
      hideActiveMenus();
      if (typeof(l) == "string") l = FIND(l);
      window.ActiveMenu = l;
      var s = l.style;
      s.visibility = "inherit";
      if (x != "relative") {
       s.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
       s.left = s.pixelLeft + 'px';
      if (y != "relative") {
       s.pixelTop = y || (window.pageY + document.body.scrollTop) || 0;
       s.top = s.pixelTop + 'px';
      l.Menu.xOffset = document.body.scrollLeft;
      l.Menu.yOffset = document.body.scrollTop;
    if (menu) window.activeMenus[window.activeMenus.length] = l;
    MM_clearTimeout();
    function onMenuItemDown(e, l) {
    var a = window.ActiveMenuItem;
    if (document.layers && a) {
      a.eX = e.pageX;
      a.eY = e.pageY;
      a.clicked = true;
    function mouseupMenu(e) {
    hideMenu(true, e);
    hideActiveMenus();
    return true;
    function getExplorerVersion() {
    var ieVers = parseFloat(navigator.appVersion);
    if( navigator.appName != 'Microsoft Internet Explorer' ) return ieVers;
    var tempVers = navigator.appVersion;
    var i = tempVers.indexOf( 'MSIE ' );
    if( i >= 0 ) {
      tempVers = tempVers.substring( i+5 );
      ieVers = parseFloat( tempVers );
    return ieVers;
    function mouseoutMenu() {
    if ((navigator.appName == "Microsoft Internet Explorer") && (getExplorerVersion() < 4.5))
      return true;
    hideMenu(false, false);
    return true;
    function hideMenu(mouseup, e) {
    var a = window.ActiveMenuItem;
    if (a && document.layers) {
      a.document.bgColor = a.saveColor;
      a.focusItem.top = -30;
      if (a.hilite) a.hilite.visibility = "hidden";
      if (mouseup && a.mmaction && a.clicked && window.ActiveMenu) {
        if (a.eX <= e.pageX+15 && a.eX >= e.pageX-15 && a.eY <= e.pageY+10 && a.eY >= e.pageY-10) {
        setTimeout('window.ActiveMenu.Menu.onMenuItemAction();', 500);
      a.clicked = false;
      if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
    } else if (window.ActiveMenu && FIND("menuItem0")) {
      if (a) {
       a.style.backgroundColor = a.saveColor;
       if (a.hilite) a.hilite.style.visibility = "hidden";
       if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
       if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";
    if (!mouseup && window.ActiveMenu) {
      if (window.ActiveMenu.Menu) {
       if (window.ActiveMenu.Menu.hideOnMouseOut) MM_startTimeout();
       return(true);
    return(true);
    function hideChildMenu(hcmLayer) {
    MM_clearTimeout();
    var l = hcmLayer;
    for (var i=0; i < l.Menu.childMenus.length; i++) {
      var theLayer = l.Menu.childMenus[i];
      if (document.layers) theLayer.visibility = "hidden";
      else {
       theLayer = FIND(theLayer);
       theLayer.style.visibility = "hidden";
       if( theLayer.Menu.menuItemHAlign != 'left' ) {
        for(var j = 0; j < theLayer.Menu.menuItemLayers.length; j++) {
         var itemLayer = theLayer.Menu.menuItemLayers[j];
         if(itemLayer.textShim) itemLayer.textShim.style.visibility = "inherit";
      theLayer.Menu.hideChildMenu(theLayer);
    if (l.childMenu) {
      var childMenu = l.childMenu;
      if (document.layers) {
       l.Menu.MM_showMenu(null,null,null,childMenu.layers[0]);
       childMenu.zIndex = l.parentLayer.zIndex +1;
       childMenu.top = l.Menu.menuLayer.top + l.Menu.submenuYOffset;
       if( l.Menu.vertical ) {
        if( l.Menu.submenuRelativeToItem ) childMenu.top += l.top + l.parentLayer.top;
        childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
       } else {
        childMenu.top += l.top + l.parentLayer.top;
        if( l.Menu.submenuRelativeToItem ) childMenu.left = l.Menu.menuLayer.left + l.left + l.clip.width + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
        else childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
       if( childMenu.left < l.Menu.container.clip.left ) l.Menu.container.clip.left = childMenu.left;
       var w = childMenu.clip.width+childMenu.left-l.Menu.container.clip.left;
       if (w > l.Menu.container.clip.width)  l.Menu.container.clip.width = w;
       var h = childMenu.clip.height+childMenu.top-l.Menu.container.clip.top;
       if (h > l.Menu.container.clip.height) l.Menu.container.clip.height = h;
       l.document.layers[1].zIndex = 0;
       childMenu.visibility = "inherit";
      } else if (FIND("menuItem0")) {
       childMenu = FIND(l.childMenu);
       var menuLayer = FIND(l.Menu.menuLayer);
       var s = childMenu.style;
       s.zIndex = menuLayer.style.zIndex+1;
       if (document.all || window.mmIsOpera) {
        s.pixelTop = menuLayer.style.pixelTop + l.Menu.submenuYOffset;
        if( l.Menu.vertical ) {
         if( l.Menu.submenuRelativeToItem ) s.pixelTop += l.style.pixelTop;
         s.pixelLeft = l.style.pixelWidth + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
         s.left = s.pixelLeft + 'px';
        } else {
         s.pixelTop += l.style.pixelTop;
         if( l.Menu.submenuRelativeToItem ) s.pixelLeft = menuLayer.style.pixelLeft + l.style.pixelLeft + l.style.pixelWidth + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
         else s.pixelLeft = (menuLayer.style.pixelWidth-4*l.Menu.menuBorder) + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
         s.left = s.pixelLeft + 'px';
       } else {
        var top = parseInt(menuLayer.style.top) + l.Menu.submenuYOffset;
        var left = 0;
        if( l.Menu.vertical ) {
         if( l.Menu.submenuRelativeToItem ) top += parseInt(l.style.top);
         left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
        } else {
         top += parseInt(l.style.top);
         if( l.Menu.submenuRelativeToItem ) left = parseInt(menuLayer.style.left) + parseInt(l.style.left) + parseInt(l.style.width) + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
         else left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
        s.top = top + 'px';
        s.left = left + 'px';
       childMenu.style.visibility = "inherit";
      } else return;
      window.activeMenus[window.activeMenus.length] = childMenu;
    function hideActiveMenus() {
    if (!window.activeMenus) return;
    for (var i=0; i < window.activeMenus.length; i++) {
      if (!activeMenus[i]) continue;
      if (activeMenus[i].visibility && activeMenus[i].Menu && !window.mmIsOpera) {
       activeMenus[i].visibility = "hidden";
       activeMenus[i].Menu.container.visibility = "hidden";
       activeMenus[i].Menu.container.clip.left = 0;
      } else if (activeMenus[i].style) {
       var s = activeMenus[i].style;
       s.visibility = "hidden";
       s.left = '-200px';
       s.top = '-200px';
    if (window.ActiveMenuItem) hideMenu(false, false);
    window.activeMenus.length = 0;
    function moveXbySlicePos (x, img) {
    if (!document.layers) {
      var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
      var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
      var par = img;
      var lastOffset = 0;
      while(par){
       if( par.leftMargin && ! onWindows ) x += parseInt(par.leftMargin);
       if( (par.offsetLeft != lastOffset) && par.offsetLeft ) x += parseInt(par.offsetLeft);
       if( par.offsetLeft != 0 ) lastOffset = par.offsetLeft;
       par = macIE45 ? par.parentElement : par.offsetParent;
    } else if (img.x) x += img.x;
    return x;
    function moveYbySlicePos (y, img) {
    if(!document.layers) {
      var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
      var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
      var par = img;
      var lastOffset = 0;
      while(par){
       if( par.topMargin && !onWindows ) y += parseInt(par.topMargin);
       if( (par.offsetTop != lastOffset) && par.offsetTop ) y += parseInt(par.offsetTop);
       if( par.offsetTop != 0 ) lastOffset = par.offsetTop;
       par = macIE45 ? par.parentElement : par.offsetParent;
    } else if (img.y >= 0) y += img.y;
    return y;

  • Adjustment popup menu desappears when holding alt + click - cc2014

    Hello.. Is anyone else experiencing problems when creating adjustment layers in cc2014? if you hold the alt key while choosing adjustment layers, then the popup menu starts flahsing and disappears?!

    Seems to be a new bug. I see the same. You should report the problem to Adobe Photoshop Family Customer Community

  • Dropdown/ popup menu moving text

    Hi, I have created a header which includes a popup menu within fireworks and I have imported this into Dreamweaver however, when I test this the popup menu has pushed the text below down the page. Is there a way of getting the popup menu to display over the text below?
    Thanks

    You probably have a font conflict or error in font book. Take a look at this:
    http://www.thexlab.com/faqs/undofontbook.html#Anchor-Undoing-47857
    Starting up in safe mode should show normal menus.
    http://docs.info.apple.com/article.html?artnum=107393

Maybe you are looking for