Give help. Get help.

  • # June 6, 2013 at 6:40 am

    i have written this code for onClick in ImageSlider it is working fine in browser on pc but not working in ipad??

    what to do ??


    image is divElement,name i have not edited to div because that was image slider i changed into div slider?? in image slider on click was working fine..

    switch ( image.i == my.imageID )
    case false:
    image.onclick = function() {
    alert('each time called'+image);

    this.zIndex = my.zIndex + 1;
    if(image.url !== '')
    image.onclick = my.onClick;

    } = my.zIndex;

    # June 6, 2013 at 12:12 pm

    You might want to look into utilizing `touchend` for touch devices.

    # June 6, 2013 at 2:28 pm

    Do you have mobile specific meta tags at the top?(viewport/content width) I believe as of a recent iOS update (iOS 6.something), if the page has mobile meta tags, it will not recognise click events. You may want to do as TheDoc recommended and look in to touch events.

    Saw Remy Sharp tweet about this yesterday:

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.