Results 1 to 3 of 3

Thread: Smoothmenu drop down arrows

  1. #1
    Join Date
    Oct 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Smoothmenu drop down arrows

    1) Script Title: Smoothmenu drop down arrows

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...smoothmenu.htm

    3) Describe problem:
    I have an "in-house" application that we're developing. Sometimes, when a user goes to the page, the dop down list in the menu doesn't show up. They have to navigate to an external page (like google.com), and go back to the page and refresh for the menu to work right. Any suggestions on how to fix this?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Unless this is a problem on the demo page, you will need to provide us with a link to your page so we can test it.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Is it just the arrows that don't show up? If so, you could try preloading them. Add this highlighted code at the very end of the ddsmoothmenu.js script script as shown:

    Code:
     . . .		else{ //else if markup menu
    			ddsmoothmenu.buildmenu($, setting)
    		}
    	})
    }
    
    } //end ddsmoothmenu variable
    
    ;(function(ims){
    	var p = [];
    	for (var i = ims.length - 1; i > -1; --i){
    		p[i] = new Image();
    		p[i].src = ims[i];
    	}
    })([ddsmoothmenu.arrowimages.down[1], ddsmoothmenu.arrowimages.right[1]]);
    If it's something else, please be specific. Also, put up a demo of the problem somewhere on the web where we can see it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •