Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Elegantly Expand Hidden div – as you scroll Reply To: Elegantly Expand Hidden div – as you scroll

#190717
Shikkediel
Participant

Your site is already plugged into jQuery, which is the perfect tool for adding effects to elements appearing. There’s slideDown, fadeIn and more of sorts. Also the reverse effect of course :

http://tinyurl.com/slidedown-fadein-example-pen

You may need to use jQuery(…) instead of $(…) in your script.