Thursday, September 1, 2011

mailto: links in Google Chrome

I am trying to implement mailto: links in my application. When I use
the mailto: link with the target attribute as shown below, the browser
opens the email program fine but closes my GWT program by moving the
browser to about:blank page.

<a href='mailto:myemail@mail.com'>Send Email</a>

The same link works fine in Firefox without closing my GWT application/
page.


If I use the following link with the TARGET attribute, the email
program is opened correctly but Google Chrome annoyingly opens a new
tab with the URL about:blank

<a href='mailto:myemail@mail.com' target='_blank'>Send Email</a>

Again the same links work fine in Firefox.

Is there a way around this Google Chrome problem with email links?

Thanks,

Melody

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

No comments:

Post a Comment