I have added this code to a web page where a page visitor can click the down arrow which drops down a panel successfully. However, the div container (Container1) ()below the panel) doesn’t push down properly when the panel drops down. The panel appears to drop down behind the Container1. I’m looking for guidance on how to have Container1 properly push down when the panel drops down. Any assistance is appreciated.
“`
<script>
$(document).ready(function(){
$(“#flip”).click(function(){
$(“#panel”).slideToggle(“slow”);
});
});
</script>
</head>
<body>
<div id=”flip”>Panel Controls <img src=”/images/chevron.png” alt=”arrow down”></div>
<div id=”panel”>
<div class=”enter-text”>
<textarea name=”comments” id=”comments” placeholder=”Enter Text Here</textarea>
<button id=”submit”>Submit</button>
</div>
<div class=”buttons”>
<span><button id=”start” onclick=”initialize()”>Start</button></span>
<span><button id=”stop” onclick=”clearInterval(lefttime)”>Stop</button></span>
</div>
</div>
<div id=”Container1″>
</div>