2

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?

Ivan
  • 549
  • 3
  • 11

1 Answers1

5

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!

Ivan
  • 549
  • 3
  • 11
  • 1
    Thanks for sharing. Can you mark your own answer correct? I can't remember if stackoverflow allows that for everyone. – Tom Resing May 25 '15 at 21:21