Treehouse: Grow your CSS skills. Land your dream job.

Simple toggle…please help

  • # September 27, 2012 at 11:00 am

    Hello all!

    I have a VERY simple problem – for a javascript guru that is :)

    Please take a look at my page and reduce browser to 480 –

    I got a nice, clean nav from a tutorial I read (menu) but now want to add a search dropdown. I got the div to appear on click but am struggling with how to make it DISAPPEAR when I click again. I WAS able to successfully make the menu disappear when search is clicked.

    I tried reworking the toggle that came with the menu but everything I tried broke it! I simply added my onClick as its own function.

    You can download the javascript here –

    Any assistance would be MOST appreciated! Thanks so much.


    # September 27, 2012 at 3:16 pm

    just saying your social media links are stretched..

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

You must be logged in to reply to this topic.