Questions tagged as 'html5'

2
answers

Toggle - get result true or false

Follow the code: Model: public bool teste{ get; set; } View: <div class="checkbox"> @Html.CheckBoxFor(model => model.teste) </div> HTML result: <div class="checkbox"> <div class="lcs_wrap">...
asked by 05.01.2017 / 07:40
1
answer

nulling function action if result is false

I have the following function: if the entered data is NaN, it gives focus to the field and changes the border function validaNumero(){ dado = document.getElementById("new_partner"); var formulario = document.getElementById("new_partner...
asked by 21.12.2016 / 19:56
1
answer

JavaScript - Doubt when manipulating values of div's with variables

Good afternoon! Home I am having a question regarding the manipulation of div's values ... When dragging an image of the div fundo1 (blue) or fundo2 (yellow) to div conteudo , I would like the values present within the% div...
asked by 06.10.2017 / 20:25
1
answer

How to join texts in a textbox by dragging them?

I have an empty textbox, and I have some buttons with values like: + , - , * , / , palavra1 , palavra2 so on. I want to fill this textbox by dragging these buttons into it, not just clicking on them,...
asked by 10.10.2017 / 20:15
1
answer

Button with glyphicon-remove with size problem

Please see this demo link: link I'm trying to center the "X" inside the red button. Code: <button id="del_photo" type="button" style="width:20px;height:20px" class="btn btn-danger btn-sm" title="Excluir"> <span class="glyp...
asked by 24.11.2016 / 21:20
1
answer

"mask-image" property does not work in Firefox. Is there any workaround?

I'm doing a project where I should apply a mask (PNG or SVG) over an image . I'm using .svg-clipped { mask-image: url("../img/desktop_tds_hist.png") ; -webkit-mask-image: url("../img/desktop_tds_hist.png") ; -webkit-mask-image:...
asked by 05.10.2016 / 19:01
1
answer

Using Code Snippet in HTML5

I'm putting together a page and its content contains HTML snippets of code. I tried inserting snippets of code this way but it did not work: /* <!DOCTYPE html> <html> <body> <p>Arrays :</p> <pre> <...
asked by 21.11.2016 / 14:45
1
answer

How do I create a fullscrenn button for my video player?

<!doctype html> <html> <head> <title>Tag video</title> <meta charset="utf-8" /> <script language="Javascript"> window.onload = function(){ var b1 = document...
asked by 18.09.2016 / 22:39
1
answer

Callback logic

I have a small problem and I would like an aid to understand and if possible an indication of the Srs to help this problem. Let's start, I currently have a loop, I'm doing it in a for something like the code below: for(var i = 0; i < 150...
asked by 30.05.2016 / 18:32
1
answer

Validation Problems Uploading Multiple JavaScript Files

No form, in an Input selecting multiple images @using (Html.BeginForm("Edit", "RoomType", FormMethod.Post, new { enctype = "multipart/form-data", onSubmit = "return ValidateImagesUpload()" })) { @Html.AntiForgeryToken() <div class="...
asked by 30.09.2016 / 18:31