javascript - jQuery .toggle() Modal show/hide dialog box -


I've browsed some similar questions - but I'm always looking for and no luck finding any implementation I'm not looking into doing that which is similar to me.

It is very easy:

  & lt; One class = "contacttoggle" href = "#" & gt; Contact & lt; / A & gt; & Lt; Div & gt; & Lt; / Div & gt; Too many content between & lt; Div & gt; & Lt; / Div & gt; Too many content between & lt; Div & gt; & Lt; / Div & gt; Too many content between & lt; Div & gt; & Lt; / Div & gt; Too many content between & lt; Div class = "contact_box" & gt; Contact information that is initially hidden and then when the "contact_toggle" contact link above is clicked & lt; / Div & gt;   

I'm looking for this to fade and it will be posted exactly on the page (no worries I can handle CSS). I just want not a slide effect. Just fade in

I think this code should work but it is not: (

  $ (document) .ready (function ()) Hide the main navigation conatct box * / $ (".contact_box"). (), Click on $ ('A.contacttoggle') (function () {$ (this) .next ("div"). Toggle (400) ; Return about;});})    

About?

Comments