I asked this earlier, but did a dreadful job describing it. I am looking to make a link that you click and it makes a variable true at random, starting a chain of animations/event. Is this possible to do with jQuery? Thanks for your help.
Edit:
Best way to describe it would be:
var random1 === false
var random2 === false
var random3 === false
$("a#random-btn").click(function(event){
"var random1, random2, or random3" === true;
});
if (random1 === true){
$("a#1 span").stop().animate({opacity: 1,}, '100').animate({opacity: 0,}, '100')
});
if (random2 === true){
$("a#2 span").stop().animate({opacity: 1,}, '100').animate({opacity: 0,}, '100')
});
if (random3 === true){
$("a#3 span").stop().animate({opacity: 1,}, '100').animate({opacity: 0,}, '100')
});