PDA

View Full Version : How do I change COMMENT Link: Text?


agallia
Oct-10-2008, 06:23 AM
As noted in my previous post, the COMMENT Link: field only works with email addresses, not internet addresses.

To tell the guest what to input there, I want to change (#galleryCommentLink .title) from "Link:" to "Email Address:" Can the ModifyText function be used for this? How? In Header Javascipt?

Thanks for any help.

richW
Oct-10-2008, 10:39 AM
As noted in my previous post, the COMMENT Link: field only works with email addresses, not internet addresses.

To tell the guest what to input there, I want to change (#galleryCommentLink .title) from "Link:" to "Email Address:" Can the ModifyText function be used for this? How? In Header Javascipt?

Thanks for any help.Give this a try, add to the footer javascript section:

YE.onContentReady('galleryCommentLink', function() {this.innerHTML = this.innerHTML.replace('Link', 'Email Address')});

agallia
Oct-10-2008, 11:00 AM
Give this a try, add to the footer javascript section:

YE.onContentReady('galleryCommentLink', function() {this.innerHTML = this.innerHTML.replace('Link', 'Email Address')});
O Wise SmugMug Support Hero, you are awesome!:clap It worked fine.
Rich, thanks for your quick and great support.

That is what makes my choice of Smugmug one of the best I made. I do wish the Link field would accept URL addresses and display them also...perhaps this can be corrected by your team. If so, please let me know.

Regards.