Questions tagged as 'javascript'

0
answers

What is this in Javascript [duplicate]

I am currently studying javascript and am having a bit of a doubt regarding "this" in javascript, I saw that it can be using either a global object or a function but I still can not understand the actual function of it, if they can help me....
asked by 09.03.2016 / 19:16
1
answer

YouTube with Analytics events

I'm using the following scheme to embed the Youtube videos: link This allows the video to be requested only when the user clicks on the player (thumbnail), causing the page to load faster. I need to add a Google Analytics event tracking...
asked by 12.03.2016 / 10:03
0
answers

Open Facebook in your browser

I've created a Facebook application that briefly, at some point, uploads a photo to the visitor's album, and then uses var janela = window.open({urldafoto}) to open that photo in the album. So far so good. I needed to know when this wi...
asked by 11.03.2016 / 13:25
1
answer

Is there any way to cancel unload () or OnBeforeUnload ()?

Is there any way to cancel unload () or OnBeforeUnload ()? Something like this: window.onbeforeunload = function(){ //ação aqui break; //cancela o fechamento da pagina sem exibir nenhum alert } I need to open a div (popup) when the user cli...
asked by 09.03.2016 / 21:45
0
answers

How to add floating caption in the middle of the chart?

I need to add two captions in the middle of the chart, they are only informative but need to be in the middle of it. I tried several ways and still could not add. <html> <head> <script type="text/javascript" src="https://w...
asked by 11.03.2016 / 03:41
1
answer

Show information without updating page

I'm creating a project in which I will have "two interfaces", one used by the cell phone, the other used on a computer, on the mobile phone I'll have the YouTube API, using list , with JavaScript. > The client you are using will search f...
asked by 23.03.2016 / 05:45
0
answers

Ajax error - unexpected data close

I'm trying to figure out what's happening with the ajax code below. If the string comes with data, it works correctly, but if it comes empty, the error occurs:    JSON.parse: unexpected end of data at line 2 column 1 of the JSON data If I...
asked by 25.01.2016 / 19:49
0
answers

Doubt about each () function

In the example below, the multiplication of the value of the checkbox (if checked) by the value chosen in the "select "of the same line, there is a" reset "of the respective" select "when unchecking the" checkbox "and there is a result in para...
asked by 22.03.2016 / 13:50
0
answers

Put next and prev buttons in the cycle plugin

People, I'm trying to put two img , one next and the other prev on the slide image of the Cycle plugin, but even with position: absloute; image of next as prev does not overlap the rest of the slide. They are shown as slide...
asked by 24.01.2016 / 19:45
1
answer

Two Accounts Managing the Same Google API.

Is there any way for two separate accounts to manage the same google Key App via console.developers.google.com?     
asked by 26.01.2016 / 15:27