PDA

View Full Version : How to get arrows on multi level



VRY6
07-06-2010, 03:25 AM
1) Script Title: jQuery Multi Level CSS Menu #2

2) Script URL (on DD):http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_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

ddadmin
07-06-2010, 04:49 AM
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...

VRY6
07-06-2010, 11:40 AM
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

ddadmin
07-07-2010, 05:19 AM
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:


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