Web Wizardry & Tech Trickery

Clingy-Footer – My first jQuery plugin

I’m not sure if this is really worthy of being called a plugin, it assigns 8 lines of CSS, then takes a value from one div, and stuffs that into another line of CSS. Still, might come in useful for someone!

I had to use a similar method at work, thought I fancied an evening of learning how jQuery plugins work, then realised I’d done most of it wrong so wrote this one. It does the same thing, just better.

The Problem

I like it when footers cling to the bottom of the browser when the content isn’t tall enough to push it down. Not sure why, I just do. This is easy enough to do with CSS only, just set a fixed height on the footer, then set the same value as a padding on the element above it, (usually some form of div holding the page content), add some absolute positioning, and you’re sorted. However, when the footers height is fluid, you can’t do that.

The Solution

My solution is this, a super simple jQuery plugin that takes the height of the footer, and assigns the same value to the padding-bottom of the page content container.

View the demo.

Follow on Github.

Update – 04/03/2012

I have just completed a few changes to the plugin, for details check out the milestone on Github.

February 29, 2012 at 9:15 pm | jQuery, Web Development | No comment

Declaring love for inuit.css

It’s been a while since my last post, either due to life getting busy, or just having nothing to say… I’m not sure.

Inuit.css Logo

I first heard about inuit.css a few months back when Harry from csswizardry released it. I had a quick look, thought it looked useful, then forgot all about it until about a week or so ago. I had decided it was about time I got round to building a new theme for my blog, so it seemed like a good time to try out inuit.css at last. The result is this, V2 of my theme. It’s built entirely from scratch this time, merging the inuit.css framework with the WordPress functions and loops we all know and love.

I’ve attempted to go for a much cleaner and bolder design this time, as I’m starting to concentrate more on development and less on design. In doing so I think I’ve come up with something that is far more responsive than my last theme, and built to a higher standard. As far as I’m aware, the more responsive css you have, the cooler you are? At the moment I have about 3 lines that weren’t included in inuit.css, so I think that makes me a padawan. Soon I will be a jedi master however…

Anyway, I digress. I love inuit.css. It’s by far the best css framework I’ve ever tried. The igloos are a brilliant concept as well, I’m currently using one available on inuitcss.com and have started developing one of my own. (Watch this space).

I strongly recommend having a look yourselves. It’s available on github so anyone can grab a copy, have a tinker and suggest updates of their own. I’ve already suggested a few myself, which may end up making it in to the next release, who knows.

February 19, 2012 at 11:57 pm | Personal, Portfolio, Samuel-Turner.co.uk, Web Design, Web Development | No comment

How To Get A Google+ Invite

Easy, find a friend who already has Google+, then point them at this article that a friend of mine just published!

July 5, 2011 at 9:30 am | Social Networks/Media | No comment

An in-depth look at Connect.me

Connect.me was ‘released’ a few days ago, and it seems that it’s really started to snowball now, mainly via Twitter.

At the moment, all you can do is reserve your preferred username. Solid information is very scarce so far, which has led to a lot of people out there asking the question, ‘what is connect.me?’. Maybe ‘An in-depth look’ was an exaggeration. Probably should read, ‘a very brief and almost unfounded look at Connect.me’.

I’ve spent the last couple of hours researching and thinking about it, so I thought I’d put fingers to keyboard and explain what Connect.me is and the scope for its use.

(more…)

March 9, 2011 at 3:05 pm | Musings, Social Networks/Media | No comment

5830 Crossfire Benchmark

I’ve just completed a kind of mini benchmark/review of my Crossfire ATI 5830 setup. However, at the same time I overclocked the CPU and CPU-NB, so the results can be taken with a pinch of salt. The aim was simply to find out how much of a difference it made adding another graphics card to my computer and overclocking everything I could, as high as I could.

View the results & write up here.

February 15, 2011 at 3:05 pm | Benchmarking & Overclocking, Hardware | No comment