Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. L

    HTML & CSS My modal closes automatically

    I don't know why when I click on the Download 1 link and the Download 2 button my modal window closes automatically (Test 2) ??? I want my modal window to close only when I click on close. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport"...
  2. L

    PHP Update of the variable $_SESSION following the link

    Hi, I would like to update the variable $_SESSION when I click on one of the links (click on Spanish -> $_SESSION["lang"] = "es") Index.html : <?php session_start(); if (!isset($_SESSION['lang'])) { $_SESSION['lang']='en'; } // -- default language ?> <!DOCTYPE html> <html lang="en">...
  3. L

    JavaScript Update my URL with the language of browser

    Hi, I would like to update my URL according to the language of my browser. en : localhost/test/?lang=en fr: localhost/test/?lang=fr.... <script type="text/javascript"> let lg = navigator.language.substr(0, 2).toLowerCase(); if (lg != "en" && lg != "fr" && lg != "es") lg = "en"...
  4. L

    PHP Loses effects with the post method of the form

    Hello, When I add method="POST" (line 147) to my form I lose the effect of closing the modal : <?php ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Test Popup Modal</title>...
Back
Top Bottom