Open yuka123 opened 11 years ago
+1. Lovely code but really needs to be able to work within a responsive layout. Thanks for your hard work to date.
+1
+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
+1
+1
+1
To save time and efforts for other folks:
$(window).on('resize',function(){
$(element).css("width", "100%");
$(element).empty().jQCloud(data);
});
Any chance to add some options to cancle fixed width\height and fix calculations, and allow integrating this into responsive design?