<html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="../css/stylesheet.css"/> </head> <body> <div class="show_box"> <a class="btn">show Box</a> <div id="box"> <span class="ion-checkmark-round"></span> <h1>"Hi Welcome!!!!!! Luana Taylor, you are now are member of Caribbean Nature Seekers InstituteTT ('CNSITT')");</h1> <a class="close">Close</a> </div> <script type="text/javascript"> var c=0' function pop() { if(c == 0) { document.getElementById("box").style.display = "block"; c ==1; } else { document.getElementById("box").style.display = "none"; c ==1; } } </div> </body> </html> <div id="contentArea"> <div id="footerbox"> <div id="footerholder"> <div id=""> <a href="../index.php">Homepage</a> <a href="popupbox.php">Popup box </a> <a href="featureNationalWonders.php">Feature National Wonders</a> </div>
pop
<script> var isPopupVisible = false; function pop(){ if (isPopupVisible) { document.getElementById("box").style.display = "none"; isPopupVisible = false; } else { document.getElementById("box").style.display = "block"; isPopupVisible = true; } } // Call the function immediately to show the popup: pop(); </script>
<a class="close" onclick="pop();return false;">Close</a>
onclick="pop();return false;"
var c='
var c=0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)