WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

Number of posts in this thread: 1 (In chronological order)

From: Bryan Garaventa
Date: Thu, May 10 2012 2:44PM
Subject: Updated the Lightbox Template to support circular tabbing and the use of Escape
No previous message | No next message

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();
},