Hello ,I’m a Chinese software engineer.I use the dhtmlsWindows have a problem.
I use this in a form.jsp.When I click a button that can pop the window.But when I use a jsp which use iframe and contain my form.jsp this function could not use.It can pop the dhtmlsWindows but disappeared very soon.I think the dhtmlsWindows conflict whit iframe.I don’t konw how to resolute.
We packaged this dhtmlsWindows and call popupMagnify function.
++++index.jsp++++ use iframe
<s:text name=“querymodel.title” />
<iframe frameborder=“0” height=“100%” width=“25%”
style=“BORDER:#B8D8F9 1px solid;”
scrolling=“auto” src=“createTree.do”
id=“left”
name=“leftFrame” >
<iframe frameborder=“0” height=“100%” width=“75%”
style=“BORDER:#B8D8F9 1px solid;”
scrolling=“auto” src=“queryModel.do” //this action produced form.jsp
id=“main”
name=“mainFrame” >
++++form.jsp++++
<s:form namespace="/system/query" theme=“simple”>
<s:submit value=“create” cssClass=“button” onclick=“javascript:dic(’%{create}’)”/> <s:submit value=“query” cssClass=“button” onclick=“popupMagnify(’’,’’,’’,’’)”/> //use this function |
</s:form>
so when I clicked query button the windows can pop but disappered very soon.I don’t konw why!
I think maybe conflict with iframe.
I hope your help.