Here is a simplified running example of Seattle Ninja's solution.
var slideSource = document.getElementById('slideSource');_x000D_
_x000D_
document.getElementById('handle').onclick = function () {_x000D_
slideSource.classList.toggle('fade');_x000D_
}
_x000D_
#slideSource {_x000D_
opacity: 1;_x000D_
transition: opacity 1s; _x000D_
}_x000D_
_x000D_
#slideSource.fade {_x000D_
opacity: 0;_x000D_
}
_x000D_
<button id="handle">Fade</button> _x000D_
<div id="slideSource">Whatever you want here - images or text</div>
_x000D_