0
I would like to make 3 or more animation blocks that, when clicking, keep changing according to the seconds, until someone clicks on one of the objects.
The function is working to click. Clicking toggles between classes.
I wanted it to run until it was clicked
var toggleClasscontentflow = function() {
$('div.prime').click(function(){
$(this).toggleClass('primeclicked');
Barter
});
$('div.second').click(function(){
$(this).toggleClass('secondclicked');
barter
});
$('div.third').click(function(){
$(this).toggleClass('thirdclicked');
barter
});};
$(document).ready(toggleClasscontentflow);
That is, you keep switching between the three until you click one of them
Pow, little question went blank even
– flourigh