Archive

You are currently browsing the archives for the jQuery category.

Mar

26

My First jQuery Plugin

By mike@mike-miles.com

I had a bit of free time over the last week, so I thought I would try my hand at creating a jQuery plugin.

I call it jQuery.fly

What it does is allows you to create some cool animation effects to any text elements on the page, it also has a few built in effect. Useful? not really, but maybe someone will like it.

Some of the built-in effects are:

  • bubbles : makes blue bubbles rise from the bottom of the screen
  • blizzard: makes it snow on the page
  • explosion: creates an explosion on the page
  • fire: produces an ASCII fire on the page

Like I said, it’s supposed to be used for text effects, so you could make all the paragraphs on your page randomly move around when a page is loaded.

you can view an example here.

I’ve posted a more in depth description and download links on my projects page, jQuery Fly.