• fokjulle

    (@fokjulle)


    No, I’m not talking about a ‘folding’ menu. What I want to know is whether or not it is possible to create a dynamic type drop-down menu for main navigation.

    For example, the menu is:

    ABOUT | STUFF | MORE STUFF | CONTACT

    On rolling over any of those, how does one create a sub-menu that drops down, which includes more pages.

    This is to keep a complex navigation simple and clean.

Viewing 15 replies - 1 through 15 (of 30 total)
  • vkaryl

    (@vkaryl)

    Well, there’s always the son of suckerfish menu setup (I can’t find the bookmark, you’ll have to use google); there’s this site: https://www.tjkdesign.com/articles/dropdown/3.asp – lot of listings in google….

    the_rob

    (@the_rob)

    fokjulle, if you find the answer. Let me know.

    rob

    Thread Starter fokjulle

    (@fokjulle)

    Thanks. But those examples are not quite on the mark…

    muskokee

    (@muskokee)

    Hi fokjulle,

    I might have what your looking for. It’s a menu I created for myself.

    It’s a cross-browser, dynamic css menu system for WordPress. Not a plugin, but no need to modify core files. You can get it here: Webdezine WordPress Menu. All info is in the read_me file located in the zip.

    Leave me some feedback on the site about how it works for you. Let me know if there are any bugs.

    Best,
    Sheri

    sfong15

    (@sfong15)

    I have to say muskokee’s menu is nicer. I did a similar drop-down menu to keep my theme clean and simple, head over here to have a look. If you see the dark one flip over to the other theme at the footer you’ll see the menu.

    It uses javascripts not as fast loading as muskokee’s and it looks better in FF.

    muskokee

    (@muskokee)

    Thank you sfong15!

    icelanddream

    (@icelanddream)

    ouch. the muskokee menu looked hopeful. I read the whole thing and at the end, found that it only works with php 5+.. (hint, put that tidbit higher in the text so that fewer hearts are broken. ?? )

    I’m new to WP but it looks flexible enough to add code snippets to the theme. google, get, enjoy.

    muskokee

    (@muskokee)

    Well, if there is a need for it, I can rewrite it for under php5. But…PHP5 is really the safest version ?? I need a tester

    Not sure what you mean by this:

    I’m new to WP but it looks flexible enough to add code snippets to the theme. google, get, enjoy.

    icelanddream

    (@icelanddream)

    Not sure what you mean by this:

    I meant WP in general is easy to add code snippets to.

    But yeah, lots of servers still run PHP4 without fear…

    muskokee

    (@muskokee)

    Yup, WP is not the most complicated code.
    I changed the query results to arrays rather than leave them as objects, so all should be good to go for PHP4. Since I’m on 5 I can’t verify that the menu works (can’t see why not!). If someone on PHP4 could test it that would be great. The link to the menu is the same as the last one. Just scroll to the bottom for the additional download

    icelanddream

    (@icelanddream)

    wow, that was nice of you!
    so far I’m getting a blank page when I add the require statement.
    I dropped the .php & css into my theme dir and added the require statement (I also tried include_once(dirname(__FILE__) . '/webdezine_list_menu.php');)

    muskokee

    (@muskokee)

    Did you add a link to the css? I didn’t put that in the read_me file –oops
    are you adding the require statement to the header.php in the theme dir?

    sfong15

    (@sfong15)

    Muskokee, I’ll be glad to be chosen as your tester. My host doesn’t do php5+ yet and I know a bit of php and have done a few themes/plugins (my test site here so I could help testing your menu out.

    The javascripts menu I did came from DHTMLGoodies which I didn’t have to touch, I worked on the CSS to make it work on my theme only.

    muskokee

    (@muskokee)

    Hi sfong15,
    Please go ahead, take the menu and test away. The menu code is pretty straight forward. Let me know how it turns out.

    sfong15

    (@sfong15)

    muskokee, I’ll try your original version for php5 in due course. Just got reply from my hosting that I could in fact have php5.2 running by a custom .htaccess file.

    I’ll start doing this when I finish modding my new recent comment plugin. I’m puzzled about a time zone issue at the moment.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Dynamic drop-down menu.’ is closed to new replies.