> A more reusable approach would be to check for '://', as this is what
> differentiates 'mailto:', relative paths and 'http://' links, but will
> still allow you to use the script on secure pages.
> Whenever dealing with href maniputlation, it's always good to keep
> 'https' in the back of your mind ;)

Nice catch!

> Other than that, it looks like a great approach for sites with client
> controlled content.

Thanks Andrew,

Thierry | www.TJKDesign.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to