I wrote the above code to open a new window from home window . but its opening a new tab in IE8 . Is there a way to modify this to open a new window instead of new tab in IE8
The only guaranteed way is to change the web browser's new window settings, which can only be done by the person using the web browser.
It is possible to open in a new window by specifying a width/height for the window, but there's no guarantee all web browsers will behave that way.
I agree but a different code is opening a new browser window in the same browser but this is not able to do that .. i think i can modify my code to do so ...thanks
As a web surfer I find it very annoying when some website wants to open a new window in general. I consider it very spammy and think x2 about visiting sites like that again.
New tabs however, I'm ok with. I'd suggest you just stick with new tab.
this is for internal use and we need to do this for our app thanks for ur comment.
So you need to configure each copy of the browser to always open pages that request it in a new window. Of course that will then apply to requests from all web sites and not just your internal one.