Recently we have experienced an issue with Slider Revolution buttons, it was not working in iPad/ iPhone. However, it worked in all other devices like android, windows etc. To fix that, we used this line of codes-


$(function () {
$('a').on('click touchend', function() {
var link = $(this).attr('href');
window.open(link,'_self');

return false;
});
});

It worked after using these line of codes in custom JavaScript section of Slider Revolution.

If you want to set the above code only for iPhone / iPad your can try this:-


$(function () {

IS_IPAD = navigator.userAgent.match(/iPad/i) != null;
IS_IPHONE = (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null);

if (IS_IPAD || IS_IPHONE) {

$('a').on('click touchend', function() {
var link = $(this).attr('href');
window.open(link,'_self');

return false;
});
}
});

December 15, 2015

Anchor tag not working in iPhone/iPad

Recently we have experienced an issue with Slider Revolution buttons, it was not working in iPad/ iPhone. However, it worked in all other devices like android, […]
December 5, 2015

How to remove automatic redirection to “happy-wheel-2-full.com” from WordPress site

Downloading premium themes from torrents and other sources will cause auto redirection to other websites on mobile devices. For example, when your website comes on google […]
October 13, 2015

Make your website responsive with clicks

Now a days every internet user browse websites with different electronic devices. For example, mobile, tab, iPad, laptop, desktop etc. So making your websites content responsive […]
October 11, 2015

Why a Content Management System (CMS ) Is Your Best Workmate

 If you have ever been in charge for handling your company‚Äôs website content, you have no hesitation required to update, add or eliminate content on the […]