Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...E-mail Link in DNN 4.9.4E-mail Link in DNN 4.9.4
Previous
 
Next
New Post
10/2/2008 12:06 AM
 

 

What is all this?
Is all these numbers necessary?
 
This bit of code is generated by DNN as a E-mail address link.
 
The big problem is that it opens a blank Browser window with only this string in it:
mailto:grapevinetours@hotmail.com?subject=Tour Request
 
It does open the Outlook window correctly with E-mail and subject.
How can I stop the change of browser window?
 
 
<div><span style="color: #003300"><span style="font-size: small"><span>Email;&#160;&#160;<a href=" location.href='mailto:'+String.fromCharCode(103,114,97,112,101,118,105,110,101,116,111,117,114,115,64,104,111,116,109,97,105,108,46,99,111,109)+'?subject=Tour%20Request'">Pat@GrapevineTours.com.au</a></span></span></span></div>
 
Same in IE7, IE6 and Firefox.
 
 
Cheers
 
Olle….
 
New Post
10/2/2008 12:27 AM
 

The numbers stop spammers from copying your email and sending you 1 million emails every day...  as for why it opens in a new window, I dont know, it shouldnt.  It doesnt have a target="_blank" which what normally causes a new window.

JK.


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
10/20/2008 12:11 PM
 

I have the same problem regarding the opening of a blank browser window.

Any solution?

 
New Post
10/20/2008 12:21 PM
 

JK is correct about the encoding. 

The blank window issue was reported, but was closed.  The FCK provider project team felt that the problem was within the FCK editor itself and thereby not in scope.  Read more here.  I have not looked to see if this is a known issue on the FCK side of the universe.

As a workaround, the "link" toolbar button with type e-mail works properly (though, as I recall, it is not encoded).

Hope this clarifies things!

Brandon

Edit: Underlined link to work item.


Brandon Haynes
BrandonHaynes.org
 
New Post
10/20/2008 12:37 PM
 

I found a work-around.

Manually edit the text/HTML and add target="noFrame" to the mailto link. Then after the link add this:

<iframe name="noFrame" frameborder="0" width="1" scrolling="no" height="1" style="visibility: hidden"></iframe>

It redirects the link to the invisble <IFRAME>, so the page doesn't change.

I found the answer here: http://jamesthornton.com/software/redirect-mailto.html, where the author states: "Upon a mailto: redirect, IE 5.5+ and Mozilla 5.0+ browsers may change the browser window to a blank page as it opens the e-mail software." So it sounds like it's a browser problem.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...E-mail Link in DNN 4.9.4E-mail Link in DNN 4.9.4


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out