lucaong / jQCloud

jQuery plugin for drawing neat word clouds that actually look like clouds
MIT License
646 stars 293 forks source link

Responsive design and jqcloud #31

Open yuka123 opened 11 years ago

yuka123 commented 11 years ago

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

shaunbrazier commented 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.

lucasmedeirosleite commented 10 years ago

+1

chrisleach commented 10 years ago

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

chrisleach commented 10 years ago

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

onemenny commented 9 years ago

+1

anafreitas commented 7 years ago

+1

1lyan commented 7 years ago

+1

1lyan commented 7 years ago

To save time and efforts for other folks:

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