Questions tagged as 'html'

1
answer

How to put a script inside another

This code is to replace the contents of a div, and I need to add this script inside the code but I'm not getting it. window.onload = function substituir() { document.getElementById("fgh").innerHTML = "<div class="dmg"><script type="...
asked by 29.07.2018 / 18:45
1
answer

Mobile menu: Click to open and then close

I have this code to open a responsive menu, but I could not get it to close. $('#menuMobile').on("click", function() { $('.showMenu').slideDown(); }); .container { width: 100%; background: #000; } /* Cabeçalho */ header...
asked by 05.07.2018 / 22:05
1
answer

Bug multiples modals bootstrap

I have two modals on the same page, one to change and another to remove information from the bank. The code for the first modal is this: <!-- Modal Editar --> <div class="modal fade" id="myModal"> <div class="modal-dial...
asked by 04.07.2018 / 22:57
1
answer

How to Overlap one Image with another?

I'm having trouble positioning one image after another without using position absolute/fixed . When using divs instead of imgs, if you apply float:left , it stays in context above the other divs, overlapping with other divs, but with...
asked by 04.07.2018 / 15:34
1
answer

What is the best way to make a function of a "Node" file be called on my HTML5 site?

I'm doing a project of a simple music player using ElectronJS. For this I'm using a library that plays MP3 files (play-sound), how can I call this function inside my HTML? Do I need to create another file just for sound reproduction or can I p...
asked by 10.10.2018 / 02:04
2
answers

How to tell if a person has clicked on a DIV or not

I have an ad and I want to know if the person has already clicked on the ad in the last 2 days. If it has already clicked, it does not appear, but if it did not click, it still appears. Something like this: <!DOCTYPE html> <?php...
asked by 14.10.2018 / 00:23
1
answer

Align lists of different sizes in the div in Bootstrap

I have some lists that are fed through a query to the database, that is, the amount that will show is uncertain, however I limit to show up to 5 records per category. How are you? Alistisoccupyingthe"space" of the other and so I want to b...
asked by 03.08.2018 / 14:51
1
answer

Open android app via php

I have a web system and would like to call / open an android app installed on a tablet via a button on my system. Is it possible via php, javascript or html? Thanks,     
asked by 03.08.2018 / 21:30
1
answer

Align div center and left

Hello, I have a question regarding div alignment. I have a situation where I have multiple divs within one another. I want the internal divs to be aligned to the center, but when there is a line break, the div that went to the second line goes t...
asked by 02.08.2018 / 19:31
1
answer

Text larger than the button

I have a problem that I can not solve. I made an accordion, as in the image below using bootstra 4, the desktop version of it looks like this: Butthemobileversionofthetextgetsbiggerandendsupextrapolatingthelimit,Itriedtouseoverflow-x,butther...
asked by 21.08.2018 / 16:18