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

    So it is not possible to make a contact form or a download form with a link in a modal window ? I spend a lot of time looking for an example on the web and it's not easy to find. We think simple things are easy to do and we block for several days. It's possible to do it but you have to use...
  2. L

    HTML & CSS My modal closes automatically

    Hi OldMan, When I put paragraphs in my modal window I don't have a problem either. The problem is when I put a link or a button. <!DOCTYPE html> <html> <title>W3.CSS</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet"...
  3. 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"...
  4. L

    PHP Update of the variable $_SESSION following the link

    I found my problem. You have to put "session_start();" in both files.
  5. 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">...
  6. L

    JavaScript Update my URL with the language of browser

    I'm sorry Cbreemer, I'm using a translator and I think it's badly translated. For my problem I'm orienting myself in PHP now. Thanks a lot for trying to help me!!!
  7. 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"...
  8. L

    PHP Loses effects with the post method of the form

    Thank you very much Johna, without you I would never have found the problem. You are so awesome!!! Thanks again and happy new year 2023
  9. 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>...
  10. L

    [Beginner] Splitting my index.html into two parts

    Hi Johna, I tried your solution, it's the easiest. Thank you very much for this advice.
Back
Top Bottom