Something for the Weekend: Slip n Slide

Little bit later than originally planned thanks to our old friend IE, but here she is, the second Something for the Weekend! This week, my focus has shifted to a slider plugin for jQuery. I hear the groan; another slider. Well, I hope this one is a little different.

View a Demo

Slip n Slide has a huge list of configuration options so it's super easy to get it working how you want. It also requires next to no css to work, the plugin takes care of all the structural stuff, leaving you to style as you see fit. The only required style is a width on the slide container, for everyone's favourite browser IE6. Vertical sliders, horizontal sliders, automatic sliders, cyclic sliders, programmable sliders. All possible with Slip n Slide. Rather than repeat myself lots, I'm just going to lob links at you. Documentation, Download and Getting Started can be found over on the GitHub project. I've learned a lot from doing this project and will probably write up a follow-up blog post with some tips and tricks I picked up (mostly about overflow:hidden in IE6/7). Happy weekend!

Something for the weekend: Placeholder

Hoping to make this a fairly regular thing, I'll try and post little code bits and pieces every other weekend or so. Things like jQuery plugins, maybe some Kohana modules, maybe the odd CSS trick. I've been pretty ill this weekend, but have fished out something from my personal stash you might like; a quick jQuery plugin that aims to replicate the HTML5 attribute "placeholder". Dead simple to use, simply include the script, change your input[type=text]'s and textareas to include the placeholder="" attribute and then do : [javascript]$('input[type=text], textarea').placeholder();[/javascript] In your document ready function ($(function())). Want it? Head on over to GitHub to download:

Download Placeholder Plugin

Obviously you need jQuery to use this (1.3.x and 1.4.x are both fine), and the plugin supports every browser that jQuery itself does. Wanna see it in action? Clicky clicky:

View Demo

Enjoy! If you find this plugin useful feel free to comment. If you don't like it, well poo to you sir.