WebAIM - Web Accessibility In Mind

E-mail List Archives

Updated the Lightbox Template to support circular tabbing and the use of Escape

for

From: Bryan Garaventa
Date: May 10, 2012 2:44PM


If it's of interest, I updated the Lightbox Template at
http://whatsock.com/modules/standard_dynamic_control_templates/demo.htm
To support circular tabbing backward and forward, plus the use of Escape by adding the following code to the setup template at
http://whatsock.com/modules/standard_dynamic_control_templates/js/setup.js

keyPress: function(ev, dc){
var k = ev.which || ev.keyCode;
// If Escape is pressed, close the object
if (k == 27) dc.close();
},