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?
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22
3742 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
A PHP Error was encountered
Severity: Notice
Message: Undefined index: HTTP_ACCEPT_LANGUAGE
Filename: helpers/time_helper.php
Line Number: 22