Skype Call

<!DOCTYPE html>
<html>
<head>
    <title>Call Option Prompt</title>
</head>
<body>
    <h1>Welcome to Our Website</h1>
    <p>Choose how you want to make a call:</p>

    <!-- Skype Button -->
    <button id="skypeButton">Use Skype</button>

    <!-- Regular Phone Button -->
    <button id="phoneButton">Use Regular Phone</button>

    <script>
        // Function to handle Skype call
        function makeSkypeCall() {
            // Use Skype URI scheme to initiate a Skype call
            window.location.href = 'skype:username?call';
        }

        // Function to handle regular phone call
        function makePhoneCall() {
            // Replace 'phone_number' with the actual phone number
            window.location.href = 'tel:+1234567890';
        }

        // Add event listeners to the buttons
        document.getElementById('skypeButton').addEventListener('click', makeSkypeCall);
        document.getElementById('phoneButton').addEventListener('click', makePhoneCall);
    </script>
</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *