Questions tagged as 'html'

1
answer

Totalize column values of an HTML table, with decimal result

I need to display the total result by adding the values that contain the value column: var linha=document.getElementsByClassName("calcular"); var resultado=document.getElementById('total').innerHTML = 0;...
asked by 02.06.2018 / 19:27
1
answer

Preventing anchored links from leaving stored histories

I have a code that has two blocks on the sides and clicking on them happens a change of background color of the page, but as they are defined with 'target' that pull each element in an ordered way, the following happens, for each click will stor...
asked by 14.06.2018 / 22:33
1
answer

Doubts with anchor link

I created a script as follows: <script> $(function() { $('#mostrar_planos').bind('click',function(event){ var $anchor = $(this); $('html, body').stop().animate({scrollTop: $($anchor.attr('href')).offset().top}, 500,'swing');...
asked by 07.06.2018 / 15:48
2
answers

How can I extract values from a Javascript input, but using HTML validation

<form><label for="NUMERO">Digite um número</label> <input type="number" name="num" id="NUMERO" min="0" max="100"> <button type="submit">Enviar</button> </form> I would like javascript to have the n...
asked by 17.06.2018 / 02:50
2
answers

Line wrap control does not work "white-space: nowrap:"

I do not know where I'm going wrong, but the 5th bar of the numeric sequence does not want to line up linearly, even giving a float: left; and a "nowrap" because I want to add a lower scroll bar in the content, but only the sidebar is added if I...
asked by 04.06.2018 / 20:03
1
answer

Screen suitability is not doing its function "@media screen and () {}"

The screen suitability is not responding to the defined attributes, apparently it seems right, but the width and height of the object when the browser screen is reduced in (max-width:400px) has no effect, something so simple and I could n...
asked by 05.06.2018 / 20:25
2
answers

About rowspan

<p align="center"> <table border="1" cellspacing="0" cellpadding"2"> <tr><td colspan="2">Tabela de Caracteristicas</td></tr> <tr> **<td>rowspan="4"</td>**...
asked by 25.03.2018 / 11:16
2
answers

Slides, transition of images with JS and radius, when hitting the mouse on top of the image pause the transition, while withdrawing continue the transition

onload = start; function start(){ var i = 1; function Move(){ i = (i%3)+1; // 4 is the Number of image in slider document.getElementById('t'+i).checked = true; } setInterval(Move,3000); //change img in 3 sec } body{ backgro...
asked by 02.06.2018 / 04:03
2
answers

Change the color of an image in css (jquery)

I have an image on my page: <img style="border:0;" src="img/corpo_menina.png" alt="" width="320" height="480" usemap="#dtb61iMap" id="dtb61iMap" /> At one point in my application, several changes in my css are made to completely chang...
asked by 25.03.2018 / 01:01
1
answer

How to upload videos inside a div with select

Hello I have a select with the values and titles of the videos. I want to select the video by value and load inside a div.                SELECT THE VIDEO ...                Video-1                Video-2                Video-3   What wo...
asked by 27.05.2018 / 22:18