Results 1 to 6 of 6

Thread: Modding Jim's DHTML Menu

  1. #1
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Modding Jim's DHTML Menu

    1) Script Title: Jim's DHTML Menu V5.7

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/jimmenu/

    3) Describe problem: I am using this script on www.oratid.org. It is fantastic, but the menu is getting a little large. Is there any way someone can do it so the menu looks the same, but when one hovers over "Education" a sub menu opens to the right? That way there could be fewer links on the main menu.
    Thanks.

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    take a look at
    http://www.dynamicdrive.com/dynamici...u/example2.htm

    your navigation doesn't use the ability of that script at all.

  3. #3
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks. Someone else set it up originally, and I am totally new at this kind of coding. I'll let you know how it goes.

  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    oops sorry... i posted the wrong link..

    http://www.dynamicdrive.com/dynamici...enu/config2.js

    is the file that actually contains the scripts and fields you need to edit...
    if you have any questions let us know

  5. #5
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK, I made an effort (you can see the results at oratid.org/test.htm), and I just have trouble with the code. Here is my current config.js:
    HTML Code:
    function init()
    {
    	//Main Menu items:
    	menus[0] = new menu(130, "vertical", 5, 144, -2, -2, "#FFFFFF", "#0000A0", "Arial", 9, 
    		"bold", "bold", "black", "white", 1, "#0000FF", 2, "", false, true, true, false, 0, true, 4, 4, "#0000FF");
    	menus[0].addItem("http://www.oratid.org", "", 20, "center", "Home",0);
    	menus[0].addItem("http://www.oratid.org/about.htm", "", 20, "center", "About Or Atid",0);
    	menus[0].addItem("http://www.oratid.org/admin.htm", "", 20, "center", "Or Atid Staff", 0);
    	menus[0].addItem("http://www.oratid.org/contact.htm", "", 20, "center", "Executive Board",0);
    	menus[0].addItem("http://www.oratid.org/committees.htm", "", 20, "center", "Committees",0);
    	menus[0].addItem("http://www.oratid.org/rabbi.htm", "", 20, "center", "Rabbi's Page",0);	
    	menus[0].addItem("http://www.oratid.org/directions.htm", "", 20, "center", "Directions",0);
    	menus[0].addItem("http://www.oratid.org/services.htm", "", 20, "center", "Services", 0);
    	menus[0].addItem("http://www.oratid.org/education.htm", "", 20, "center", "Education", 0);
    	menus[0].addItem("http://www.oratid.org/usy.htm", "", 20, "center", "USY & Kadima",0);
    	menus[0].addItem("http://www.oratid.org/ladaat.htm", "", 20, "center", "LaDa'at",0);
    	menus[0].addItem("http://www.oratid.org/adulted.htm", "", 20, "center", "Adult Education", 0);
    	menus[0].addItem("http://www.oratid.org/sisterhood.htm", "", 20, "center", "Sisterhood",0);
    	menus[0].addItem("http://www.oratid.org/mensclub.htm", "", 20, "center", "Men's Club",0);
    	menus[0].addItem("http://www.oratid.org/events.htm", "", 20, "center", "Events",0);
    	menus[0].addItem("http://www.oratid.org/calendars/August07.htm", "", 20, "center", "Calendar",0);
        menus[0].addItem("http://www.oratid.org/donate.htm", "", 20, "center", "Donate and Help", 0);
    	menus[0].addItem("http://www.oratid.org/forums", "", 20, "center", "Or Atid Forums", 0);
    
    
    } //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.
    May someone please make me an example of how to do it like the config2.js file boogeyman just posted but make it look like the current one? No need to change the links, I just want to see how it will look. I would like Education to have a submenu, and if I just see how that is done, hopefully I can proceed on my own.

    Thanks.

  6. #6
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Respectful bump

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •