• Resolved Luevano

    (@luevano)


    When I try to hover over qtip, it disappears. I am displaying some links inside the qitp and am unable to get to them because the qtip disappears when moving off the event on the calendar.

    Is there a way to override the eventRender or add this to the element?

    element.qtip({
       hide:{
          delay:250,
          fixed:true
       }, ...

    https://www.ads-software.com/plugins/wp-fullcalendar/

Viewing 1 replies (of 1 total)
  • Thread Starter Luevano

    (@luevano)

    Ok. Figured it out! I added a function to the trigger, duh!

    Here’s the code:

    add_filter('wp_footer', 'ockmoa_fullcalendar_args', 100 );
    	function ockmoa_fullcalendar_args() {
    		?>
    		<script>
    			jQuery(document).on( 'wpfc_fullcalendar_args', function(e, data) {
    				data.eventRender = function(event, element) {
    					if( event.post_id > 0 && WPFC.wpfc_qtips == 1 ){
    						var event_data = { action : 'wpfc_qtip_content', post_id : event.post_id, event_id:event.event_id };
    						element.qtip({
    							hide:{
    					            delay:250,
    					            fixed:true
    					        },
    							content:{
    								text : 'Loading...',
    								ajax : {
    									url : WPFC.ajaxurl,
    									type : "POST",
    									data : event_data
    								}
    							},
    							position : {
    								my: WPFC.wpfc_qtips_my,
    								at: WPFC.wpfc_qtips_at
    							},
    							style : { classes:WPFC.wpfc_qtips_classes }
    						});
    					}
    			    };
    			});
    		</script>
    		<?php
    	}

Viewing 1 replies (of 1 total)
  • The topic ‘unable to hover over qtip’ is closed to new replies.