Hello,

Love this module, thank you very much!

Could you please add an option to have AJAX blocks Fade In instead of just suddenly appearing? This would be great if possible!

Thanks!!
Mike

Comments

maximpodorov’s picture

Yes, it's possible. But maybe the best solution is to pass block rendering to a custom function defined in site's theme.

BigMike’s picture

Hello,

Thank you for your reply!

Hmmmmmmmmmmmm? I don't understand how to do what you suggest, however, your comment does give me an idea on what to start searching for!

Thank you and have a nice day!
Michael

thedavidmeister’s picture

If you want something really quick and dirty you could try replacing:

  context.html(data['content']);

in ajaxblocks.js with:

  context.hide().html(data['content']).fadeIn(500);
bcreeves’s picture

Version: 6.x-1.8 » 7.x-1.3
Component: User interface » Code

Maybe a class could be added to blocks such as ajax-blocks-loading and ajax-blocks-loaded so we could choose what to do for those events.