Questions tagged as 'javascript'

1
answer

How do you create those preview videos on some tube sites?

Currently sites such as YouTube and some other adult content, play a preview video when we place the computer mouse over some thumb of a list of videos that is shown to us users. So how curious is this implemented?     
asked by 04.10.2018 / 21:08
1
answer

Why is jQuery becoming obsolete? [closed]

More and more, I find articles (in English or in Portuguese) that speak of this ... Am I wrong to continue using jQuery on websites? What's wrong with him? Is there any other framework (or lib ) that I should learn to set asi...
asked by 31.01.2018 / 14:35
1
answer

Information Box Google Maps with JS

How do I display an information box when clicking on the marker? I tried to do following the documentation, but when I click, the box appears but not the information inside it. //Center var mapProp = { center: new google.maps.LatL...
asked by 22.06.2017 / 14:59
2
answers

Create Javascript Library

I would like to know how I can create my own javascript library, that is, create functions that can be reused in various projects and with easy customization. I know that there are already a lot of good libraries out there (JQuery for example...
asked by 17.08.2015 / 19:07
1
answer

setInterval does not repeat

I'm trying to solve the following problem: On my page, setInterval does not repeat, tried in many ways, even simplified in the mode below to see if it would work, but it still does not repeat, it is working as a setTimeout . fu...
asked by 03.06.2015 / 14:34
2
answers

Div effect to show two images, half-a-half

I need to make an effect like this example : WhatIrealizedbypassingthedebugisthattwoimagesareonedivwithintheother:<divclass="box-image-differ" style="width: 620px; height: 366px;"> <img src="http://f.i.uol.com.br/folha/ilustrada/i...
asked by 23.07.2015 / 15:11
2
answers

How to receive a List (Java) in Javascript using Spring MVC?

I have a web application where the Spring MVC framework is being used. I need to get a List in a Javascript function, but I do not know how best to do this without leaving the code confusing. The Process class has String and Integer attribute...
asked by 24.11.2015 / 20:45
3
answers

Validate a Form

How do I display a alert() if the person has not filled in a textarea, and alert() that the comment was saved? JavaScript: function saveTextAsFile() { var textToWrite = document.getElementById("inputTextToSave").value;...
asked by 16.09.2015 / 01:47
2
answers

CSS / jQuery selector for a table column

Is there a CSS or jQuery selector that picks up a column from a table (each% of column%)? Or, if there is no simple selector that can do this, can you do with little code in jQuery / JavaScript?     
asked by 20.03.2014 / 20:19
1
answer

How to read content from a website in javascript?

I would like to know how to read content from other web pages using just javascript or some library. For example, from a remote news site, in the case: www.terra.com.br. And I would like to create a webapp to read the latest news presented...
asked by 03.03.2014 / 14:46