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
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
LIST ACCORDION
Expand and collapse an unordered list on callback. Ideal for building navigation with sub categories.
- Available options: ( default )
- speed: 'normal'
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'
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
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 */ }
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'
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
PHP and JS Snippets
- 2011-05-10A mix of jQuery functions used on my last project at studioconover
- 2011-02-09PHP and jQuery create your own URL shortner
- 2011-02-08PHP create array using range, shuffle it and build HTML
- 2011-01-05PHP and jQuery automated image gallery ( includes phpthumb.lib )
- 2010-07-25PHP and jQuery append method ( fetch images without reloading the page )
- 2010-07-23Create excerpts from a giving string ( truncate )
- 2010-07-22jQuery contains selector: case insensitive
- 2010-06-24Detect ipod and iphone devices
- 2010-01-28Uploading files using PHP’s FTP functions
- 2010-01-23MySQL update query: prepare statement with values from an array
- 2009-10-22Retrieve and parse delicious bookmarks ( cURL )
- 2009-09-18Automate MySQL backups with PHP and cronjob
- 2009-08-31Build and event tracking with MySQL, PHP and htaccess
- 2009-08-18Send multiple emails with PHP mailer. MySQL required
- 2009-08-08Handle forms with prepared statement and data filtering ( PDO )
- 2009-08-02Benchmark scripts with PEAR benchmark package
- 2009-07-30Generate thumbnails with GD library and PHPthumb
- 2009-07-29Automate the fancybox jQuery plugin with PHP ( scandir )
- 2009-07-27Handle HTML form elements with implode join array function
- 2009-07-26Generate XML files from MySQL query results
- 2009-07-23Randomly load images within PHP sessions
- 2009-07-21Download MySQL tables and set header output to XLS
- 2009-07-20Randomly load images based on cookies ( setcookies )
- 2009-07-18Implement a simple login authentication with PHP and MySQL
- 2009-07-17Encrypt and decrypt data with mcrypt
- 2009-07-15Implement login authentication with PEAR extension
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.
References & Manuals
- jQuery
- JavaScript
- MySQL
- PHP
- JSON
- APACHE
- CSS
- Wordpress
- Apple OSX Command Line
- iPhone
- iTunes Podcast
Online Tools and Apps
- Validation Service
- Comparison of Web Browsers Support
- Javascript and JSON Debugging Tool
- Regular Expressions Writing and Testing
- CSS @font-face Services
- CSS and HTML5
- Other
Contact
Have a question? Feel free to contact me using the form below, or send an email to: bcorreia@bcdc.us