Hi all and a happy new year!
I have an native app with two screens.
Background is, that due to missing iAD support, I want to realize my own AD stuff.
In my first page i have the following widgets:
– navigation
– panel 1 (list with several list items)
– panel 2 (just a blank one, here I want to put my AD)
– panel 3 (button to navigate to screen 2)
I have two buttons, which show or hide panel 2 and adjust the height of panel 1 in order to be displayed either over the whole available space or being reduced by the height of panel 1.
This works fine so far.
Not to my problem:
When I start the app, panel 2 is show, everything is fine and scroller in panel 1 is scrolling correctly. When I do the hide function, panel 2 is hidden, height of panel 1 is adjusted correctly, but the scroller is doing correctly. It scrolls as panle 2 would still be displayed. I thought it might be a godd idea to reload the page automatically, because when I navigate to the second screen and come back, it is ok.
So I use “phoneui.preprocessDOM(‘m1-adtest’);” as I found in this article (http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=2527&hilit=reload), but that does not work.
Is there anyone who can help me?
Please find my adtest porject attached.
Thanks and best regards.
Christian
Attachments:
You must be
logged in to view attached files.