Posts by Hitch Leonardo • 623 points
34 posts
-
1
votes1
answer747
viewsQ: Message no Component Snackbar - Angular 4 Material
I’m using the library of angular material and decided to use the Component of Snackbar. One of the parameters of Snackbar is the parameter message. My intention is to pass inside the message instead…
-
0
votes2
answers260
viewsQ: Call in API does not work
I have the following code: // Script Jquery <script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="…
-
2
votes1
answer26
viewsQ: Text Infinity Rotator
I have the following code: var words = ['Buy it', 'Use it', 'Break it', 'Jam it', 'Unlock it', 'Save it'], current_length = 0, current_direction = 1, current_word = 0, character_delay = 50,…
javascriptasked Hitch Leonardo 623 -
2
votes1
answer418
viewsQ: Popover Boostrap 3 - Does not appear
I’m with the following html code: <button class="thumb-hearth pop" data-toggle="popover" title="Likes" data-placement="top" data-trigger="focus" data-content="Teste"> <i class="glyphicon…
-
1
votes2
answers417
viewsA: Vagrant error up windows 10
The error consists of a DNS conflict, even if a proxy, update servernames or try forced resources for connection setup, the only alternative that frees the command is by upgrading windows using…
-
3
votes2
answers417
viewsQ: Vagrant error up windows 10
I am using Homestead and Vagrant to create a Virtual Machine and run my web projects. However, I cannot log into my hosts (ex: meusite.dev), all are already properly configured on Homestead.yaml and…
-
0
votes1
answer122
viewsQ: Capture ajax datetime with jquery
I have an array containing some objects from an AJAX call. The values are being passed through a date: "res.datatags." In one of the objective answers the following result: 2016-07-15T10:00:00-0300…
-
1
votes2
answers275
viewsQ: Separate json response for tags
Guys, I have the following ajax call: $(".sec-tags").html(res.data.tags); It is returning the server call, however the call is coming as follows: tags: "coelho,teste,gato" Everything is coming…
-
0
votes1
answer520
viewsQ: Clear a route between two points (API google maps)
I created a system of routes between two points in Google Maps (one passed by the user and the other already defined by me). My problem is in the process of showing a new route, that is, how can I…
google-mapsasked Hitch Leonardo 623 -
2
votes1
answer117
viewsQ: Google Polymer and ANGULARJS (2016)
good afternoon. Does anyone here use Google Polymer? If ever, have some experience to tell about its possible integration with Angularjs? According to Angular itself: "A key Feature of Angularjs 2.0…
polymerasked Hitch Leonardo 623 -
1
votes2
answers87
viewsQ: How to remove an Alert after selecting another in a select
I have the following code: HTML: <select class="form-control btn-form" id="select-category"> <option selected hidden>Selecione uma categoria:</option> <option…
javascriptasked Hitch Leonardo 623 -
0
votes1
answer154
viewsQ: Centralize tabs
I have the following code: http://bootsnipp.com/snippets/3x5jo How do I center the "tabs", ie: <ul class="nav panel-tabs"> <li class="active"><a href="#tab1" data-toggle="tab">Tab…
twitter-bootstrapasked Hitch Leonardo 623 -
0
votes1
answer616
viewsQ: How to do Hover to link and icon at the same time
Good morning, everyone. I have the following HTML code: <li> <a href="../navbar/" class="navbar-top user-color"> <span class="glyphicon glyphicon-user gly-user"…
-
1
votes1
answer60
viewsQ: Jquery Scroll Smoth
I have the following JS code: It is applying a Smooth to scroll to all elements with the reference "#" when I click. JS $('a[href*=#]').click(function() { if (location.pathname.replace(/^\//,'') ==…
-
1
votes0
answers218
viewsQ: Open Screen as windows explorer
My system has a screen similar to Windows Explorer (Winfile), on this screen, each folder has a caption with the current year (2015). What I need is that when the year of 2016 comes, an image that…
javascriptasked Hitch Leonardo 623 -
2
votes1
answer481
viewsQ: Close Menu-Offcanvas by clicking Outside
How can I do, so when I click on the white area after the menu is open, I can close it? The same way it runs when I click on "x"? $(function() { $('.toggle-nav').click(function() { toggleNav(); });…
-
1
votes2
answers538
viewsA: How to Generate Drawable Images for Android from Photoshop
From the CC version you can export each layer of your project separately, either in . jpeg, . png, . gif, etc... However, if you don’t have this feature yet, go to file, and select the option (save…
-
0
votes1
answer50
viewsQ: Page flashes when giving F5
I don’t know if my doubt is ordinary or not. I’m creating a website, it’s totally optimized (Super Light Images, Codes, Scripts, etc.), however, whenever I refresh the page, it kind of flashes a…
htmlasked Hitch Leonardo 623 -
2
votes1
answer2299
viewsQ: Change panel-Heading background color by clicking
HTML <!-- panel 1 --> <div class="panel panel-default pulse animated"> <div class="panel-heading" role="tab"> <h1 class="panel-title"> <a id="link-open" class="text-pan…
-
0
votes1
answer1139
viewsQ: Panel-Collapse Bootstrap
HTML CODE <!-- panel 1 --> <div class="panel panel-default pulse animated"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a…
bootstrap-3asked Hitch Leonardo 623 -
1
votes1
answer125
viewsQ: Reduce js code and number of requests
how can I compress this code into just one, to reduce the number of requests and reduce the js code? //<![CDATA[ $(document).ready(function(){ $('.combobox').combobox() }); //]]>…
javascriptasked Hitch Leonardo 623 -
0
votes2
answers300
viewsA: I installed Unity and gave error, I can not view the demo of the game nor put the scripts
This happens because your "UnityEngine.Component.particleSystem" set a preview property after you executed your preview. In this case, check your extensions or reinstall the software.…
unity3danswered Hitch Leonardo 623 -
1
votes1
answer92
viewsQ: Remove fixed bar from sidebar
I have the following code: JAVASCRIPT //fix lateral filter and gallery on scrolling $('.cd-filter-trigger').click(function () { (!window.requestAnimationFrame) ? fixGallery() :…
jqueryasked Hitch Leonardo 623 -
1
votes1
answer149
viewsQ: Slidetoggle on left side with icon
I have the following code: HTML: <div id="slideleft" class="slide"> <button type="button" class="btn-event">ICON</button> <div class="inner" style="left: -338px;">Efeito…
jquery-toggleclassasked Hitch Leonardo 623 -
1
votes2
answers1477
viewsQ: Panel-Collapse start closed
I have the following code: https://jsfiddle.net/05913dg4/1/ I need to get this collapse, get closed. That is, when opening the page it get closed, and only after clicking it open....…
-
3
votes1
answer737
viewsQ: How do I filter Google Maps results for a specific region?
I’m with a route system that captures user data and maps routes on the map: geocoder.geocode({ 'address': endereco + ', Brasil', 'region': 'BR' }, function (results, status) {} The problem is that…
-
6
votes2
answers190
viewsQ: Closed JS open panel
I have the following panel: $(document).on('click', '.panel-heading', function(e){ var $this = $(this); if(!$this.hasClass('panel-collapsed')) {…
-
1
votes1
answer908
viewsQ: Stylization of markers on Google Maps V3 routes
I created a form where the person type where it is and then a search is performed and a route is defined. The question is: its starting point after the route is set is not showing the icon I created…
google-mapsasked Hitch Leonardo 623 -
1
votes1
answer3550
viewsQ: Create a route in Google Maps V3
how do I adapt the script below to the following purpose: The user opens the page and appears the map in a predefined place (company). Then he clicks on an input and enters its location, (the input…
-
0
votes0
answers2465
viewsQ: Identify where I am and plot routes (Google Maps V3 with JS)
I am trying to create a script in JS and HTML5. Need to solve the following problem: The user opens the page and the map appears in a predefined place. Then he clicks on an input and enters its…
-
4
votes2
answers1377
viewsQ: Make Tooltip appear by clicking inside the input
I have the following problem. I have this js code: // Tooltip $("#sel-tooltip").select(function startTooltip(){ $(function() { $('.tooltip-icon').tooltip({ placement: 'top', title: 'Sinta-se em…
-
2
votes1
answer204
viewsQ: Selective.js does not work
I have a problem with my code. I cannot run the plugin selectize.js on this page. All paths are correct. The input appears and everything else, however, when I click to type, the plugin does not…
javascriptasked Hitch Leonardo 623 -
2
votes3
answers2217
viewsQ: Capture "textarea" from the Responsive WYSIWYG (text editor) plugin
I have the following code: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <link…
-
3
votes2
answers888
viewsQ: Background image makes the page flash when loaded
I’m creating a site, by uploading any of the 6 pages of a category of the site that each have a background image with an average of 40 to 70kb, the area where the image is flashed. The page always…