JasonWyatt

This blog is full of stuff, and things.

Find my resume.

permalink

Introducing jQSlickWrap - The Pixel-Perfect Prose Plugin for jQuery

I’ve been working on a new project over the past four nights after mulling the idea around in my head for a while.

Have you ever needed or wanted to wrap text around an image in HTML but were disappointed that your text was forced to wrap to the rectangular shape of the image’s bounding box - as opposed to the actual contents of the image?

Have you heard of the method of Sliced and Diced Sandbags, but were reluctant to use a server-side script to accomplish something that really belongs on the browser?

Yes? Awesome! No? That’s ok too… I’d like to introduce my new project: jQSlickWrap. It’s a plugin to the jQuery framework, which allows you to easily wrap text around irregularly-shaped images on the browser.

Check it out at its home page, here. If you feel like contributing to the project, you can find it on Google Code

permalink

toc.js - Table of Contents Injector

toc.js will scour your page for heading tags and build a table of contents for you. All you have to do is create an empty ordered list and give it a specific ID that the script will look for. toc.js will then automatically construct the table of contents and set up anchor-links for your users to use to quickly navigate to specific sections of your page.

Download it!

You can download toc.js from here. (Contains toc.css and a readme file in addition to the JavaScript)

I should probably turn this into a proper jQuery plugin eventually, but I wanted to get it out there.