Questions tagged as 'javascript'

1
answer

ReferenceError: google is not defined [closed]

I have a code to show Google Maps with several bullets, the one I click to show the map gives this error:    ReferenceError: Google is not defined. I have no idea what that is. NOTE: The code is taking the latitude to the longitude in the...
asked by 10.06.2015 / 21:57
0
answers

Text with color contrast in relation to the background using chroma.js [closed]

In the following file Random Theme Generator I have the code that uses chroma.js to check the bg color making the text have contrast, but it only generates a color for each background color and would like it to generate more than one color how...
asked by 23.07.2015 / 20:48
1
answer

Pass Function javaScript by ajax [closed]

I'm trying to return an alert from the server, but I can not. the idea would be as follows index.jsp <html> <head> <title>Teste</title> <link rel="stylesheet" type="text/css" href="../estilos/estilo.css" />...
asked by 21.07.2015 / 16:33
1
answer

Communication between C \ C ++ ADDON and NodeJS

This is trying to implement a server capable of speech recognition. But this last part has to be implemented through a C ++ C ++ Addon. At this point, I am writing the wav file on the server and passing the name to the addon: var obj1 = julius...
asked by 07.07.2015 / 16:29
1
answer

Download file to FTP and make it available for download automatically

Good afternoon! I'm developing a website, and I have some questions. This site will have a page for downloading some files. I would like to do the following: When transferring a file to the download folder on FTP, this file would have t...
asked by 13.08.2015 / 20:08
1
answer

FadeIn as the browser descends

I have a problem, I think it's more logical. It's the following I'm trying to make that effect from when I'm rolling the site down the content will popping up. $(function(){ $(window).scroll(function () { if ($(window).scrollTop() &g...
asked by 13.08.2015 / 21:32
0
answers

Is there any way to get the before orientation change?

In my mobile application (scheduled in JavaScript ), I have a function that is enabled when the screen orientation changes. $( window ).on( "orientationchange", function( event ) { ... } I, even before this function was activated...
asked by 25.06.2015 / 10:51
1
answer

How to make the paralax effect horizontal and vertical at the same time

I would like to know how to do with the parallax effect that exists on the following site: link In the arrows on the left side (up arrow), after the site loads, see the example of planet earth. How to make this effect with javascript or...
asked by 24.06.2015 / 16:27
0
answers

Print Iframe

I'm trying to print an iframe that I have on a page on my site, but the print window is not opening when I use the following code: function printFunction() { window.frames["printf"].focus(); window.frames["printf"].print(); } <i...
asked by 01.06.2015 / 13:40
0
answers

Tag script src does not work when I compile application (Windows Phone). Because?

I'm creating an app for a forum, on some pages I want to display content from other sites (those online), to display image works fine, but to display a rss created with an online tool it does not work, line is as follows: < script sr...
asked by 30.05.2015 / 18:31