Ian Pouncey wrote: > Thierry Koblentz wrote: >> No hook needed: >> http://www.tjkdesign.com/articles/popup_window_with_no_extra_markup.asp
> This is the same idea as the PPK code, as there is still a hook > required - the wrapper element. No, it is not "required". Using a DIV as a "hook" is not for making the script work but to make sure we do not parse *every single link* in the document (i.e., there is a slight chance to find external URIs in the site navigation). The idea is to use the closer parent element that contains all of them (one that exists already)... > I think > there is a case for giving each 'a' element a class or rel attribute. I see what you mean and I'd agree with "rel" if "external" was a link-type [0] Using a "class" is a totally different story as it belongs to the presenational layer and I'd say not supposed to convey any information. In any case, I'm glad I wrote: "This article does not discuss what designers should do regarding popup windows, markup and such. It is just about adding a tool to the box. It's up to you whether or not you find it useful." ;) [0] http://www.w3.org/TR/html4/types.html#type-links --- Regards, 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 ******************************************************
