Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. var ile = $("div.pagination").find('div').length;
  2.  
  3. $("div.pagination div").hide();
  4. $("div.pagination div").first().show();
  5.  
  6.  
  7. for(i=0; i<ile;i++){
  8. $("ul.pagination .green:nth-child(1)").after("<li class='item'><a href='#"+i+"'>"+i+"</a></li>");
  9. }
  10.  
  11. for(i=0; i<ile; i++){
  12.  
  13. for(i=ile-1; i>=0; i--){
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement