Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. var whil = n3.children('.trade_item');
  2. var all = 0; var one = [], two = [];
  3.  
  4. for(var i = 0; i < whil.size(); i++) {
  5. $('.primary:last', data).children('.tradeoffer_item_list').children('.trade_item').each(function(i){
  6. one.push($(this).attr("data-economy-item").split('/')[2]);
  7. two.push($(this).attr("data-economy-item").split('/')[3]);
  8. });
  9.  
  10. var ad = Price("http://steamcommunity.com/economy/itemhover/730/2/" + one[i] + "?o=" + two[i]);
  11.  
  12. all += ad;
  13. }
  14.  
  15. $('#w').html(all);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement