Questions tagged as 'html'

1
answer

Change value of 'meta' in link css after onload

I have a problem. I'm trying to use asynchronous CSS loading to optimize my graphic elements. In the <head> of my html I have several links of .css (example:) <link id="cs1" rel="stylesheet" href="css/ZooCss.css" media=...
asked by 16.11.2017 / 21:18
1
answer

How to use CSS within a jQuery?

What I want is that this jQuery { <script type="text/javascript" class="navegacion_header"> jQuery(function(){ jQuery(window).scroll(function(){ if(jQuery(this).scrollTop() > 200) { jQuery('#logo-img img')...
asked by 05.12.2017 / 17:02
4
answers

Two select html required

I have a form with two selects and both are "required". I want the submit to be done when changing the second one, but I have set it onchange="submit ()" and it does not work, it does submit although no option has been selected in the first one....
asked by 26.01.2018 / 10:45
1
answer

get mysql data and send it by php to an email

my problem is this I have this code ' if (!empty($nombre) && !empty($correo) && !empty($mensaje)) { $nombre = trim($nombre); $nombre = filter_var($nombre, FILTER_SANITIZE_STRING); $correo = filter_var($correo, FILTE...
asked by 16.11.2017 / 18:36
1
answer

How do I click on a zone to display a div from the center with jQuery?

Good morning. I have this code to display the div after clicking on the photo of Stolen Kiss, attached photo: When I click on the photo I want this div to start from the center and expand up and down at the same speed. Deputy photo o...
asked by 15.11.2017 / 08:44
2
answers

Place field that can be left blank or not

I have a couple of fields in mysql that I want them to be blank but I miss the error that I have to enter them and the problem is that they will not always be blank this is the insert of the data $Nombre = mysqli_real_escape_string($con,(st...
asked by 16.11.2017 / 15:02
1
answer

I need to capture the data of the select to do a mysql query with them and show the result in a table

<?php include_once 'rutas.php'; $host = "localhost"; $user = "root"; $pass = ""; $bd = "freire"; $con = mysqli_connect($host, $user, '', $bd) or...
asked by 10.11.2017 / 22:31
1
answer

Game seven and a half JS

I'm doing the seven-and-a-half game in JS, for the moment I'm trying to show on the screen when I press a button a random card and its punctuation, that is, the number one will be worth 1 point, the number 2 2 points, so succesivamente, I need a...
asked by 10.11.2017 / 18:12
1
answer

parallax inside div

I want to apply a parallax effect in div so that when I pass the text I change the image but the second image places it outside the div father html, body{ padding: 0; margin: 0; width: 100%; heigh...
asked by 09.11.2017 / 16:36
1
answer

does not work correctly Bootstrap 4

I do not know if it should be like that in the first image and I have to edit it or if it's some code error. I took it from the official website; link , but it does not work as the example says. so it appears to me; The example of the pag...
asked by 12.11.2017 / 02:32