<div id="slider">Слайдер
<input type="button" value="Кнопка" onclick="hideshow();"/>
</div>
<div id="other" style="display:none">Другой</div>
<script>
function hideshow() {
document.getElementById("slider").style="display:none";
document.getElementById("other").style="display:block";
}
</script>