Posts by I_like_trains • 1,430 points
113 posts
-
2
votes4
answers4366
viewsA: How to ensure an image is centralized and responsive
https://jsfiddle.net/4zhh7LnL/ Look at this fiddle, what I did was this I added margin: 0 auto and text-align:center, with this, will already center any div on any monitor, the rest was only…
-
0
votes2
answers39
viewsQ: Create variables with database data?
I wish I had one while of a queryand fetch the data and create 3 variables separately with this information. For example: $sel_exclui=mysql_query("SELECT * from tabela order by id DESC LIMIT 0,3");…
-
0
votes1
answer57
viewsQ: Shake Animation won’t stop?
I have a problem with the Animation shake, once it starts, I can’t make it stop var shakeit = null; function abre(a){ clearInterval(shakeit); } function fecha(){ var shakeit =…
-
1
votes1
answer82
viewsQ: Stop a Function with jquery?
The problem is this. I have a function called auto() that opens a div after 6 seconds when the page loads, besides said there is a button that if it is clicked, does the same. But if I open and…
jqueryasked I_like_trains 1,430 -
1
votes2
answers60
viewsA: I would like a tip on checked, select option as I do to clear the fields if a person selects an option
Utilize onclick, so when you click, it will delete the input content. https://jsfiddle.net/a0g21L1c/ $("#rjuridica").click(function(){ $(".cpf").val(" "); }); With this function, when you press the…
-
2
votes0
answers242
viewsQ: Watch Youtube Iframe video time inserted with append?
I have inserted a button that when it is pressed, the advertising appears ahead and only then the video gives append, but with this I can not declare the Youtube API script, I think that is the…
-
-1
votes2
answers181
viewsA: How to adapt a div with position: Fixed?
https://jsfiddle.net/9u1gxquf/1/ Take a look at this fiddle and tell me if that’s what you’re looking for. The div on the right, that is right is an example div with the requested specifications…
cssanswered I_like_trains 1,430 -
1
votes1
answer72
viewsA: Fixed element having scroll
Just add overflow-y: scroll; in class .frente_fundo
cssanswered I_like_trains 1,430 -
0
votes3
answers62
viewsA: Can anyone do this with PHP without jquery?
If I understand correctly, you want to put the values listing them down right? Well, if so, you will have to create a database (mysql), submit data and reload the page in one of the following ways:…
phpanswered I_like_trains 1,430 -
0
votes3
answers91
viewsQ: Fetch the previous value of a php sql table?
I’d like to find a way to know how to effect what I wish. I have a news platform and I would like you to introduce me next to the previous video that has been inserted. It seems simple because you…
-
0
votes1
answer40
viewsQ: Show date list with moving arrows?
I would like to know how to make a kind of slide with dates, with arrows on the sides if it exceeds a specific width. This is what I have. What I need is a kind of pagination system, but it doesn’t…
-
1
votes4
answers627
viewsQ: .append() an img tag?
I would like to insert a tag using append but whenever I try, it tries to insert an image in the div that I want to insert only the text, there is way to get? <input type="file" multiple…
-
0
votes1
answer638
viewsA: How to make a global variable in PHP?
You can use $_SESSION to store the variable in Cookies! At the beginning of the file, right at the top type this code: <?php session_start(); ?> This will allow you to store variables in…