Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function make(x1){
- var list = document.getElementById('list');
- var newLI = document.createElement('li');
- newLI.innerHTML = 'A new item';
- list.appendChild(newLI);
- newLI.className = newLI.className + 'animated bounceInUp klasa'+x1;
- }
- function ain(x2){
- $(".klasa"+x2).removeClass("bounceInUp");
- $(".klasa"+x2).addClass("bounceOut");
- }
- function hide(x3){
- $(".klasa"+x3).addClass("none");
- }
- for(i=0; i<5; i++)
- {
- setTimeout("make(i)", 1000);
- setTimeout("ain(i)", 3000);
- setTimeout("hide(i)", 4000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement