Shaun Mccran

My digital playground

09
F
E
B
2012

JQuery Countdown timer Plugin example

I'd previously used a JavaScript script to count down from a now() to a given date to display real time count down information on screen. I was cleaning up the project it was used on and wondered how easy it would be to push all the 'normal' JavaScript into a JQuery plugin and encapsulate it all into one function call.

[ More ]

06
F
E
B
2012

JQuery auto resize input field Plugin example

I was looking for a simple way to make an existing Text Area form field expand as-and-when a user fills in enough information to reach to bottom edge of the form element.

James Padolsey has written a great little Auto resize function, you can get it from Github here: https://github.com/padolsey/jQuery.fn.autoResize.

The documentation in the example included with the download above is pretty good, but I've put up an example of it working here as well:

JQuery Auto resize Textarea plugin example

06
F
E
B
2012

Forcing the dollar ($) Namespace within your JQuery functions

Whilst documenting some Open Source platforms for an upcoming project I found that several of the larger more prominent Open Source software solutions perform some subtle tweaks to included JavaScript libraries. In this case JQuery.

This is a short post on ho to ensure that the $ character always represents the JQuery library in your framework.

[ More ]

01
F
E
B
2012

Dynamically tagging content with Keywords using JQuery

I've used a ticketing system called Lighthouse App for a while now, and one of the features I really like about it is its ability to tag content with keywords in a very easy and obvious fashion.

If you have ever wanted to tag an article or some content with a list of Keywords then this blog article is for you.

[ More ]

_UNKNOWNTRANSLATION_ /