IE opens a new window for the 'add image' link even if I use <a href="img_assist/add" target="_top">add image</a> The '_top' attribute is not supposed to open a new window.

If you can figure out how to get the 'add image' link to not open in a new window, you'd be a hero to all the IE users. To see the correct behavior, give img_assist a try using Mozilla Firefox.

Comments

jhriggs’s picture

As an aside, note that using the target attribute is not xhtml-strict compliant.

moshe weitzman’s picture

target="_blank"

matt westgate’s picture

The key here is that I don't want to open a new window, simply break out of the img_assist frames but stay in the current window.

My guess as to the core of the problem is tinymce asks IE to open a new window using 'showModalDialog' rather than window.open and that window has different properties then.

matt westgate’s picture

I figured this one out.

TinyMCE was opening an IE window with the showModalDialog() command which has special window properties that prevent it from doing things like '_top'. Passing in a resizable=true parameter makes tinymce use the standard window.open instead which solves this problem.

Anonymous’s picture