Ajax and Dynamic resizing
I am calling new content into my widget using Ajax. Once the new content has arrived, I want to be able to call a script to re-perform the dynamic resize, once the divs have filled out with content.
WIDGETBOX.publisher.Main.setWidgetLoaded() called by itself doesn't seem to do anything.
Any thoughts?
WIDGETBOX.publisher.Main.setWidgetLoaded() called by itself doesn't seem to do anything.
Any thoughts?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?HI there,
the setWidgetLoaded isn't what you're looking for. What type of widget is this? HTML/JS or Remote?
WIDGETBOX.publisher.Main.sizeWidgetToContents(); might work for you.
"setWidgetLoaded" method only fires once then marks the widget as loaded and ignores further calls. That method eventually calls the sizeWidgetToContents methods.
Loading Profile...



