Questions tagged as 'html'

1
answer

scroll with position: fixed losing the right margin

When I scroll down, the chat # div will get everything fixed. But the problem is that the layout breaks down the right margin. How can I resolve this problem? $(document).ready(function() { var nav = $('#chat'); $(window).scr...
asked by 04.07.2015 / 20:28
1
answer

Radio button using ViewData for an MVC model

I have a ViewData and would like to make it a RadioButton for a model ViewData["tiposPagamento"] = dbo.TiposPagamento.Where(_=>_.Ativo); Radio Button: @Html.RadioButton(m=>m.TipoPagamentiID, ViewData["tiposPagamento"]) But just...
asked by 16.04.2015 / 12:43
1
answer

Open iframe links

How do I prevent iframe links that have the target="_blank" property and open those links in another iframe only on the same page? Example: Content of iframe1: <a href="http://t.co/YJdEOEu8Dz" target="_blank">MEU VIDEO</...
asked by 31.03.2015 / 22:28
1
answer

How to insert Jquery using EmberJs

I'm building a web app with Ember.js (simple) and I'm trying to use some animation functions with Jquey, there's the code: require(['../js/bootstrap'], function () { require([ 'jquery', 'handlebars', 'embertemplatecompiler...
asked by 31.03.2015 / 18:41
1
answer

Limit quantity of items in an Input by default total value

I have a variable with this value: var total = 10; And two input: <input type="text" name="foto-1"> <input type="text" name="foto-2">    I need the client to be hindered by a value in which the sum of each input is greater...
asked by 10.06.2015 / 21:53
2
answers

My js file is not loading

Studying Ajax with JQuery, in Mauricio Samy Silva's book is not working with me. I made a js file off and now I can not load it. What I did think is not wrong. I debugged the browser with F12 and I do not see any js error. I put several alerts a...
asked by 09.06.2015 / 16:30
1
answer

Tool to calculate performance and / or power consumption on a mobile device [duplicate]

Hello, I'm on a project that I need to develop some web apps for a mobile device. It's for the Android platform. And I would like a tool that gives me the performance of that application and / or that gives me the energy consumption of that ap...
asked by 15.05.2015 / 15:51
2
answers

Problems in css, menu does not work

It just does not work, the "li" does not appear. <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style> /* reset do html */ html, body, div, span, a...
asked by 14.05.2015 / 04:38
1
answer

Masquerade jQuery does not work on duplicate element - same class, same id

I'm using the jQuery-Mask-Plugin mask option and I use a field duplication code; however, when duplicating the element, the mask does not follow, that is, the new element (duplicate) does not bring the mask of the source element. Any idea h...
asked by 13.05.2015 / 16:12
1
answer

Prevent duplicate registration with PDO

I would like to prevent duplicate registration of the same source. The code used for registration is the one below: <form name="enter" method="post" action="" enctype="multipart/form-data"> <?php if(isset($_POST['enter'])){ $font = $_...
asked by 13.05.2015 / 15:12