Questions tagged as 'javascript'

1
answer

Search topic and subtopic

I think it should be simple, but I did not get a perfect run. I'm developing a hotsite to make some slides, theories and codes available during the development of CodeLab's in certain programming languages, I've created a menu to separate by...
asked by 11.10.2016 / 13:46
1
answer

Javascript calling function without needing .click

How can I call this function without having to create a button, for example: My controller sends a notification for the {{error}} html or {{success}} and both are hidden and I want to customize this information before it is displayed <di...
asked by 11.10.2016 / 22:14
0
answers

Change "fill" of each path according to the color that is in an array

I'm doing some tests and I'm generating a map of Brazil with all the municipalities and I'm creating an array that will have the following structure: var arr = []; arr['São Paulo'] = 'red'; arr['Altamira'] = 'black'; The code I currently h...
asked by 10.10.2016 / 21:16
0
answers

Phonegap Push Notification + Additional Information PHP JAVASCRIPT

Hello, I'm trying to use the following function to pass additional information to my app using phonegap and push notification. function sendGoogleCloudMessage( $data, $ids ) { // Insert real GCM API key from Google APIs Console // https://code...
asked by 13.08.2016 / 20:36
0
answers

Implement swipe in the Venobox lib

I'm using a lib called venobox on a website, but it does not have the native swipe which is the slide of the side image to pass it or go back and I've already tried to implement the TouchSwipe-Jquery-Plugin lib but it does not work on the images...
asked by 14.08.2016 / 17:40
0
answers

localStorage add when I refresh the page

I'm doing the following operation: I get the typed text in a <textarea> and I make a push() to add it in the array; shortly afterwards saved in localStorage . I retrieve the values, I make a split() the via Angula...
asked by 13.08.2016 / 21:55
0
answers

How to use scroll only in the Table that stays within a modal?

I have a screen that has scroll, and in this screen access a modal search. This modal loads some information into a table, so I use shortcut keys to make it easier to navigate. The problem is that when scrolling using the scrollbars that exis...
asked by 17.08.2016 / 16:09
0
answers

What is the best practice to share code between angular 2 projects? [closed]

What is the best practice to share code between angular 2 projects? How can I share components between projects? Below dashboard example should be use components of the eye project, and nose project. In this case, using this seed link . I...
asked by 11.08.2016 / 19:23
1
answer

Slide toggle with multiple divs, each div makes its own slide

Well, I'm having a problem creating a slide for each div. I am making a code that will create x divs alike, but with different contents and I need each one to have a button to perform a slide up with your information ... I am trying to create a...
asked by 11.08.2016 / 20:32
1
answer

How to create a session on a PHP server to log in to a separate application (HTML + JS) using Ajax?

I am doing a hybrid app with Phonegap (using only HTML5, CSS and JS - jQuery and JQuery Mobile). For this, I have the application itself, which can not use PHP, and a server apart that takes care of things like login. There is also a database....
asked by 14.09.2016 / 15:20