Jörn Nettingsmeier wrote:
Milan jezdik wrote:
Hi,
is there any way how to create NEW tag (let say xhtml:Z) which will have same transformation as xmtml:A but target="_blank" will be added to this a href tag
transformation?

why don't you just add the target attribute?
i'm not sure i understand what you're up to, but say you wanted two buttons "create link" and "create popup link", then one would create a snippet <a href="url">text</a> and the other would create <a href="url" target="_blank"></text>. no need to fiddle with non-standard elements or custom namespaces. i could show you how to do it in fckeditor or tiny. what editor are you using?



It doesn't work in FCK at the moment, I don't think. Something is stripping the target upon saving. It's either the clean-xhtml.xsl file or Tidy, which FCK runs. I need to look at that next week.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to