E-mail hyperlink not working.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

E-mail hyperlink not working.

Post by vikenk »

Hello all,

I have an e-mail hyperlink in the text of one of my menu items, but clicking on it does nothing. I wonder if my syntax is correct. If you go to:

http://www.sayatnova.com and go to "Pictures" and "Read Me" you'll see the hyperlink and that it's inactive. Here's how it looks in my menu_data.js file.

Code: Select all

with(milonic=new menuname("Read Me")){
style=sub;
aI("onbgcolor=#000000;oncolor=#ff9900;itemwidth=300;align=left;text=*All pictures are the property of the Sayat Nova Dance Company of Boston. Pictures may not be used or reproduced without the expressed, written consent of the Sayat Nova Dance Company of Boston. For any media requests, please contact <a href='mailto:webmaster@sayatnova.com'>the Webmaster</a>.<br>*All photographs by Viken Karaguesian except 'Nune Tour 2002', 'Armenia 1995' or as otherwise noted.");
}
Notice <a href='mailto:webmaster@sayatnova.com'>the Webmaster</a>. As far as I know, this syntax is correct and it does show up as "hyperlink blue".

Can an e-mail link be done this way or must I put it in the menu as url=mailto:webmaster@sayatnova.com?

Thanks.

Viken K.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

mailto:

Post by Migru »

yes, put it in the menu as url=mailto:webmaster@yourwebsite.com

this works, depending on your mail program, just tested e.g. with Pegasus Mail.



Michael
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

If you want to keep it as the text link like that, you need to add type=html; to the aI string.

Code: Select all

. . .otherwise noted.;type=html;"); 
}
Ruth
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Perfect!

Thanks Ruth. Oce again, you come to the rescue.
Post Reply