• Resolved gauvain44

    (@gauvain44)


    Hi, i had to add a little js code to make it work with safari Iphone…

    Here for those who have the same problems

    jQuery(document).ready(function($){
    	var deviceAgent = navigator.userAgent.toLowerCase();
    	var agentID = deviceAgent.match(/(iphone|ipod|ipad)/);
    	if (agentID) {
    
            $(".juiz_sps_button").click(function(){
                var url = $(this).attr('href');
                window.open(url, '_blank');
            });
     
    	}
    });

    or :

    jQuery(document).ready(function($){
    	var deviceAgent = navigator.userAgent.toLowerCase();
    	var agentID = deviceAgent.match(/(iphone|ipod|ipad)/);
    	if (agentID) {
    
            $(".juiz_sps_button").click(function(e){
               e.preventDefalut();
                var url = $(this).attr('href');
                window.open(url, '_blank');
            });
     
    	}
    });
Viewing 1 replies (of 1 total)
  • Plugin Author Geoffrey

    (@creativejuiz)

    I’m not sure what you are trying to solve here.

    If iOS Safari doesn’t support basic link in HTML maybe Apple should rework their OS ??

    Can you be more specific on the issue you encountered?

    If you want to add a blank option to open in new window/tab, there is an option in the plugin settings.

    Thank you ??

Viewing 1 replies (of 1 total)
  • The topic ‘Not Working on Safari IOS IPHONE’ is closed to new replies.