Results 1 to 4 of 4

Thread: Help with Smooth Navigational Menu

  1. #1
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile Help with Smooth Navigational Menu

    http://www.dynamicdrive.com/dynamici...smoothmenu.htm

    Hi. I am just learning jQuery, and I appreciate your scripts.

    I have created a test page using your Smooth Navigational Menu script, but it only shows the top-level menus - not the arrow images or the sublevel menus.
    My test page is here: http://www.godaytripping.com/smoothmenutest.htm .
    jQuery is installed off the root in /jquery, and seems to be working for another script okay.

    It's probably something very simple that I'm doing wrong, but it doesn't work in any of my 3 browsers. As a last resort I placed the .css files, the .js file, and the arrow images in both the /jquery folder and the root folder where the page resides. But nothing seems to work.

    Thank you for any advice you can offer.
    Ken

  2. #2
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Updated Message

    In case I wasn't clear: I copied the example code for that menu script to my server and it doesn't work. The only things I changed was to remove the horizontal menu and the pointer to the jQuery library (I changed it from Google to my local copy).

    Does anyone have any idea what I'm doing wrong?

    Thanks.
    Ken

  3. #3
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    It seems that your ddsmoothmenu.js is somehow corrupted.
    if you replace it with the original file found here, the menu will work.
    And for the arrows to appear you would have to specify the right path to the images in this line:
    arrowimages: {down:['downarrowclass', 'down.gif', 23], right:['rightarrowclass', 'right.gif']},

  4. The Following User Says Thank You to azoomer For This Useful Post:

    kwat (01-19-2011)

  5. #4
    Join Date
    Jan 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi azoomer! You nailed it - I had a corrupt .js file. Thank you so much!

    Now a noob question if you don't mind: I guess I wrongly assumed that the .js files were pure ASCII and could be opened with any editor, but my editor apparently corrupted it. Do I need a special editor for .js files?

    Also, my arrow images show up now, although they do show immediately after the menu caption rather than at the end of the menu bar. Not sure about that yet.

    Thank you again. I had tried everything I could think of.
    Ken

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
  •