Questions tagged as 'html5'

1
answer

How to change IMG (logo) from the menu (header) when scrolling page?

I have this menu that has an image: logo.png, as shown in the code below <header class="header"> <div class="container"> <a href="index.html" class="grid-4"> <img src="img/logo.png"> &l...
asked by 10.01.2017 / 01:09
1
answer

HTML5: Problem with not operator in pattern attribute of input text

I want to make the input text allow only the following strings: site.com; site.com.br; site123.com123.br; site-123.com. But never: site-123-.com.br My expression looks like this: (([a-z0-9-]{3,})[^-])+\.([a-z0-9]{2,})(([.]{1})([a-z]{2}))...
asked by 10.10.2016 / 18:32
1
answer

Is the 'window' rendered by the gift or does it come before that?

A curiosity: I wonder if the window is rendered by dom when loading the window, since the document is usually window.document.html . Or does dom come after this parameter?     
asked by 13.04.2016 / 15:37
1
answer

Axes of a Cartesian plane changing according to HTML5 zoom (canvas) + JAVASCRIPT

Galera is as follows, I am doing with js + html5 and canvas a program to plot graphics: Iwouldliketoimplementazoom+and-asintheimage,andreturntotheoriginalzoombyclicking'='.Mydifficultyisthis:afterzooming,theCartesianaxes'x'...
asked by 24.07.2015 / 15:44
1
answer

html5 audio latency on mobile devices

I'm starting in javascript and I have a simple project in hand but they're breaking my head. The project consists of creating a multitrack player (such as those recording studio software) where when clicking on play, the client can hear all the...
asked by 17.04.2015 / 21:31
1
answer

Using Data Annotations to validate fields in an HTML page and Web API

Someone has an example of how to create a field validation on an HTML page using Data Annotation, Web API and C #. In MVC with you, this is easily accomplished by using Wizard when creating a View.     
asked by 16.12.2014 / 19:51
1
answer

How to sum results from a list and display result in a popup in ionic?

I have an actiosheet that opens a popup: InthepopupIwantthetotalofthevaluesinthelisttobedisplayed.Thatis,Ineedtoadd/accumulatethevaluesinthelistanddisplaythesuminthepopup(inthecodebelowthisvalueisfixed).Couldyouhelpme? angular.module('start...
asked by 16.08.2016 / 16:10
1
answer

How to measure the performance and costs (processing and memory) of a frontend?

I'm working on a project that uses a lot of JavaScript (ecmascript-6, jQuery), Html5, and CSS would like to have some way to measure performance , consumption of processing
asked by 26.08.2016 / 02:44
1
answer

Working with SVG files dynamically

I'm developing a web page where I use a lot of CSS effects. between one of them I realized that I can not use filters in Firefox. Searching the internet I found some solutions that tell me to use SVG files. The problem is when I need to use 2 fi...
asked by 13.12.2013 / 19:33
2
answers

Read a "value" within a "select / select"

How to read options values from a <select></select> using HTML5 + JavaScript? Ex: <select name="tAtividades" id="cAtividades"> <option value="0" selected="selected">Selecione o Tipo</option> <...
asked by 20.11.2015 / 22:16