fredp
1 1

Hi, Here is my zul file code

<window id="winEdit" title="Visualisation document"
position="relative" closable="true" visible="false"
maximizable="true" maximized="false">
<combobox id="namePJ"></combobox>
<div id="divPJ" align="center"
style="overflow:scroll !important; -webkit-overflow-scrolling:touch !important;">
<iframe id="visuHTML"></iframe>
<image id="visuPJ"></image>
</div>
</window>


I have two type of document to display. I use the iframe when it is HTML source and image when document is PDF. When I first load my application and choose to display HTML document, iframe displays it during like 1 seconde and then the content disappears. When I change to PDF document, it is well displayed. Then I want to display HTML and it works well.

Do you know why I don't have HTML displayed at the first running time ? Thank you

delete retag edit
Be the first one to answer this question!
[hide preview]