Automatically resize YouTube and Vimeo embedded videos.
I’ve come into this problem a few times while building out sites so I’ve built a quick function to automatically calculate and resize (height) videos on your blog/website. This is especially helpful on a site chalk full of videos like craiggoodwill.com. Without further ado: [javascript]function resize_video() { // this function is helpful when using a […]
Use jQuery to Automatically Size your Footer Height
I was working on a project lately and came across a problem that I couldn’t find a solution for online, so I made on myself. I needed to change the height of the footer to equal the remainder of the space between the bottom of the page and the bottom of the window. Most of […]