entries tagged with "mootools"
-
Mootools iPhoto-like Image Scrubber posted by Andrew
Read more...I'm working on a project at the moment where I wanted the ability to flick through a set of images quickly without resorting to either a full-blown gallery or a rather passé Lightbox. Instead, I looked to iPhoto '08 for inspiration. I particularly liked the way that photos are automatically grouped into an icon which represents the photo set, and by moving your mouse from left to right over the set, iPhoto will skim through all of its photos ...
-
Hijaxing Form Submission: Writing The View posted by Andrew
Read more...After writing about how to use Mootools to hijax form submission I thought I should follow it up with how to integrate this with the backend code. In this case it's Django, so all of the code is contained in a view which will simply return HTML in response to a regular POST and JSON to a XMLHttpRequest. Below is some sample code which demonstrates the idea:
def contact(request): """Sample view to demonstrate using newforms with both hijaxed ...
