Questions tagged as 'html5'

2
answers

className, SetAttribute, or classList.add

I have a JSON list that creates several objects in a blog and I came across the following ways to add classes to the HTML objects I create after loading the list: className, setAttribute and classList.add. Obviously I'm giving preference to c...
asked by 18.12.2017 / 17:19
1
answer

Call page by HREF and load the id of another page in the IFRAME

Galera, See if this is possible in HTML5 and CSS: I have 3 files: index.html services.html desc_servicos.html Note: all files within the same folder. In the index.html file, there is a link to the services.html page. Within servico...
asked by 27.04.2018 / 23:54
1
answer

Is it correct to repeat the itemprop attribute?

I wanted to know if repeating itemprop this way is wrong. In fact, I want to show 3 products and put their itemprop of each situation: <img class="card-img-top" src="imagem_do_produto1.jpg" alt="produto1"> <h5 class="car...
asked by 31.08.2018 / 02:58
2
answers

Java Script Animation

Good afternoon, I'm trying to do a job with css, html, js. I need to make some images slide right and left as soon as I scroll the bar, one image at a time, but as soon as I roll the bar the images move all to the same time, I researched a lot a...
asked by 10.12.2016 / 20:35
2
answers

I can not create notifications with the $ cordovaLocalNotification plugin using IONIC

I tried to do it based on the code of that site: link But when I hit the "Add notification" button this error appears: ionic.bundle.js:26771 ReferenceError: device is not defined at Scope.$scope.add (controllers.js:83) at fn (eval...
asked by 23.04.2016 / 20:48
3
answers

Effect on jQuery [closed]

How to make an effect in jQuery, that when using the SCROLL the divs and the elements appear in fadeIn, like in that site: link     
asked by 29.01.2014 / 19:01
1
answer

How to make the elements appear with the mouse scrool?

Visibility.onVisible(function(){ setTimeout(function(){ $(".animar").addClass("animated fadeInDown"); }, 400); setTimeout(function(){ $(".animar2").addClass("animated fadeInDown"); }, 800); setTimeout(function(){ $(".animar3"...
asked by 11.05.2016 / 05:06
1
answer

Xml multiple elements

I am uploading a project to vtex, but when doing the update it has a multiple element error:    There are multiple root elements. Line 3, position 6. All the examples I saw did not serve me, can anyone help me? <!DOCTYPE html>...
asked by 10.10.2017 / 16:33
0
answers

What's the difference between Local Storage, Session Storage and Cookie? [duplicate]

What is the difference between Local Storage , Session Storage and Cookie ? What is the purpose of each one of them and what sets them apart?     
asked by 17.05.2017 / 16:58
1
answer

How to create relationships using the Indexed Database API of HTML 5?

Does anyone know how to relate data using Indexed Databases in HTML 5? I've seen many examples of how the API works, but in none of them have I seen data being related. For example, how would relationships 1: N ... 1: 1 ... N: N ...     
asked by 18.09.2015 / 22:50