The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › change onClick to touchStart
change just onclick to touch or touchstart ???
switch ( image.i == my.imageID ) { case false:
image.onclick = function() { //$(‘.slideDiv’).removeClass(‘imgnew’); alert(‘each time called’); my.glideTo(this.i);}; break;
default: this.zIndex = my.zIndex + 1; if(image.url !== ”) { image.onclick = my.onClick;
} break; } image.style.zIndex = my.zIndex; } }