> I think you ought to check specifically that 'http://' is at the
> beginning of the string.

Good point, I'll change this.

>      <a href="/protocols/about_http.html">Find out about HTTP</a>
>      <a href="/affiliate.asp?ref=http://foo.com/bar.php";>Set your
> affiliation reference cookie</a>

> And other than the design choice of whether all external links ought
> to open a new window, I think you've got something good. I like your
> idea of attaching the style and title with javascript so as to leave
> the natural behavior intact.

Thanks, but don't give me credit for that :) The only thing I claim here is
the use of the href attribute as the only element to use to determine on
which links behavior and style should be attached ("external" links, files
inside a specific folder, links inside a specific element...).

Thanks for your feedback and suggestion,

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