Hi all,
SparkWeb is working absolut fine but restarts if the surrounding div element is set to display: none and back to display: block
This is the way i used it in the page (autologin is enabled):
<div class="window-content" style="margin: 0; padding: 0; padding: 5px 0px 0px 0px;" id="spark"> <iframe name="chat" src="URL_TO_SparkWeb.htm" frameborder="0" scrolling="no" width="100%" height="500px"></iframe>
</div>
A Button has the following Javascript:
document.getElementById('spark').style.display='none';
Another Button has this Javascript:
document.getElementById('spark').style.display='block';
Why is SparkWeb restarting the flash and i lose connection after the element is set back visible … and is there a possibility to keep chat alive after the div element was set back visible.
Thanks for your help !