Posts by thelimarenan • 391 points
18 posts
-
2
votes2
answers130
viewsA: Display one item at a time with jQuery
To iterate individually on each element specified in *selector*,the operator shall be used each, which is a Jquery function [ .each() - for more details]. Within the callback use the setTimeout own…
-
0
votes1
answer423
viewsA: Uncaught Typeerror: $(...). Animate is not a Function
You will need to change some of your code to make it work. In Javascript I suggest doing something like this: function scrollToAnchor(sectionID) { $('html,body').animate({ scrollTop: $('#section-' +…
jqueryanswered thelimarenan 391 -
0
votes1
answer1226
viewsA: How to create an object and fill with data returned from Firebse?
When assigning the values in the class it is recommended to use setters or a constructor, for example: class export Evento { id: string; horaInicio: string; horaFim: string; constructor(values:…
-
3
votes7
answers185
viewsA: Capture year outside the regex
This below is not the most optimized way for your situation as there are some possibilities to be explored that you did not raise in your question, however below follows a possible Regex for your…
-
1
votes0
answers375
viewsQ: How to configure the ui-Mask clearOnBlur in an inline way?
Is there any way to configure the clearOnBlur of ui-Mask inline? According to the documentation, one of the ways to settar settings of ui-Mask is for Config Provider (or something like that), as in…
-
1
votes2
answers150
viewsQ: Map array on function return - PHP
Testing local (xampp), with the return of the function mapping an array. Example: <?php $res = $obj->Function()[0]['name']; ?> And on the production server (typical hosts) this interpolated…
-
2
votes1
answer114
viewsQ: Is making PDF available in the mobile version harming the user experience?
In a project in which I participate in developing the Front-End layers, I came across a possible problem about to finalize the mobile version of the same. Such a proposal to be questioned, is in a…
-
-1
votes1
answer316
viewsQ: Layout to adapt to browser resizing
Looking at many sites today, in this case, exclusively those with Layouts Responsive, I noticed a detail that was not of my concern until then. My doubt has been in qualifying whether a…
-
0
votes3
answers1955
viewsA: Ajax works locally, but does not work on the server
A palliative solution to this situation would be to name a variable/constant with its domain. For example: var siteRoot = 'www.meusite.com.br/'; the palliative is precisely in the content of this…
-
0
votes3
answers3201
viewsA: Get class name of an object
If you have the ID : document.getElementById("id").className; The difference is in getElementByid ["B" capital] Another way, if you want to access by type:…
-
1
votes1
answer391
viewsA: How to remove toolbar from tinymce?
The attribute that configures/customizes the Menu and its buttons is the menu. The way you are using, I think you will be able to remove the buttons this way: editor_config.menu = {} There is…
tinymce-4answered thelimarenan 391 -
0
votes1
answer98
viewsA: Enable Panorama (Street View) mode with Function Javascript
Well, developing the question, I found the answer! Just call panorama mode the same way you called Maps. Only now, instead of linking to the page load event, for example, just call it in the event…
-
0
votes1
answer98
viewsQ: Enable Panorama (Street View) mode with Function Javascript
How to call Google Maps panorama mode, via API? Using JS, you can configure and display Google Maps in a customized way: //Setup Maps function initialize(){ var geoLatLong =…
-
3
votes3
answers2716
viewsA: Change class with javascript when resizing the screen
There are several ways to do this. With Jquery, for example, it can be done like this: if ($(window).width() <= 750) $('.menu').removeClass('menu').addClass('responsivemenu'); // ou…
-
2
votes1
answer685
viewsQ: Bevel[Bevel] effect on PS text in CSS
I’m facing a problem I believe is common among Designer and Dev/Frontier/webdesigner or for lack of communication at the time of creation or for lack of technical knowledge of the developer to apply…
-
-2
votes1
answer43
viewsQ: Function that makes the direct $foo[array_rand($foo)]
There is a native PHP function that does this without using array_rand in the array key? Although it is working well and is a simple stretch, it follows a simplified example of doubt: //Declarando…
-
4
votes4
answers989
viewsA: Read input value type file doubt
Why Jquery will search for One or + occurrences of input[type='file'] , will soon list the results in a Object by the keys ([0][1][2],etc).…
-
5
votes2
answers182
viewsQ: preg_split is not breaking the strings in the array
I’m not getting to use the function preg_split() correctly. I’m trying to break a string array() via regex but it’s not happening. $string = "<:termo.9:><:termo.10:><:termo.11:>";…