[TYPO3-english] RTE - Adding a javascript event to links

StephenBungert stephenbungert at yahoo.de
Wed Apr 15 15:41:03 CEST 2009


Yes, that's what I did to a couple of examples for the content editors, but
now they always want me to add it, they say it is too difficult. Is there
away of doing this via a button or dropdown that you know of?



Dmitry Dulepov wrote:
> 
> Hi!
> 
> StephenBungert wrote:
>> Is it possible to add events to links (not all). It must be easy to do,
>> so
>> that content editors can do it. Sort of maybe a button or a drop down
>> like
>> the paragraph styles. A javascript confirm window is required for some
>> links, but I'm not sure how to make this possible for editors, I added it
>> myself to the source, but the editors aren't happy doing this, and
>> complain
>> that they have no idea where to add the onclick event text that I told
>> them
>> to add to the link.
>> 
>> Has anyone else had similar requirements? Or have a solution? I thought
>> about making an ext to do it, but it seems a bit silly just for adding an
>> onclick event to a link tag.
> 
> I did that manually (added Google Analytics tracking code to outgoing
> links on my blog). Edit source and add onclick attribute.
> 
> -- 
> Dmitry Dulepov
> In TYPO3 blog:
> http://dmitry-dulepov.com/article/was-your-e-mail-to-typo3org-rejected.html
> LinkedIn: http://www.linkedin.com/in/dmitrydulepov
> Twitter: http://twitter.com/dmitryd
> Skype: liels_bugs
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 


-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/-TYPO3-english--RTE---Adding-a-javascript-event-to-links-tp23058955p23059199.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list