Results 1 to 6 of 6

Thread: ddlevelsmenu

  1. #1
    Join Date
    Apr 2012
    Location
    Garrett County, MD
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ddlevelsmenu

    1) Script Title: ddlevelsmenu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/

    3) Describe problem: I've spent most of the day implementing this script in my application. I got it to work, but I came across several issues.
    a) How do I change the font size for the menu items that are expanding from the root menu. I can change the root menu font size, but it does not propagate to the sub menus
    b) The path to the .gif files is hardcoded in the js function. In my applications I go multiple folders deep and the path to the .gif files doesn't track. I use a php variable to set the folder level (to go from ../../../) in my other pages.

    I have a workaround for (b), but not yet (a).

    Anyone with any thoughts?

    Thank you,

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

    Default

    To answer your questions:

    1) Try editting ddlevelsmenu-base.css, specifically the below rule:

    Code:
    .ddsubmenustyle, .ddsubmenustyle div{ /*topmost and sub DIVs, respectively*/
    font: normal 13px Verdana;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    list-style-type: none;
    background: white;
    border: 1px solid black;
    border-bottom-width: 0;
    visibility: hidden;
    z-index: 100;
    font-size: 14px;
    }
    2) The easiest solution actually is just to use a absolute URL for each image's path:

    Code:
    	downarrow: ["http://mysite.com/arrow-down.gif", 11,7], //[path_to_down_arrow, arrowwidth, arrowheight]
    	rightarrow: ["http://mysite.com/arrow-right.gif", 12,12], //[path_to_right_arrow, arrowwidth, arrowheight]
    DD Admin

  3. #3
    Join Date
    Jan 2013
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hello:

    I am a new member and this is my first attempt to post a question, so I apologize that it is here, because I cannot find a link to create a new post anywhere on this site!

    My question is: I have successfully implemented the ddlevelstopmenubar on about 30 pages for my website, but on one of them, one of the submenu items (which has links to a third level of menu items) does not appear below its main (top) menu item when the cursor hovers over that, but appears several inches away, at the top left corner of my webpage, where the user cannot access it. Can anyone tell me why this behavior is occurring and how to remedy it?

    Thank you, in advance, for your help.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    Please ask your question in a new thread:
    http://www.dynamicdrive.com/forums/n...=newthread&f=2
    The link is at the top of each forum, an image that says "+Post New Thread".
    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

  5. #5
    Join Date
    Jan 2013
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks, Daniel. But I don't see such an image anywhere on the pages I've visited! I've used your link to post my question.

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    Here's an image with the location; it's the blue button.
    Click image for larger version. 

Name:	post.jpg 
Views:	69 
Size:	13.7 KB 
ID:	4882

    Visible here: http://www.dynamicdrive.com/forums/f...e-scripts-help
    (Or in any of the other forums as well.)
    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

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
  •