'style', 'color:#' + let[random1] + '; opacity: 0.9;'+''); if ($(this).next().length > 0) { last = $(this).next().position().left } }); });