 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
February 14, 2019 at 2:55 pm #1066980Hi Team Kriesi, 
 read a lot in this forum, but nothing helped.
 I want to achieve that the tooltips for icon show up on iOS for mobile devices. Guess best way would be to make the icons clickable, so the tooltip shows up after clicking the icon.
 tried this code from a thread<script> (function($){ $(window).load(function() { new $.AviaTooltip({'class': "avia-tooltip avia-icon-tooltip", event: "click", data: "avia-icon-tooltip", delay:0, scope: "body"}); }); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');This Code looks good, but those classes are not here anymore in 4.5.2. 
 Can you provide some new code for this behaviour?
 Thanks in advance.- 
		This topic was modified 6 years, 8 months ago by xxtita. 
 February 16, 2019 at 9:12 pm #1067786Hey xxtita, Best regards, 
 VictoriaFebruary 18, 2019 at 9:52 am #1068221February 18, 2019 at 3:55 pm #1068415Hi xxtita, Try the code like this: <script> (function($){ $(window).load(function() { new $.AviaTooltip({'class': "av-icon-char", event: "click", data: "avia-icon-tooltip", delay:0, scope: "body"}); }); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');If you need further assistance please let us know. 
 Best regards,
 VictoriadFebruary 18, 2019 at 5:44 pm #1068488Hi Victoria, 
 this code works on the chrome-browser-emulator for iphone, but it doesnt work on real iOs for iphone or ipad. At least not on my devices.
 So, any idea how can i achieve this goal?February 19, 2019 at 2:06 pm #1068978Hi xxtita, There is no click event on mobile devices. https://micropyramid.com/blog/how-to-use-jquery-mobile-touch-events/ You might want to add the “tap” event too. Best regards, 
 Victoria
- 
		This topic was modified 6 years, 8 months ago by 
- 
		AuthorPosts
- You must be logged in to reply to this topic.

