lucaong / jQCloud

jQuery plugin for drawing neat word clouds that actually look like clouds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Responsive design and jqcloud

yuka123 opened this issue · comments

Any chance to add some options to cancle fixed width\height and fix calculations, and allow integrating this into responsive design?

+1. Lovely code but really needs to be able to work within a responsive layout. Thanks for your hard work to date.

+1 - i'm currently playing with destroying the element on resize and reinitialising the wordcloud, which is very clunky.

I found this in the wiki, which works:
https://github.com/lucaong/jQCloud/wiki/Resizing

To save time and efforts for other folks:

$(window).on('resize',function(){
$(element).css("width", "100%");
$(element).empty().jQCloud(data);
});