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...
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"...
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"...
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">...
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!!!
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"...
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>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.