Posts by Michael Alves • 595 points
13 posts
-
0
votes0
answers83
viewsQ: Problem with Composer - PSR-4
I am studying Composer and its autoload forms (classmap, file, psr-0, psr-4), but in my example it is appearing with the following error: Fatal error: Class 'Library\Exemplo' not found…
-
0
votes1
answer678
viewsQ: setInterval how to come back again after giving a clearInterval?
for reasons of study and knowledge, how could I clear a setInterval and then according to some event I can continue its execution again. 'use strict'; var imgAtual = 0; var arrImg =…
-
1
votes1
answer435
viewsA: Access through Javascript/Jquery an element that came through AJAX after DOM LOAD
I solved my problem! I needed to make an element that came dynamically through AJAX be recognized through Javascript/Jquery and be able to write an Event for this element. Be able to do this through…
-
2
votes6
answers12215
viewsA: How to view php/mysql and Angularjs data?
I went through a similar situation these days, in my case I played the result for another array to later encode for json. In the following example is an excerpt of my code that I used, in this case…
-
5
votes1
answer435
viewsQ: Access through Javascript/Jquery an element that came through AJAX after DOM LOAD
I am developing a WEB APP with Angularjs, there is an element that is coming to the DOM after its loading (load), I am trying to write an event : $('elemento').click() But when finished rendering…
-
3
votes1
answer3027
viewsQ: How to free access to specific FOLDER or FILE using . htaccess?
I have a . htaccess in my development environment. Now I need to release a directory of the site, actually a specific PHP file. I’m using this code on. htaccess, I am releasing several extensions,…
-
0
votes1
answer170
viewsA: Custom menu on the site
This technique that is currently used in some menus is called "Megamenu", where when executing the event of Hover appears a container of content based on that menu option. To give you a "north" at…
-
2
votes1
answer390
viewsA: CSS - Leave a minimum distance (height) between two 'Fixed' elements
I believe that there are several ways to solve this problem, I performed some test here with your code. Testing and using media queries helped solve the problem. The point is that you need to find…
-
9
votes2
answers245
viewsQ: Confused about the correct form of Inheritance in Javascript
I am studying ways to apply Object Orientation in Javascript. I realized that there are several ways to do Inheritance in Javascript. I did the one that I thought was simple and worked. But is it…
-
2
votes3
answers7373
viewsQ: How to Rotate an Image in the Background?
How I’m sending in Image in sequence: I want to make this globe do a rotation, it’s a perfect circle representing a world globe. After figuring out how to rotate the background with CSS or not. I…
-
7
votes1
answer1894
viewsQ: Dynamic bind with prepare()
I am doing a function using PDO, when I try to use the PREPARE method the function does not end successfully, replace PREPARE with QUERY changing some arguments and worked. But my question is this…
-
11
votes2
answers7980
viewsQ: What’s that "Mr-only" Bootstrap Twitter thing for?
Studying the documentation I was left with doubts: for what really serves the class sr-only of bootstrap?…
-
2
votes3
answers247
viewsQ: Background Reponsivo
I’m having doubts about how it makes the background responsive. This is the Background. This is how it’s getting at 1024px Wide. I am putting in the Background-Size 100% Width, I wish that when the…