What's new

Members who reacted to message #13

All (10) Like Like (10)

    1. Like

      Zeeshi

      FULL MEMBER From Rawalpindi Pakistan
      • Messages
        156
      • Reaction score
        0
    2. Like

      Talha Asif

      FULL MEMBER From Sahiwal
      • Messages
        467
      • Reaction score
        1
    3. Like

      I S I

      BANNED
      • Messages
        9,673
      • Reaction score
        -32
    4. Like

      black-hawk_101

      BANNED 44 From Riyadh, KSA
      • Messages
        2,355
      • Reaction score
        -12
    5. Like

      Inception-06

      SENIOR MEMBER From account deleted
      • Messages
        4,172
      • Reaction score
        18
    6. Like

      Quwa

      Research Partner
      • Messages
        2,538
      • Reaction score
        47
    7. Like

      JamD

      SENIOR MEMBER 34 From Pakistan
      • Messages
        2,238
      • Reaction score
        94
    8. Like

      In arduis fidelis

      FULL MEMBER
      • Messages
        1,064
      • Reaction score
        3
    9. Like

      HRK

      PDF THINK TANK: CONSULTANT
      • Messages
        14,108
      • Reaction score
        122
    10. Like

      Foxtrot-Bravo

      FULL MEMBER 25
      • Messages
        1,189
      • Reaction score
        2
  • Loading…
document.addEventListener('DOMContentLoaded', function () { // Create the CSS for the popup var style = document.createElement('style'); style.innerHTML = ` /* Style for the popup */ .popup { display: none; /* Hidden by default */ position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */ } .popup-content { position: relative; background-color: #fff; margin: 15% auto; padding: 20px; width: 80%; max-width: 600px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } .close-btn { position: absolute; top: 10px; right: 25px; color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; } .close-btn:hover, .close-btn:focus { color: #000; text-decoration: none; cursor: pointer; } `; document.head.appendChild(style); // Create the HTML for the popup var popup = document.createElement('div'); popup.id = 'videoPopup'; popup.className = 'popup'; popup.innerHTML = ` `; document.body.appendChild(popup); // Show the popup when the page loads popup.style.display = 'block'; // Get the close button var closeBtn = document.querySelector('.close-btn'); // Close the popup when the user clicks on the close button closeBtn.onclick = function () { popup.style.display = 'none'; var iframe = document.getElementById('youtubeVideo'); iframe.src = iframe.src; // Stop the video from playing } // Close the popup when the user clicks anywhere outside of the popup window.onclick = function (event) { if (event.target == popup) { popup.style.display = 'none'; var iframe = document.getElementById('youtubeVideo'); iframe.src = iframe.src; // Stop the video from playing } } });
Back
Top Bottom