Gossamer Forum
Home : Products : DBMan : Installation :

mailto and target

Quote Reply
mailto and target
Quick couple of questions - (please point me to previous posts if these have been addressed already)
1) I am having no luck adding a 'mailto' tag to an email field I added to the database. I want it to be clickable, like the 'http://' field. Any ideas?

2) how would I go about adding a TARGET to the 'http://' field, so i can have the link opened in a new window?

thanks
Quote Reply
Re: mailto and target In reply to
It's just as easy to answer your question as it is to look it up in the forum. Smile

To create a clickable "mailto:" link, use

<a href="mailto:$rec{'email'}">$rec{'email'}</a>

assuming that your email field is called "email." Remember that case counts!

If you want to open a link in a new window, use

<a href="$rec{'URL'}" target=_new>$rec{'URL'}</a>



------------------
JPD
Quote Reply
Re: mailto and target In reply to
thanks! I got the email part working so far..now for the TARGET.

thanks!

[This message has been edited by luthien (edited January 29, 1999).]