User fe5cbe5ff5
11-11-2008 22:44:04
Hi,
I am using the following code in my html file to show the structure of a compound:
<h2>Compound Structure</h2><br></br>
<script language="JavaScript1.1" type="text/javascript" src="js/marvin.js"></script>
<script language="JavaScript1.1">
var smStr=document.getElementById('smiles').innerHTML;
mview_begin("http://www.chemaxon.com/marvin", 400, 400);
mview_param("background","ffffff");
mview_param("molbg","#ffffff");
mview_param("mol",smStr);
mview_end();
</script>
This is the code in the parent window which needs to be refreshed after closing the popup window that I open from the parent window. I found out that if I remove the applet there is no problem in refreshing the parent window but when I add the applet code back in, the refresh does not happen until I click on the browsers reload button manually. I really need to refresh the parent window (as soon as the user closes the popup) to show the data newly added using the popup. I am using Spring Framework with Hibernate (for persistence) and wicket (for UI). Please help!
Thanks,
Anu
I am using the following code in my html file to show the structure of a compound:
<h2>Compound Structure</h2><br></br>
<script language="JavaScript1.1" type="text/javascript" src="js/marvin.js"></script>
<script language="JavaScript1.1">
var smStr=document.getElementById('smiles').innerHTML;
mview_begin("http://www.chemaxon.com/marvin", 400, 400);
mview_param("background","ffffff");
mview_param("molbg","#ffffff");
mview_param("mol",smStr);
mview_end();
</script>
This is the code in the parent window which needs to be refreshed after closing the popup window that I open from the parent window. I found out that if I remove the applet there is no problem in refreshing the parent window but when I add the applet code back in, the refresh does not happen until I click on the browsers reload button manually. I really need to refresh the parent window (as soon as the user closes the popup) to show the data newly added using the popup. I am using Spring Framework with Hibernate (for persistence) and wicket (for UI). Please help!
Thanks,
Anu