Author |
Topic  |
|
Martin1
Super User
    
Netherlands
626 Posts |
Posted - 31 Jan 2006 : 11:54:34
|
I have added a mailto link on every page of my new site. But when I hit the link not only does it open my e-mail program but it also works as a link to a new page with nothing in it except for:
mailto:myemailadres@myemailadres.com
If you want to take a look feel free to do so at: at the top right you see three links called home - e-mail - log-in.
This is the code used to create the mailto link: <A class=verdana7FFFFFFFFFFFFt href="javascript:document.location='mai'+'lto:'+'a'+'bu'+'a@a'+'b'+'ua.'+'nl';">e-mail</A>
What am I doing wrong because this new page ought not to be opened?
Martin |
Edited by - Martin1 on 30 Jul 2006 23:51:30 |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 01 Feb 2006 : 17:14:47
|
In Mozilla and Firefox it only opens your default mail client. As you outline above its only in Intenet Explorer that this behavior exhibits. Use.. <a href="mailto:'mai'+'lto:'+'al'+'bru'+'na@a'+'br'+'una.'+'nl';">email</a> if you can instead. It seems to work fine that way in IE and your address is still obfuscated. |
Porky www.pacificwavetour.com |
Edited by - jtarin on 01 Feb 2006 17:18:59 |
 |
|
Martin1
Super User
    
Netherlands
626 Posts |
Posted - 01 Feb 2006 : 17:27:18
|
Hello jtarin!
Thanks for the help mate this works excellent so far as I can tell:-).
Another problem solved[3 up]
Martin |
 |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 03 Feb 2006 : 03:24:49
|
Your more than welcome Martin1...its always the little things that drive us crazy :p |
Porky www.pacificwavetour.com |
Edited by - jtarin on 08 Jun 2008 14:09:24 |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 03 Feb 2006 : 15:08:13
|
Hello boys,
I've forgot this topic because I've lost my internet connection :-(
So if you want to avoid the opening of a new window simply write the same code using the "OnClick"/"JavaCall" event ;-)
This because a link always change the current page ;-) |
Regards, Davide |
 |
|
rtrufus
Practical
 
24 Posts |
Posted - 03 Feb 2006 : 18:52:21
|
I'm a new user to the program and I found this thread while trying to create a simple "contact" link that will open up the browsers email program. I don't quite follow what you guys are doing here, but this worked for me--so, in case someone needs it: create a label, open the link wizard, choose "file on the internet", enter the following: mailto:xxx@xxxyz.com
--Ian (Great program, Davide, very much enjoying it and learning a lot!) |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 03 Feb 2006 : 19:45:05
|
Hello rtrufus,
yes, your method works but it's subject of SPAM :-(
|
Regards, Davide |
 |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 05 Feb 2006 : 01:26:28
|
Davide using the "OnClick"/"JavaCall" event my dialogue is only able to accept a limited amount of characters. What do you recommend when the script is longer in length? Edit by hand the finished HTML? |
Porky www.pacificwavetour.com |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
Posted - 06 Feb 2006 : 18:28:06
|
??? Maybe there is a bug??? Please send me a sample! :-) |
Regards, Davide |
 |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 07 Feb 2006 : 08:00:50
|
quote: Originally posted by s.dav
??? Maybe there is a bug??? Please send me a sample! :-)
Can't replicate it now....[2 ?:-|] |
Porky www.pacificwavetour.com |
 |
|
Chranz
Novice

Austria
2 Posts |
Posted - 18 Feb 2006 : 15:22:52
|
quote: Originally posted by s.dav
Hello rtrufus,
yes, your method works but it's subject of SPAM :-(
Hi everybody!
Why is this method subject of spam?
Greetings from sunny Vienna! |
 |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 19 Feb 2006 : 11:35:58
|
quote: Originally posted by Chranz
quote: Originally posted by s.dav
Hello rtrufus,
yes, your method works but it's subject of SPAM :-(
Hi everybody!
Why is this method subject of spam?
Greetings from sunny Vienna!
Because the phrase "mailto:" and an explicit mail address are detected by webbots scanning your pages for legitimate email addresses to add to their spam list. |
Porky www.pacificwavetour.com |
 |
|
Chranz
Novice

Austria
2 Posts |
Posted - 19 Feb 2006 : 17:37:42
|
[/quote] Because the phrase "mailto:" and an explicit mail address are detected by webbots scanning your pages for legitimate email addresses to add to their spam list. [/quote]
Thank You John! Good to know ... |
 |
|
a3s
Novice

Netherlands
11 Posts |
Posted - 30 Jul 2006 : 13:42:01
|
I understand that if I want to create a contact-button on my website for e-mail-contact, I can: - insert a button-object (list left on the screen); - make Value = Contact - open within the object the event editor; - choose the event Onclick; - choose the action Javacall; and then I have to insert the Java-code in the field Java call.
But it's not quite clear for me which code I have to fill in. (or does I have to learn HTML and Java?) The codes <a href="javascript:document.location='mai'+'lto:'+'a'+'3s@c'+'ai'+'way'+'.nl';">e-mail</a> (for the e-mail-adress a3s@caiway.nl) or <a href="mailto:'mai'+'lto:'+'a'+'3s@c'+'aiw'+'ay.'+'nl';">email</a> give a HTML-page-result with a button and the following text (besides the button): email;return false;" value="Contact">
Adrie |
 |
|
s.dav
Site Admin
    
Italy
3364 Posts |
|
rmmarsh
Super User
    
USA
396 Posts |
Posted - 11 Apr 2008 : 21:41:47
|
Davide: I tried your suggestion of creating a mailto: link and adding my email address encoded with "antispamencoder". It keeps getting rejected because it is not in the format user@host.
Did this work at some time and now does not? How do I fix it? |
 |
|
jtarin
Super User
    
Russia
444 Posts |
|
rmmarsh
Super User
    
USA
396 Posts |
Posted - 12 Apr 2008 : 15:34:45
|
Porky: that's the same program that Davide suggested...
I figured out the problem... it does NOT work with the link as Davide suggested; it has to be an HTML object. Works like a champ now!
|
Edited by - rmmarsh on 12 Apr 2008 17:45:26 |
 |
|
Tonivel
Practical
 
27 Posts |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 13 Apr 2008 : 13:14:09
|
The program works on mail-links in an already html coded page....not by encoding then adding. |
Porky www.pacificwavetour.com |
 |
|
rmmarsh
Super User
    
USA
396 Posts |
Posted - 14 Apr 2008 : 15:47:13
|
Porky... not sure what you are trying to tell me... I created a mailto: link as Davide suggested and added the obfuscation to it... rejected. But if I take a HTML object and add the verbage and link, it works great! So, I'm really not sure what you are saying, sorry... |
 |
|
jtarin
Super User
    
Russia
444 Posts |
Posted - 14 Apr 2008 : 22:43:59
|
I just create my mailto-links as usual and use the encoder on the completed,exported .html/.htm pages as directed and have never had any problems. I use the encoder to do many pages at once. |
Porky www.pacificwavetour.com |
 |
|
rmmarsh
Super User
    
USA
396 Posts |
Posted - 15 Apr 2008 : 02:57:21
|
Oh... I see... I just do it differently with a different program... thanks for the update...
R |
 |
|
|
Topic  |
|