PDA

View Full Version : Smooth Navigational Menu - Remove Down arrow in v1.51+



carterjd
01-17-2013, 03:59 PM
Hi,

I need to remove the down arrow in the Smooth Navigational Menu, but not by changing the display to "none" in css as this leaves the spacing of the menu incorrect. Theres a JS fix version here that works, but this is for a really old version. Is there the same tweak for the latest version 1.51+

http://www.dynamicdrive.com/forums/showthread.php?40013-Possible-to-remove-down-arrow-in-Smooth-Navigational-Menu-(v1-01)

Many Thanks

Beverleyh
01-17-2013, 04:11 PM
Link to the Smooth Navigational Menu (v1.51) script on DD: http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

You can still use display:none; in the CSS but you can also edit the js file;
//Specify full URL to down and right arrow images (23 is padding-right added to top level LIs with drop downs):
arrowimages: {down:['downarrowclass', 'down.gif', 23], right:['rightarrowclass', 'right.gif']},
Untested, but if you change 23 to 0, I believe this will help fix the spacing (the extra padding) you mention.

If you need more help, please post a link to your page.

carterjd
01-17-2013, 05:12 PM
That works :)

Many Thanks