Ivan
Ivan

Reputation: 549

Resizing HTML widget in Jive

In JiveX I have a HTML widget that uses javascript to check to see if the logged in user is a member of a permission group. This causes the widget to render in an iframe. The JS conditionally hides / shows content but this happens after the iframe has rendered and Jive has calculated its height.

What is the best way to tell Jive to resize the iframe?

Upvotes: 2

Views: 848

Answers (1)

Ivan
Ivan

Reputation: 549

Jive has a built in javascript function called resizeMe(); I was able to fix this issue by calling resizeMe() in a callback from my own JS code. Hope this helps someone!

Upvotes: 5

Related Questions