Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function points(element){
- element.each(function (i){
- $(this).children("div#points").append("_");
- var height = $(this).height();
- do{
- $(this).children("div#points").append("_");
- }while($(this).height()<height+1);
- var text = $(this).children("div#points").text();
- $(this).children("div#points").text(text.substr(0,text.length-1));
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement