Thread: Drop Down Menu

Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Drop Down Menu

    Hello everyone.

    I am making some adjustments to an existing Zen Cart installation (1.3.7.1) and it has a nice drop down menu when you hover over the "info" button on the right. The website can be seen here:

    http://www.ng3.framingengine.com/

    I was wondering where this menu might be defined. I have been looking all over and I can't seem to find a module or anything that it was created with. Has anyone seen this before? Besides needing to add some things to it, I would like to use it on some future projects. Any help would be appreciated. Thanks,

    JW

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Drop Down Menu

    Looks like a bit of customer javascript to me. You're going to see more and more of these things popping up as javascript libraries make it easy to do. They won't generally come as a packaged add-ins though as there's not much to writing them (provided you know javascript) and they'll be tailored to each site.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Drop Down Menu

    Thanks for your response, but do you happen to have any idea which file the JavaScript and HTML might be written in? That's the problem I'm having, since I need to add a couple of entries to the list. Thanks,

    JW

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Drop Down Menu

    Turns out I was wrong. It is an add-in, though a general one for websites, rather than Zen Cart specifically. You'll find what you need in the includes/templates/newport/jscript/jscript_general.js file.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Drop Down Menu

    Your right, the JS function is in the specified file, but I still can't seem to find out where the function is called from. Any guesses?

  6. #6
    Join Date
    Jun 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Drop Down Menu

    Oh yeah, I forgot to mention that the parameter for the menu content is menu[0], but I'm not quite sure where that is coming from.

 

 

Similar Threads

  1. Drop down Menu
    By fancykidz in forum General Questions
    Replies: 2
    Last Post: 14 Jul 2010, 02:04 AM
  2. Drop down menu
    By jarle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Oct 2009, 12:13 PM
  3. CSS Horizontal Drop Down menu - dropdown menu width...
    By intrium in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Aug 2008, 06:48 PM

Posting Permissions

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