10-10-2012, 02:53 AM
|
PM User |
#10
|
|
Regular Coder
Join Date: Sep 2010
Location: London
Posts: 959
Thanks: 0
Thanked 198 Times in 193 Posts
|
Quote:
Originally Posted by vwphillips
zxcRadioImage={
init:function(o){
var ary=[],obj,img,imgs=[],oop={ary:[]},z0=0;
for (;z0<o.IDs.length;z0++){
imgs[z0%2]=new Image();
imgs[z0%2].src=o.ImageSRCs[z0%2];
obj=document.getElementById(o.IDs[z0]);
if (obj){
img=document.createElement('IMG')
img.src=imgs[0].src;
this.addevt(img,'mouseup','check',oop,img);
oop.ary.push([obj,img,imgs]);
obj.parentNode.insertBefore(img,obj);
obj.style.position='absolute';
obj.style.visibility='hidden';
}
}
this.check(oop);
},
|
They need to be keyboard-operable. I would make them links with a keyboard handler that responds to the spacebar.
|
|
|