Posts by Shelon • 262 points
14 posts
-
0
votes1
answer94
viewsA: Angular Leaflet map error
Hi I cleaned your code and made a test here. The only reason I can find is that you don’t declare the controller view side. I hope this helps.…
-
2
votes2
answers1306
viewsA: Study Angular 1 or 2
1 - Angular JS (Angular 1) is totally different from 2, it has been reworked, so I advise starting to the 2. 2 - I work directly with Angular indifferent to the size of the project, for greatly…
-
1
votes2
answers149
viewsA: Fullpage JS, running on different pages
You can use it as follows: if($('#agencia').fullpage() != ''){ $('#agencia').fullpage.destroy('all'); } So the JS detects if it already exists running and Destroy.…
-
0
votes1
answer423
viewsQ: Gulp Watch, SASS no amendment
My gulp: var gulp = require('gulp'), sass = require('gulp-ruby-sass'), imagemin = require('gulp-imagemin'), changed = require('gulp-changed'), browserSync = require('browser-sync'), livereload =…
-
1
votes1
answer420
viewsA: How to open a new window to view data from a mysql table via php?
Next: Missed the "?". visualize.php? id= Follows: <a href='visualizar.php?id=<?php echo $dado['op_id']; ?>'<button type="button" class="btn btn-xs btn-primary"><i class="fa fa-fw…
-
0
votes1
answer570
viewsA: Send multiple images via Curl
Follows solution: $produtoId = $_POST['produtoId']; $url = $url_api.'produto/'.$produtoId.'/uploadimage?authenticator='.$token; $total_imagens = count($_FILES['file']['name']); for ($i=0; $i <…
-
0
votes1
answer26
viewsA: Flexslider Buga in Tab or Modal
This is just the way to render the Canvas. Jquery works with the active DOM tree, which is generated after the page’s initial Load must be renamed the Flexslider Function, so that Jquery recognizes…
-
0
votes2
answers110
viewsQ: WHM - Monitor Mysql by site
I need to monitor the use of Mysql by user in my Cpanel. How can I monitor Mysql usage separated by Cpanel client in my WHM? Is there any solution to this?
-
1
votes2
answers60
viewsQ: Datepicker not render next months?
We have this example: http://jsfiddle.net/3eBLH/. When I click on the month of May, it renders the next 2 months. There’s a way to disable it?…
-
2
votes2
answers382
viewsQ: Update ng-repeat outside ng-view?
I have a fixed menu at the top, where the pages are opened through Routes in ng-view. In an X view I add a new element to my database, and in the fixed menu I use ng-repeat to list these elements.…
-
2
votes1
answer61
viewsQ: Md-slider, how to know when it was finished?
I have this slider: <md-slider step="5" min="15" max="120" ng-model="tempo" aria-label="red" id="red-slider" class=""> </md-slider> I could not find a legal way to know when the user…
-
3
votes1
answer188
viewsQ: textContent Material Designer Angular JS
I’m using the Angularjs Material Dialog and it’s okay, but when I put the textContent it returns the following error: CONSOLE ERROR $mdDialog.confirm(...).title(...).textContent is not a function JS…
-
2
votes3
answers1534
viewsQ: Create global function in Angularjs?
I’m working with $mdToast which is used in multiple locations for notification. I would like to create a global function for him, which would be something like this: function alerta(texto){…
-
3
votes2
answers260
viewsQ: Angular - delete $Scope.categoria_nova;
My delete does not work when registering a new category: The aphorist doesn’t clear the fields, which can be? JS: app.controller('categoriasCtrl', function ($scope, $http) { $scope.categorias = […