Grow your CSS skills. Land your dream job.

Make a dropdown nav behave like tabs

  • # March 7, 2012 at 2:08 pm

    Hi there,
    I was really interested in the “convert a menu to dropdown for small screens” article that was posted, http://css-tricks.com/convert-menu-to-dropdown/ and I am implementing it now, however, I would really like to make the menu work in a similar fashion to dl, dd tabs- where the selection loads directly underneath the dropdown, and everything else is hidden. Is this possible? Thanks for your help.

    # March 7, 2012 at 10:55 pm

    This is an . You can modify the function to .load() instead of .attr('src', $(this).attr('href')).
    I have not been able to use JQuery .load()
    I have tried to use dl and dd elements but it’s not that easy. Oh, GOD! T_T

    http://jsfiddle.net/tovic/eHMBP/embedded/result/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".