By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,087 Members | 1,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,087 IT Pros & Developers. It's quick & easy.

minimize window (IE6)

P: n/a
hi,
I have a form and onsubmit there's a code like this <form [...]
onsubmit="w=window.open([parameters]); w.blur(); " >

the window opens correctly, all the parameters work just fine, but the
window doesn't get minimized.
My browser is Internet Explorer 6.
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
jacek wrote:
hi,
I have a form and onsubmit there's a code like this <form [...]
onsubmit="w=window.open([parameters]); w.blur(); " >

the window opens correctly, all the parameters work just fine, but the
window doesn't get minimized.
My browser is Internet Explorer 6.


[window].blur() does not minimize the window, in fact, in a number of
operating systems, there is no concept of a "minimized window".

[window].blur() _may_, on some browsers, on some operating systems, force
the focus to be lost on the window. The exact result of the window losing
focus is browser and platform dependant, but it is unlikely it would ever
result in a window becoming minimized.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2

P: n/a
jacek wrote:
I have a form and onsubmit there's a code like this <form [...]
onsubmit="w=window.open([parameters]); w.blur(); " >

the window opens correctly, all the parameters work just fine, but the
window doesn't get minimized.


Why should it? Minimizing a window is not what blur() is
intended to do, it merely removes the focus from a control.
PointedEars
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.