Hi Jens,
Thanks for the code example.
I tired it and your code example works, see attachment.
However, instead of setting the popup content you created in the above method "createPopupContent" I added a panel of my own (in the same html page), and it's not centered ;(..
I disabled any animation (fade in) and borders/shading effects. As you can see, what's left is just a stupid panel with hardly any content.
I don't understand why it's not centered.
I played around with it, but could it get it to center, like:
+ Removing almost all styles, also the width of the outer panel.
+ However, If I use only the outer panel that contains the inner content, and fill it with some text as done in your example, it does center.
So adding text will center it, but not putting panels in panels in panels... etc.. with some basic styles...
Any idea?
- Ed