Support » Plugin: Events Manager » Disable or hook the ajax month pagination

  • Hi!
    we need to add the same height to every td in the table. So actually we did it, but when we go to the next or previous month the javascript doesnt run again.
    How we can solve that?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    do you have sample link to your site with this issue for us to see and analyze? thanks

    Hi Angelo, thanks for the response
    here’s the link:
    http://desa.matte.cl/?page_id=955

    Plugin Support caimin_nwl

    (@caimin_nwl)

    How did you do the customization?

    Was it working correctly before the customization?

    It does not malfunction, it’s just that the javascript should happen again when you go forward
    I do not know if I explain myself well XD
    In some cases plugins with ajax have a field to eject jquery when you finish executing the ajax, that would be great

    Plugin Support caimin_nwl

    (@caimin_nwl)

    Can you answer my questions above? Thanks.

    Sorry!
    first i made this jquery funcion:

    function anchoTD(){
    	var $cantidad;
    	$cantidad = 0;
    	$('table.em-calendar tbody td').each(function(c,i){
    		$cantidad++;
    		if($(this).parent('tr').hasClass('days-names')){
    			
    		}else{
    			$ancho = $(this).width();
    			console.log('alto' + $ancho);
    			console.log('cantidad' + $cantidad);
    			$(this).css('height', $ancho * 0.7);
    		}
    	});
    };

    then i call the function:

    $(window).load(function () {	  
    	  anchoTD();
        });

    Thanks!

    Plugin Support caimin_nwl

    (@caimin_nwl)

    If you remove this custom code does the calendar work correctly?

    majendrix

    (@majendrix)

    yes, the calendar work correctly every time, with or without the code

    regards!

    Plugin Support caimin_nwl

    (@caimin_nwl)

    Then this issue is resolved?

    majendrix

    (@majendrix)

    Clearly I’m not explaining well:
    The problem is that we need every cell in the table to have a given height with jquery. But as I move to the next month, that jquery does not run again and I need to know how to call it again when the page progresses.
    I hope I have explained better 🙂
    thank you very much!

    Plugin Support caimin_nwl

    (@caimin_nwl)

    If it’s working correctly without the custom code then the custom code must be the problem, which is not something we can provide support for.

    That said, why not use CSS instead of jQuery for this?

    The problem is not that it does not work, as I have explained several times
    No matter, I’ll use another calendar plugin
    Thank you

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Disable or hook the ajax month pagination’ is closed to new replies.