简体   繁体   中英

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?

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM