Results 1 to 3 of 3

Thread: Smooth Navigational Menu

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

    Default Smooth Navigational Menu

    1) Script Title: Smooth Menu images

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...hmenu.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.

  2. #2
    Join Date
    Aug 2004
    Posts
    9,878
    Thanks
    3
    Thanked 962 Times in 951 Posts
    Blog Entries
    15

    Default

    Simply specify the full URL to these images inside the .js file, ie:

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

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

    Default

    Thanks.

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
  •