,

Show More: Small Jquery plugin to add Show More button to any div

Small Jquery plugin to add Show More button to any div.

Download: https://github.com/dtasic/show-more-plugin

Demonstration: https://jsfiddle.net/8eyevhmb/25/

Plugin homepage:https://github.com/dtasic/show-more-plugin

Implementation:

– add jquery.show-more.js to your page
– usage: $(“#your-element”).showmore();

Options:

minheightIntegermeasured in pixels
buttontxtmoreStringDefault : show more – default text for show more
buttontxtlessStringDefault : show less – default text for show less
buttoncssStringDefault : showmore-button – default css name
animationspeedIntegerin miliseconds

Screenshots:

Creating a JavaScript Library

I recently wrote a JavaScript library for creating random colors and color schemes, and while I foun…

s3Slider jQuery Plugin & Tutorial

The s3Slider jQuery plugin is made by example of jd`s smooth slide show script. Usage: HTML: Sample …

jQuery Optimization: Avoid Unnecessary Selector

Common subexpression elimination is a common way to optimize any programming code. Doing unnecessary…

Fading Links Using jQuery: dwFadingLinks

Earlier this month, we posted a MooTools script that faded links to and from a color during the mous…

jQuery Flash Plugin

This jQuery plugin is for embedding Flash movies. Pages are progressively enhanced when Flash and Ja…

jQuery Optimization: Optimize Selector

We can also optimize our selector other than being a bit specific on our selector. The key to optimi…

jQuery drop down menu: droppy

Quick and dirty nested drop-down menu in the jQuery style. I needed a nav like this for a recent pro…