You are not logged in.
I have added an extra field called "external link" and actually named "lname" in the html source. Its purpose is to add a custom attribute to the <a href="..."> tag that would appear like <a lname="some_value" href="...">.
I've modified the code so that this works in IE, but on FF it will not add the extra attribute when it is not empty. It will only add/modify href, title, and target attributes on FF 3.0.x.
I see on CreateLink.js where you add all the different parameters of a link to the "a" js variable (ie: a.href = _8.f_target.trim(); a.title = _8.f_title.trim(); ... and now a.lname = _8.f_lname.trim(); ). It appears that this extra lname parameter is passing through to selectNodeContents, but I don't see where in the js code these attributes are actually being inserted into the text editor source code.
Any help with this would be greatly appreciated!
Offline