Sindbad~EG File Manager

Current Path : /home/beeson/public_html/WebMathXpert/Examples/
Upload File :
Current File : //home/beeson/public_html/WebMathXpert/Examples/modal.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hint Modal</title>
    <style>
        /* Style for the modal */
        #hintModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }

        /* Style for the modal content */
        #modalContent {
            background: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        }
    </style>
    <script>
        // Function to show the hint modal
        function showHintModal() {
            var hintModal = document.getElementById('hintModal');
            hintModal.style.display = 'flex';
        }

        // Function to hide the hint modal
        function hideHintModal() {
            var hintModal = document.getElementById('hintModal');
            hintModal.style.display = 'none';
        }
    </script>
</head>
<body>
    <div id="svgContainer">
        <!-- Trigger button to show the hint modal -->
        <button onclick="showHintModal()">Show Hint</button>
        <svg id="reason13" class="hint" width="144" height="32" xmlns="http://www.w3.org/2000/svg">
            <!-- Your SVG content here -->
        </svg>
    </div>

    <!-- Hint modal -->
    <div id="hintModal">
        <div id="modalContent">
            <!-- Your hint content here -->
            <p>This is your hint.</p>
            <!-- Close button -->
            <button onclick="hideHintModal()">Close</button>
        </div>
    </div>
</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists