Overall the content is great, but just needs a bit more heirarchy and focus.
Completely understand the desire to meet everyone's needs, but the cognitive load is a bit too much to absorb on landing.
| // Get element offset from top of page | |
| function getOffset(el) { | |
| el = el.getBoundingClientRect(); | |
| return { | |
| left: el.left + window.scrollX, | |
| top: el.top + window.scrollY | |
| }; | |
| }; |
| # shows the svgs in the last 100 | |
| broken = Image.limit(100).reverse_order.where(mobile_720: nil) | |
| image = Image.last(300) | |
| # actual array of images we'll move | |
| process = [] | |
| # add all images that aren't svgs to process array | |
| image.each {|img| filetype = img.original.split(".").last; unless filetype.to_s == "svg"; process << img; end; } |
| <div class="page-title" data-bg="image.jpg" data-bg2x="image@2x.jpg"> |
| import urllib | |
| import urllib2 | |
| NUM_OF_VOTES = 100 | |
| url = ('https://docs.google.com/forms/d/1P53FSdQV1FdeCvMSgYzxKm-PqzdnyqTcDa7eox-_7cw/formResponse') | |
| #vote for Moe | |
| params = { | |
| #name |