Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #406332

    Hello,
    where do i need to change the code that my hotspot links open in a new window?

    i cant find the related php file

    #406679

    Hey lewebat!

    Add this to the bottom of your functions.php file.

    add_action( 'wp_footer', 'enfold_customization_hotspot' );
    function enfold_customization_hotspot() {
    	?>
    	<script type = "text/javascript">
    	jQuery(document).ready(function(){
    		jQuery('.av-image-hotspot_inner').attr('target', '_blank');
    	});
    	</script>
    	<?php
    }

    Best regards,
    Elliott

    #406951

    Thanks, works….

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hotspots Links’ is closed to new replies.