Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inactive menu items in IE

Status
Not open for further replies.

FesterSXS

Programmer
Feb 4, 2002
2,196
GB
Hi,

I have a child window with a link to close the child window and return focus to the caller. WHen I do this and try to use the menu items (File,Edit,View,etc) in the caller window, I get no response at all. Only if I minimise the window then maximise it again do I get access to these items again.

Any ideas why this could be happening?

The code I am using to close the child window and return focus to the caller is below:

Code:
<A CLASS=back HREF=&quot;javascript://&quot; onClick=&quot;window.top.opener.focus(); window.top.close();&quot;><IMG SRC=&quot;<%=strSitepath%>images/close.gif&quot; WIDTH=46 HEIGHT=13 BORDER=0 HSPACE=0 VSPACE=0 ALT=&quot;Click here to close this window and return to the CAD Resource Centre&quot;></A>

regards

Tony
 
it's posible that i'm just not understanding your problem. but if i am, this is not a problem with your code, it's a problem with your browser. there is no way that you can lock up those things with html.
 
The menu items are ONLY disabled when I return from the child window using the link I mentioned. If I close the child window using the default close method (X in top right corner) then the problem does not occur. It is almost as if they stop working if I force focus() on the window. Wierd!!

I would point you to the site so you could see but it is on a VPN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top