|
One last email at the risk of boring the rest of the list! I think it's
just down to you and I now Thierry. Thierry Koblentz wrote: Hey Thierry, I'm agreeing with you here. I can see how it works (including the check for '://') and have used similar code myself. I actually think your way is cleaner - and better in a lot of circumstances.Ian, I'm not saying my approach is better or cleaner I'm just saying that it does not work the way you describe it. AFAIK, PPK is "tagging" the external links, isn't? He's looking for an attribute (not a class BTW), but I'm only parsing the href value. As I explained in my previous post, the use of "wrapper" is *irrelevant*. I'm not really talking about the details of the code, my point here is that there is a benefit to adding extra markup (class, rel, type, whatever) beyond it being a _javascript_ hook. PPK is a nice guy but I'm not here to defend his code! Both methods have their place. According to http://www.w3.org/TR/html4/struct/global.html#h-7.5.2 The class attribute has several roles in HTML:The first is presentational, the second if for describing elements beyond what information HTML alone can impart. That's the way I see it anyway.
|
- Re: [WSG] target=_blank Ian Pouncey
- Re: [WSG] target=_blank Thierry Koblentz
- Re: [WSG] target=_blank Rimantas Liubertas
- Re: [WSG] target=_blank TuteC
- Re: [WSG] target=_blank TuteC
- Re: [WSG] target=_blank Christian Heilmann
- Re: [WSG] target=_blank Rimantas Liubertas
- RE: [WSG] target=_blank Richard Conyard
- Re: [WSG] target=_blank Tony Crockford
- Re: [WSG] target=_blank Christian Heilmann
- RE: [WSG] target=_blank David Moyle
