Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ile = $("div.pagination").find('div').length;
- $("div.pagination div").hide();
- $("div.pagination div").first().show();
- for(i=0; i<ile;i++){
- $("ul.pagination .green:nth-child(1)").after("<li class='item'><a href='#"+i+"'>"+i+"</a></li>");
- }
- for(i=0; i<ile; i++){
- for(i=ile-1; i>=0; i--){
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement