I spent a few hours today grabbing the twitter supplied script and hacking it quite a fair bit to create a fixed footer section
It is far from ideal for a Word-Press theme but one day, i might try and convert it to a plug in
EDIT:
I scrapped the Twitter feeds thing not long after finishing the JavaScript. It just didn’t look right.
So I decided to keep the section at the bottom of the page, and add in links to my various profiles around the web. I think it looks pretty nifty and I’m sure there is more to add when i come across them, but for now it probably won’t change a great deal until the rest of the theme is in better shape.
I was adding in my email contact to the section when I went to steal some existing code that i had operating over at Wizardry Fireworks on their contact form, but it turns out that i had replaced it with just a form without the email contacts. (I must have been really tired because i really don’t remember doing this). Looks like I’ve lost the little piece of code i was looking for.
So i did a quick Google Search and came across a nifty piece of JavaScript code over at HTML Adviser
The code didn’t work “out of the box”. The Blog that it was on, presumable WordPress had replaces the unformatted ” marks with formatted ‘66′ ‘99′ style quotes.
That was the first thing i had to fix. Then the onload feature wouldn’t kick off the function if i put the script in the head tag. But I did found that it would work if i put inside a <script> tags bellow the location of the span, Go figure.
So i took their function setup, hacked it a little now it works. I also changed a few things to further throw off potential bot sniffers.
The Initial code has you put “myemail at mydomain dot com” on the page. Now if I was writing a bot, this would be one the first work arounds I’d implement to catch these types of scripts. So all I did was change the at and dot to spell it backwards, to “ian ta iblott tod com”.
Simple but should be doubly effective.
The code can be found here