Toggle DIV with fade?
I want to be able to toggle a DIV on and off. I know I can use Javascript, but it doesn't look very nice when the DIV suddenly appears — basically it's too brutal for my taste.
I was wondering how I could make something where the DIV is toggled by some flash kind of stuff, let's say a whiteflash or whatever you call this. The page is mainly white so basically it would make the text and the pictures inside the DIV slowly appear.
Any ideas?
3721 views 1 answers
Post My Answer
0
Not sure what you mean by "flash kind of stuff"...
but jQuery can help you with fade toggle
http://api.jquery.com/fadeToggle/
http://jqueryui.com/effect/
http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_fadetoggle
2014-08-29 0 Comments