


< /code>
jQuery < /strong> < /p>
$('#wrapper img').click(function() {
var to = 10000;
var from = 1000;
var number1 = Math.floor(Math.random()*(to-from+1)+from);
var number2 = Math.floor(Math.random()*(to-from+1)+from);
var number3 = Math.floor(Math.random()*(to-from+1)+from);
$('.test1').fadeOut(1000, function() {
$('.test1').html('You Won: ' + number1).fadeIn(3000);
});
$('.test2').fadeOut(1000, function() {
$('.test2').html('You Won: ' + number2).fadeIn(3000);
});
$('.test3').fadeOut(1000, function() {
$('.test3').html('You Won: ' + number3).fadeIn(3000);
});
});
< /code>
Привет. Я хочу спросить, как сделать, во -первых, Fadeout и Fadein Click Div, и после других Div? < /p>
Извините, я новичок в JavaScript, но я программист PHP. < /p>
Подробнее здесь: https://stackoverflow.com/questions/208 ... the-others