AnsweredAssumed Answered

Why SparkWeb restarts in div element after javascript display change

Question asked by StSCommander on Nov 20, 2008
Latest reply on Nov 21, 2008 by StSCommander

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>


A Button has the following Javascript:




Another Button has this Javascript:



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 !