Posts by Mauro Alves • 546 points
21 posts
-
0
votes1
answer150
viewsQ: Problem in AJAX query in a loop
I have a view that has several pie charts using the D3 plugin. Each chart should display different data. With PHP I do a foreach on the screen, creating the div where the chart will be displayed,…
-
1
votes1
answer354
viewsQ: Dynamically add and remove fields with sum and multiplication of values
I have a tab, where the user should put the amount and value of each item. He can add as many items as he wants. At the bottom of the page, it will show the total result of the sum of all possible…
-
1
votes2
answers1896
viewsQ: How to make a record count for each day between a date and another?
I need to make a query, to return the number of records registered in EVERY DAY, between two dates. I’m using a mysql database, and I tried here, but no way seemed right.
-
4
votes1
answer5912
viewsA: Darken background with text on image
You can use a pseudo-element :after or :before and use it as a layer in front of the background and behind the text. For that you need to put one position:relative in div main and use z-index to…
-
1
votes1
answer61
viewsQ: SQL data count filtered by multiple tables
I have a PHP page where I have to generate a chart of "Registered sellers" filtered by region. The problem is that the Sellers table has City Id, the City table has State Id and the State Id has…
-
0
votes1
answer4399
viewsQ: SQL Server query SQL with COUNT and INNER JOIN
I have a page in PHP where I have to return data from two tables that are in a database SQL Server. One of the banks is registered sellers and the other is of the categories where they are…
-
3
votes3
answers175
viewsA: Counting filtered dates per day in Mysql
I was able to solve the problem by following the instructions given in the answers/ comments. First I changed the field text for datetime and then with an SQL query I solved my problem. Select…
-
2
votes3
answers175
viewsQ: Counting filtered dates per day in Mysql
I’m a beginner in Mysql and registered a table on Phpmyadmin, where the id is int, and all other fields are text, including a field data_cadastro. I was in doubt, because there were several types of…
-
2
votes2
answers2005
viewsQ: Upload photo taken by mobile shows rotated image
I have a system with a Photo Upload page. It’s a simple photo upload where you click on input, selects the image and end. After just submitting the form, the image is saved in a folder, and in…
-
3
votes2
answers1086
viewsQ: Disable/ enable scroll with Jquery
I need an area that by clicking, prevents the scroll from the screen while the cursor is over that area, however, it works normal outside that area. I got this with a function that I will leave…
jqueryasked Mauro Alves 546 -
2
votes1
answer6072
viewsQ: Prevent scrolling of the screen when opening modal
I’m creating a single-page site with five sessions, each of which takes the screen size by script. In one of these sessions, it has a button that will open a modal that will be in front of all the…
-
0
votes2
answers4895
viewsQ: Dynamic select with Jquery
I’m a beginner in working with Jquery, and I’m having trouble making a select dynamic function. By choosing in the first select a value per second select should display only the options with class…
jqueryasked Mauro Alves 546 -
2
votes1
answer1093
viewsQ: Take a div’s height and apply it to another div
I’m using the excellent Fullcalendar plugin to add a calendar to a page on the site I’m doing. It is very dynamic and the plugin calculates its size as soon as the page is loaded, keeping its size…
-
4
votes1
answer160
viewsQ: Show message when filter does not find output
I’m using the excellent Isotope plugin to filter items from a page. Filtering occurs according to the classes used in li that are referenced in option. When selecting a filter, correctly referenced…
jqueryasked Mauro Alves 546 -
2
votes1
answer9851
viewsQ: Close menu by clicking outside it or the open button
I am creating a menu structure that clicking on the element will display a submenu. I need to do this using addClass, because I need to change the stylization of the elements by clicking. When…
jqueryasked Mauro Alves 546 -
-1
votes1
answer262
viewsQ: How to use Magicline in Single Page navigation?
Magic Line is a jQuery plugin which has the function of adding a line below the li from the navigation menu to represent which page the user is in. If the URL matches a menu item, a class .active…
jqueryasked Mauro Alves 546 -
0
votes1
answer46
viewsQ: Remove class depending on site height in refresh?
I own a website with animation that starts as soon as the object on the screen is visualized. However, if I give F5 in the middle of the page, by climbing to the mean refresh top in the middle of…
-
2
votes1
answer1761
viewsQ: Is it possible to slow down the scroll from a particular section of the page?
I have a single-page project, where when you scroll down, you will make a drill animation by drilling through the layers of the earth, until at the end, when you drill through the water, the screen…
jqueryasked Mauro Alves 546 -
6
votes2
answers1334
viewsQ: How to automatically scroll to the top when viewing the page footer?
I’m making a site, which has some animations, and when arriving at the bottom of the site for the first time, should trigger an event where the page goes back to the top, but in the following times…
-
3
votes2
answers648
viewsQ: How to increase the height in a lively way?
I’m on a project and I need an object on the side of the page that increases the height as the scroll. The result I have achieved so far is "breaking" as I go down the scroll. How to get something…
jqueryasked Mauro Alves 546 -
0
votes1
answer1768
viewsQ: How to increase height as scroll scrolls down the page but not decrease with scrolling up?
I’m on a single-page project, and I need a div that increases as I scroll down, but when I scroll up it can’t decrease, it has to stand still, the size it was until it went down again. I am using…