But same thing i am doing with button click handler instead a link.

User clicks on a button, i perform some task and the open the new window
inside click handler of button.

Does it make any difference in case of click handler of a link instead of
button ?

On Mon, Apr 23, 2012 at 2:20 AM, Jens <[email protected]> wrote:

> A popup blocker will always jump in if you execute window.open() without
> direct user interaction. If you want to avoid a popup blocker you have to
> provide a link the user can click on and inside the click handler open the
> new window.
>
> Beside that, you can't force the browser to open a new tab through
> javascript. Its a user specific setting inside the browser.
>
> CSS3 seems to provide something in this direction but its not supported in
> any browser: http://www.w3schools.com/cssref/css3_pr_target-new.asp
>
> -- J.
>
>
> Am Sonntag, 22. April 2012 20:27:51 UTC+2 schrieb Deepak Singh:
>
>> Hi,
>>
>> I am using Window.open('Url', "_blank", "");
>>
>> It always opens the new window as popup. I want this to be opened as a
>> new tab, browser window. It should not react with popup blocker anymore.
>>
>> How can i achieve this one ?
>>
>>
>> Thanks
>> Deepak Singh
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/MX73-2UWBvsJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Deepak Singh

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to