Gossamer Forum
Home : Products : Links 2.0 : Customization :

Email address instead of URLS

Quote Reply
Email address instead of URLS
I am thinking about using Links to list email addresses instead or URLS so when the name is clicked you get a mailto: instead of url.

Has anybody done this? How are would it be?

Thanks
Quote Reply
Re: Email address instead of URLS In reply to
Yes I have it, this i a piece of my script:

ID => [0, 'numer', 5, 8, 1, '', ''],
'Contact Name' => [1, 'alpha', 40, 75, 1, '', ''],
'Contact Email' => [2, 'alpha', 40, 75, 1, '', '.+@.+\..+'],

and:

$db_category = 4; $db_modified = 3; $db_url = 2;
$db_hits = 10; $db_isnew = 12; $db_ispop = 13;
$db_contact_name = 1; $db_contact_email = 2; $db_title = 1;

and put mailto: in jump.cgi, and you're ready to go.

So URL --> email
So Title --> name
Quote Reply
Re: Email address instead of URLS In reply to
Hi,

Another option is to write the URL as

mailto:address@domain.com

rather than

http://www.domain.com


I'm not sure whether this works on all browsers, but using IE4 I have this working at
http://www.nlpresources.com/links/Newsgroups_Mailing_Lists_and_Forums/

I hope that helps,
Andy

------------------
---------------------------
NLP Resources
http://www.nlpresources.com
---------------------------
Quote Reply
Re: Email address instead of URLS In reply to
Where exactly do you insert the code to use an email address instead of a URL?
Quote Reply
Re: Email address instead of URLS In reply to
Hope,

Check your last post:

Andy is right...

http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/000620.html

elms


[This message has been edited by elms (edited February 10, 1999).]