Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS change onClick to touchStart

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #45328
    simmi
    Participant

    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;
    }
    }

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.