Wiki page detailing ATutor/Lightbox integration

Joseph Scheuhammer clown at
Thu Feb 14 16:44:34 UTC 2008

Hi Greg,

> We also discovered by accident that the lightbox generates a submit
> event when an image is moved,

Part of the reason for doing this is to maintain state if the user 
leaves the page and later comes back.  A concrete case I can point to is 
Sakai's image gallery tool, where the user might switch galleries in the 
middle of rearranging thumbnails in one gallery.  When they switch back, 
they expect the last thumbnail order they saw to be maintained.  It's 
undesirable to force them to hit a submit button before switching out -- 
users will likely forget to do that (if they even know that they have to).

The submit event is an ajax call and the result is ignored by the 
Lightbox JavaScript code.  If network traffic is a concern, then perhaps 
the information submitted could be minimized.  At the moment it submits 
a form with an input for every thumbnail in the box.  I'd have think 
about how that might be made smaller and still communicate enough 
information to tell the server how the order has changed.


'This is not war -- this is pest control!'
      - "Doomsday", Dalek Leader -

More information about the fluid-talk mailing list