#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    110
    Rep Power
    12

    javascript drop down menu modual


    I found this javascript drop down menu modual a while back and wanted to modifie it. What I want to do is add sub menus off of the already drop down menu, but it is turning into more of a pain than I previously thought it would be. Anybody now how I could do it? Thanks in advance.

    /* HTML FILE */

    <html>
    <head>
    <title></title>
    <script language="JavaScript">
    <!--

    function fwLoadMenus() {
    if (window.fw_menu_0) return;

    window.fw_menu_0 = new Menu("root",190,17,"Verdana, Arial, Helvetica, sans-serif",10,"#003399","#FFFFFF","#ffffff","#7195B9");
    fw_menu_0.addMenuItem("Personal Tax","location='#'");
    fw_menu_0.addMenuItem("Estate and Retirement Planning >","location='#'");
    fw_menu_0.addMenuItem("Bankruptcy Services","#");
    fw_menu_0.addMenuItem("Divorce Services","#");
    fw_menu_0.hideOnMouseOut=true;

    fw_menu_0.writeMenus();
    } // endIf fwLoadMenus()

    //-->
    </script>
    <script language="JavaScript1.2" src="include/fw_menu.js"></script>

    </head>
    <body>

    <script language="JavaScript1.2">fwLoadMenus();</script>

    <a href="index.php" onMouseOut="FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_0,-2,97);"> ROLLOVER THIS </a>

    </body>
    </html>


    /* END of html */
    /* External js file 'fw_menu.js' */

    To long of a file for this thread, if you want it go here:
    http://www.cosmosdesign.com/fw_menu.js
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    110
    Rep Power
    12
    Still having problems getting this sub menu to drop off the already drop down menu. Was wondering if anybody knows of a module that already has this problem solved. (problem: drop menu with additional sub menus) Thanks in advance for any leads.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Posts
    1,882
    Rep Power
    19
    This is no ordinary JS dropdown menu.

    It is created in Macromedia Fireworks. The script is dynamically created by the program.
    The Images & Script are then exported from Fireworks to use in a webpage.

IMN logo majestic logo threadwatch logo seochat tools logo