Questions tagged as 'jquery-animate'

1
answer

Keep div on screen

I would like to know how to make a div animated (I have JQuery keydown function that moves a div) but div exits the screen and I would like it to be up to 20 px from the margins. I already exprimentei put this div (div1) ins...
asked by 28.09.2017 / 13:26
1
answer

Animate function only works in Chrome

Hello I'm doing a little game with javascript, where the program gives a certain time for the player to write a sentence, counts the letters, words and presents on a scoreboard the results on a scoreboard. I added a scrolling effect to when I...
asked by 06.05.2017 / 11:29
1
answer

jquery element change with time interval

I would like to make 3 or more animation blocks that, when clicking, would change according to the seconds, until someone clicks on one of the objects. The function is working to click. Clicking switches between classes. I wanted it to run...
asked by 31.05.2015 / 00:18
1
answer

What is the error of this code? the animation should only work once

I have several elements with the class .track, when any one is clicked the #controls div appears with this animation, but I need it to only occur once. I tried several forms of the internet but I could not, one that came closer did not repeat wh...
asked by 18.03.2018 / 19:43
0
answers

Detect browser scrolls not always

I have an animated header, when "scrolo" the site it changes some things with animate, that is, when $(this).scrollTop() > 0 (from 1 to 1 million, but only when it leaves position 0) it animates and returns to position 0 again, it enco...
asked by 21.06.2016 / 14:04
1
answer

Tab Scroll - Interrupt setInterval with jQuery.mouseup

I need to implement tabs in my application, and when they exceed the area boundary, I need to have them rolled horizontally. I created the scroll buttons ← , → and programmed so that while they are pressed the tabs are rolling. When I r...
asked by 16.06.2015 / 22:51