Questions tagged as 'html'

2
answers

How do I make the page print out the way it is viewed on the screen?

I need to make a page that, when the user prints, quit exactly as it is viewed on the screen (with styles), I'm using Bootstrap version 3.1. Is there a Javascript plugin that does this? The solution I thought was instead of getting the s...
asked by 14.04.2014 / 16:40
2
answers

Limit scrollbar according to div size

Is there any way to limit the page%% by size (height) of a barra de rolagem ? Let's say I have a site like any other, but when I open a floating% 1000px height, I want the div of the mouse to hang when it reaches the end of thi...
asked by 15.12.2014 / 19:53
1
answer

What is the size limit of IndexedDB technology?

Today at work, I mentioned the IndexedDB technology to solve a problem here in the company, but there were several doubts, one of them being: What is the limit of data that can be stored in an IndexedDB? Still related as DB dime...
asked by 21.08.2018 / 16:41
2
answers

How to calculate installments (R $) and fill in inputs?

I would like help to implement the calculation of plots and fill / create the inputs according to the number of plots. Code below and link : $(document).ready(function(e) { $('#condicao-pag').on('change', 'select', function() {...
asked by 24.12.2016 / 21:05
2
answers

How to enable and disable links successively?

I have five links, and initially only the first link is enabled. When this first link is clicked, I want it to auto disable and enable the next, that is, the second link, and when the second is clicked, that auto disable and enable the next, and...
asked by 20.01.2016 / 00:57
1
answer

How to move characters with mouse?

I'm developing a time spent (browser game), where the user will guide your plane through the scenery! I have 2 div , at first I create a rectangle where when moving the mouse I capture the axis X and Y , I need to move a character in...
asked by 25.02.2016 / 18:26
1
answer

How to create a Radio button with image?

How can I make a Radio Button become an Image? I need to make a gallery of images inside a form so, clicking on the image would be selecting a radio button as in the image below:     
asked by 26.12.2015 / 23:28
3
answers

Correct cents in boletoPHP bank statements

I am using the BoletoPHP project to generate bank notes, but I noticed that the cents are not recorded properly, because when I buy a product with the value of for example, $ 245.00 plus the bank fee $ 2.95 , it correctly prints the value of $ 2...
asked by 16.12.2015 / 13:28
2
answers

How to leave responsive source?

How do you make the text size responsive and fit different screen sizes? I tried using em units but it did not work. I've tried using Media querys: EX: @media(max-width:768px){font-size:1.5em} I've tried the target / context...
asked by 24.12.2015 / 15:07
2
answers

What are the differences between "type = button" and "type = submit" in an input?

I have a simple JavaScript code to add a string to a ul list: JS: function init() { var botao = document.getElementById("addButton"); botao.onclick = handleButtonClick; } function handleButtonClick() { var textInput = d...
asked by 20.08.2015 / 21:50