Is there a way to incorporate a slide effect in order to reveal my hidden div?
function toggleInfo() {
var info = document.getElementById("info");
if (info.style.display === "none") {
info.style.display = "block";
} else {
info.style.display = "none";
}
}
<a onclick="toggleInfo()"> Show Info </a>
<div id="info" style="display:none;">
<a href="" >1111111111111111111111111111111</a>
</div>
Thank you in advance.