Questions tagged as 'html'

1
answer

Validate List of radium buttons with Angular.JS

I have a list of radium buttons and I need to control by angular: Validations: one option at a time and display message. Code:<!DOCTYPEhtml><html><head><title></title></head><body><div><labe...
asked by 10.02.2017 / 21:50
1
answer

I'm making a game, and on line 36 gave this error Uncaught ReferenceError: resetInterval is not defined. Can anybody help me?

<!doctype html> <html> <head> <meta charset="utf-8" /> <title>My game</title> <script src ="Sprite.js"></script> <Style> canvas { positi...
asked by 12.02.2017 / 18:54
1
answer

How to keep site elements in the same place all the time?

I have the following HTML code: <div id="geral"> <p class="texto_grande_titulo">...</p> ... </div> In CSS: div#geral{ background-image:url(../imagens/borda.png); background-repeat:n...
asked by 12.02.2017 / 17:50
1
answer

undefined function in window.onload?

Well I declare a function in a javascript file javascript file: window.onload = function(){ function func(x,y){ //faz operacoes em x e y e nao retorna nada } } But in the html file, when I want to call this function by passin...
asked by 23.03.2017 / 20:04
3
answers

How can I pass php data to javascript in this case?

I need to pass the latitude and longitude data of the addresses that are within the 25km radius to the javascript function that creates the map, follow the code I have made so far (Yes, I am a beginner): <script type="text/javascript"> /...
asked by 24.03.2017 / 17:42
1
answer

From a selected checkbox, get the value of a date attribute next

Good afternoon, I have a checked checkbox (check = true) <div class="form-group col-xs-12 col-sm-12 col-md-3 col-lg-3 space"> <div class="input-group"> <span class="input-group-addon"> <input type="radio" id="c...
asked by 22.03.2017 / 18:56
2
answers

Vertical column alignment

I'm doing a code snippet where there are 3 "columns" within a "row" of foundation 5 as per the code below: .row{ background-color:yellow; } .align-vertical{ align-vertical:middle; } <div class="row align-vertical"> &...
asked by 31.03.2017 / 14:23
1
answer

CSS is not being loaded in PhP code

I have the following code: <?php include ("head.php");?> <title>módulo EAD</title> <body> <div class="container"> <header> <div class="page-header"> <h1>Bem vindo ao módulo EAD</h1&g...
asked by 04.04.2017 / 20:27
1
answer

2 different forms with select field

I need 2 forms on the same page and I'm trying to create a select field in the end so I can choose between one or the other, I'm trying here several ways without success! please help, follow: <div class="module-body" id="div1"> <s...
asked by 05.04.2017 / 14:10
1
answer

How to do small animation with js

Hello, I would like to make a little responsive animation to show information. For example, I have this rectangle: <div id="mainDiv" > <div id="Rectangle" style="width: 200px; height: 300px; background: #3c9e43; margin-lef...
asked by 05.04.2017 / 16:06