Birds building small nests. Big ones are built for big birds. They build as they tweet. Happiness spreads as they build. Sadness spreads as they break down. — Japanese Tanka by Thor Correia.

jQuery Plugins

All plugins have been successfully tested on the latest versions of Safari, Firefox, Google Chrome. Also in IE7 & IE8.
( all valid XHTML 1.0 strict )

SHOWCASE
The showcase plugin let’s you create an image gallery with minimal effort.

  • Available options: ( default )
  • imagePath: 'images',
  • imageExtension: 'jpg',
  • imageCaptions: true,
  • openingImage: 'random',
  • pageLink: true,
  • fadeInSpeed: 600,
  • fadeOutSpeed: 700

Demo
Download v.1.0
Display the Script

STACK
The stack plugin uses the jQuery append method to insert images to the page. Just create an array including the path to each image and the plugin will do the rest.

  • Available options: ( default )
  • set: 2, // number of images to append per click
  • shuffle: false, // shuffle array ( true or false )
  • element: 'gallery' // class attribute

Demo
Download v.1.0
Display the Script ( includes PHP script )

RANDOMIZE
Randomize does exactly this. It loads a set of random images without repeating on a single re-load. * dependecy: jquery.cookie.

  • Available options: ( default )
  • imagesPath: 'images/random',
  • imagesTotal: 5,
  • cookieExpires: 7, // days
  • fadeinSpeed: 1200

Demo
Download v.1.0
Display the Script

LIST ACCORDION
Expand and collapse an unordered list on callback. Ideal for building navigation with sub categories.

  • Available options: ( default )
  • speed: 'normal'

Demo
Download v.1.1
Display the Script

EXCERPT
This plugin creates an excerpt of the 1st paragraph and toggles the visibility of all paragraphs that follows.

  • Available options: ( default )
  • excerptLenght: 100,
  • endTag: '…',
  • expandName: 'Expand',
  • collapseName: 'Collapse',
  • expandedClass: 'expanded'

Demo
Download v.1.1
Display the Script

B EXPANDER ( Preview the content )
Control the height of a div to display either the first few lines of text, or the content in full.

  • Available options: ( default )
  • _class: 'expand', // <a> tag class name
  • speed: 'normal', // animation speed
  • expand_txt: 'read more', // <a> tag text
  • close_txt: 'close' // <a> tag text

Demo
Download v.1.0
Display the Script

FADE-FLOW
With fadeflow you can fadeIn or fadeOut images sequentially. Very simple to implement.

  • Available options: ( default )
  • opacity: 1.0, // any value from 0 to 1
  • speed: 400,
  • element: 'img',
  • fadeAfter: 1000, // time delay in milliseconds
  • onComplete: function() { /* do something */ }

Demo
Download v.2.0
Display the Script

UL OVERFLOW LIST
UL overflow compacts an item list and creates an expand and collapse toggle option.

  • Available options: ( default )
  • overflowAfter: 12, // items
  • expandName: 'Expand',
  • collapseName: 'Collapse',
  • expandedClass: 'on'

Demo
Download v.1.0
Display the Script

LIST SPLIT
This plugin splits an unordered list into smaller unordered lists. Select how many childern elements should each unordered list contain, and the plugin will do the rest.

  • Available options: ( default )
  • splitOn: 4,
  • class_name: null

Demo
Download v.1.0
Display the Script

PHP and JS Snippets

Recommended Books

High Performance MySQL: Optimization, Backups, Replication, and More.
Very good book for those who want more in-depth understanding of MySQL.
jQuery Enlightenment by Cody Lindley
I’m fond of PDF books. Outstanding feature hyperlinks each code snippet to jsbin.com
JavaScript The Good Parts by Douglas Crockford
Short and sweet. Great encapsulation of the language, yet a bit dry to read.
Regular Expressions Cookbook by Jan Goyvaerts and Steven Levithan
Very well organized and plenty of useful examples. “One of the most valuable tools in any programmer's arsenal”.
PHP Cookbook by Adam Trachtenberg
Well organized, easy to find what you are looking for. “Reference book every PHP programmer should have.”
Programming PHP by Rasmus Lerdorf
Good teaching of the core language. An excellent intermediate level book.
PHP 5 Advanced by Larry Ullman
I like the way the author writes, so ease to understand. It keeps you focus.
Simply SQL by Rudy Limeback
“The writing is clear and concise”. This book will teach the basics of SQL for sure.
CSS Mastery by Andy Budd
Plenty of good reviews at Amazon. “Aimed towards intermediate level although simple enough for novice.”
HTML Mastery by Paul Haine
Two chapters devoted to semantics and microformats. Good book to learn the very basics of xHTML.

Contact

Have a question? Feel free to contact me using the form below, or send an email to: bcorreia@bcdc.us