Questions tagged as 'html'

1
answer

Create facebook style profile link

Hello, I would like to know how to appear in the link of the client profiles of my facebook link style project (facebook.com/profilename). Because I can not get by without getting (site.com/perfil.php?per=profilename), (being "? Per=" the variab...
asked by 06.01.2018 / 23:23
2
answers

How to improve my pagination in php

Hi, I wrote a pagination in php some time ago now I have a problem with it this pagination is simple divides the total of lines of the database by the amount of links per page; but now the amount of lines in my database has grown and the paging i...
asked by 04.01.2018 / 16:25
2
answers

PHP how to leave select set

I have a select that takes the data from the database to do an insert: <div class="row"> <div class="form-group col-md-2"> <label for="marca">Marca</label> <?php...
asked by 27.01.2018 / 13:29
1
answer

How the onchange event works when uploading a file

I'm trying to implement a music player using javascript, which works by uploading an audio file (.mp3), in the script when uploading the file, which occurs with the 'onload' event the function created has the variable 'files' and then play the f...
asked by 07.01.2018 / 20:49
1
answer

Submit a post with reload of just one div

I have a form that I want to pass via POST, but without reloading the entire page, after submitting the information, I wanted a div to reload its content, I have the following code: <script> $(function() { $("...
asked by 30.11.2017 / 19:05
1
answer

How to swap the SVG drawing for a PNG image after completing the animation?

Good afternoon! I put an SVG drawing on my site, and I put an animation for when the drawing is visible on the screen, start drawing animation by "completing", follow the JS code. document.addEventListener('DOMContentLoaded', function() {...
asked by 03.12.2017 / 18:00
2
answers

Click anywhere in the li and run the href from the

You can see that <a> is clickable, ie I click on it and it redirects me to another location for example, but I would like to know how I can click everywhere from <li> to occur redirection and not only in <a>...
asked by 27.01.2018 / 22:32
1
answer

Time Manipulation [HH: MM: SS] - php and mysql

Good afternoon, guys. I need to manipulate time fields [HH: MM: SS] in PHP itself. I get the values in text in the HTML form as in the following example: <div class="item form-group"> <label class="...
asked by 01.03.2018 / 20:34
2
answers

Image inserted in html does not want to appear

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <HTML> <HEAD> <TITLE>Segundo HTML</TITLE> </HEAD> <BODY> <P> Uma imagem </P> <img...
asked by 04.03.2018 / 12:59
2
answers

Close browser automatically after the alert

How do I make the browser close automatically after the alert? <html> <head> </head> <body> <div onmouseover="showText();" onmouseout="javascript:alert('my alert');" id="div"></div> </body> </ht...
asked by 23.10.2017 / 18:05