# Blending or fading div contents

**URL:** <https://forum.kirupa.com/t/blending-or-fading-div-contents/281060>\
**Category:** Uncategorized\
**Created:** [February 4, 2009, 2:37pm UTC](https://forum.kirupa.com/t/blending-or-fading-div-contents/281060 "2009-02-04T14:37:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navarone](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Post date:** [February 4, 2009, 2:37pm UTC](https://forum.kirupa.com/t/blending-or-fading-div-contents/281060/1 "2009-02-04T14:37:10Z")

</div>

How do I blend the contents of one div to another. I know you can blend images using javascript but is there anyway to blend the entire div contents? For example say you have 3 div’s; one is shown by default the others are set to display:none. If I have a previous and next button, I can easily switch between the contents of the div. But I need a nice blending function.

Thanks
