Results 1 to 4 of 4

Thread: How to get arrows on multi level

  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question How to get arrows on multi level

    1) Script Title: jQuery Multi Level CSS Menu #2

    2) Script URL (on DD):http://www.dynamicdrive.com/style/cs...el_css_menu_2/

    3) Describe problem: How to place down arrows into the script, it tell you what is needed but not where to put it. Help Newbe

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm not sure I understand the question- the script by default already adds down arrows to the main menu items that contain a sub menu. Just download the two arrow images included in the instructions...
    DD Admin

  3. #3
    Join Date
    Jul 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question

    I have the arrows in the images file so what would be my full url ,
    here is the line var arrowimages={down:['downarrowclass', 'url(images/drop-down.gif) ',23 ],


    Thanks vry6
    Last edited by VRY6; 07-06-2010 at 12:01 PM.

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The image path inside the .js file is relative to the page that's showing the menu bar. If your menu is added to pages across various directories, then what you should do is just use an absolute URL to the image:

    Code:
    var arrowimages={down:['http://mysite.com/images/downarrowclass', 'down.gif', 23], right:['http://mysite.com/images/rightarrowclass', 'right.gif']}
    DD Admin

  5. The Following User Says Thank You to ddadmin For This Useful Post:

    VRY6 (07-10-2010)

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
  •