Is there a way to smoothly reveal a Div when scrolling down and clicking on a button? Currently, it seems to just appear quickly without any sliding effect. What could be causing this issue?
function showstuff(inquiryForm){
document.getElementById(inquiryForm).style.visibility="visible";
for (var i=0;i<300;i++)
{
document.getElementById(inquiryForm).style.height= i + "px";
}
}