PDA

View Full Version : Smooth Navigational Menu



KantelData
02-02-2010, 06:32 PM
1) Script Title: Smooth Menu images

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm#ajax

3) Describe problem: In the ddsmoothmenu.js file, this line of code exists:
//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']},

If I want to move the down and right gifs to a folder assets/images off of the web site's root folder, how would I reference the "full URL" to the images in the js file? Thanks.

ddadmin
02-02-2010, 07:56 PM
Simply specify the full URL to these images inside the .js file, ie:


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

KantelData
02-02-2010, 08:39 PM
Thanks.