Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive design and jqcloud #31

Open
yuka123 opened this issue Nov 5, 2012 · 8 comments
Open

Responsive design and jqcloud #31

yuka123 opened this issue Nov 5, 2012 · 8 comments

Comments

@yuka123
Copy link

yuka123 commented Nov 5, 2012

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

@shaunbrazier
Copy link

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

@lucasmedeirosleite
Copy link

+1

@chrisleach
Copy link

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

@chrisleach
Copy link

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

@onemenny
Copy link

+1

2 similar comments
@anafreitas
Copy link

+1

@1lyan
Copy link

1lyan commented Mar 9, 2017

+1

@1lyan
Copy link

1lyan commented Mar 10, 2017

To save time and efforts for other folks:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants