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
Comment #1
jhriggs commentedAs an aside, note that using the target attribute is not xhtml-strict compliant.
Comment #2
moshe weitzman commentedtarget="_blank"
Comment #3
matt westgate commentedThe 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.
Comment #4
matt westgate commentedI 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.
Comment #5
(not verified) commented