Add a javascript to hide the div with id 'secondpage_2nd-div' in second page!
<script>
element=document.getElementById("secondpage_2nd-div");
element.style.display = 'none'; // Hide
//element.style.display = 'block'; // Show
</script>
Else, there are many div in page, hide all the divs and show only one desired,
<script>
var divs = ?document.getElementsByTagName("div");?
for (var i = 0; i < divs.length; i++) {
divs[i].style.display = 'none';
}
</script>
and then
<script>
element=document.getElementById("secondpage_1st-div");
element.style.display = 'block'; // show one div
</script
It totally depends on your requirement.
Hope it helps!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…