Shaun Mccran

My digital playground

14
D
E
C
2011

FancyBox JQuery plugin reborn as FancyApps

I'm a big fan of the fancybox plugin. It is a very flexible JQuery lightbox plugin that has met every project requirement I've ever needed a lightbox for. It also has a great library of events attached to it that have fit most of the User Interfaces I've ever used it in.

The fancybox plugin has matured into version 2 and been re-badged slightly as part of the fancyApps suite.

It has to be one of my top ten recommended JQuery plugins.

http://fancyapps.com/fancybox/

Licensing changes

I've since found that the new version of fancybox (2) has had a license change. Version 1 is licensed under both MIT and GPL licenses (http://docs.jquery.com/Licensing) but version 2 is 'Creative Commons Attribution-NonCommercial 3.0' and requires an $89.00 fee for commercial use, as discussed here in a Google Group: http://groups.google.com/group/fancybox/browse_thread/thread/fc4467bf0bf3ef6d/3edff176327fed35?lnk=gst&q=license#3edff176327fed35

20
O
C
T
2011

Using URL hashes to control AJAX requests

Following on from my previous article here (http://www.mccran.co.uk/index.cfm/2011/10/17/Adding-hash-values-into-URLs--The-basics) this article deals with injecting Hash values into URL's and using them to power AJAX requests.

Starting with the code of the previous article I'll expand it to include an AJAX request based on the Hash inserted into the URL.

[ More ]

17
O
C
T
2011

Adding hash values into URLs - The basics

Building a site that uses AJAX to Asynchronously import content into it? You can take advantage of the URL hash value and some of the functionality it gives you.

By inserting a hash character into the URL you can pick up the string following it and use it as a value in AJAX requests. Also you can create a listener event to check for a hash being added to a URL and use that to activate your custom JavaScript.

This blog entry is an intro to this process, where we deal with adding the hash value into a URL.

[ More ]

18
A
U
G
2011

Using JQuery to dynamically add form fields to a page

I'd seen a few different ways of dynamically adding form fields to a web page but hadn't ever tried it. I was interested in seeing how exactly you can do this at a technical level, but also how you can manage the users interactions, allowing them to keep adding fields as they complete the previously added ones.

[ More ]

_UNKNOWNTRANSLATION_ /