Questions tagged as 'html'

2
answers

How to know when an element is at the top of the page

I'm developing a one page website with several sections (about, contact, services for example) And a fixed menu, the idea is as the user scrolls the page the fixed menu would change the active links, ie when in the contact section, in the fix...
asked by 25.05.2017 / 13:51
1
answer

Problem with mouse over image

I'd like to know how I can move my menu into an image I've made. I wanted to put the menu on the left side for example. Here's my menu: link Here is my code: <!-- Icon --> <div id="user"> <img id="icon" align="l...
asked by 04.01.2017 / 10:26
1
answer

How to display message in AngularJS? [closed]

I'm working with angular and need to add a message on the screen when pressing the check code button. An error message or success. Angle Controller angular.module().controller(){ vm.validarProtocolo = function(){...
asked by 09.02.2017 / 19:06
1
answer

Bootstrap - How to increase the input column size?

Follow the code: On the index page: <!-- Modal --> <div class="modal" id="minhaModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document">...
asked by 06.02.2017 / 19:09
3
answers

Validate an HTML form with JAVASCRIPT

What would be a way to validate the text field as soon as the button is clicked? Using only JavaScript . Ex :    If the field is not filled in , and the user clicks the button, it issues an alert and would not let the form be sent...
asked by 04.12.2017 / 17:22
4
answers

Calculate inputs with JavaScript

I need to make + index work because it is a system for generating pages with embedded products. In this case, each inserted product will have a total0 + total1 and so on. However, it has to be in real time the value! function Soma...
asked by 08.12.2017 / 16:23
2
answers

How to move the position borders after the hover?

I have this div with borders in the corners and I wanted the right border to be down and the left border up when the div is in hover but I could not apply the effect. Here's what I've tried: div.classe { position: r...
asked by 16.01.2018 / 13:44
3
answers

How to change the radio button background when it is selected

I have the following problem, I have on my form several issues that are handled using the radio button, as print attached. I'm using jquery to change the color of the button when it's selected, the problem is that when the person selects the typ...
asked by 08.01.2018 / 15:50
1
answer

How to optimize iframe load time?

I have a page with several YouTube iframes that are taking a long time to load. I would like to know if it is possible to decrease this loading time or if it is not possible, like putting an animation until all the videos are loaded.  ...
asked by 02.12.2016 / 19:49
1
answer

Help with "Prism Syntax Highlighter" does not work right

I have a problem adding "Pre Code" to my blogger. When I add codes in the "language-css" tag, for example, the added codes work perfectly, but when adding html languages in the "markup" markup, it buga, as shown in the image below: Andthe...
asked by 10.12.2016 / 19:17