Re: [Moin-user] Selecting part of a Moin page with JavaScript

2010-07-29 Thread jdd
Le 29/07/2010 09:31, Kai Jaeger a écrit : > I wonder whether somebody has solved this already? not Moin related, but Youtube already select the code when you ask for sharing (firefox at least) jdd -- http://www.dodin.net http://pizzanetti.fr

[Moin-user] Selecting part of a Moin page with JavaScript

2010-07-29 Thread Kai Jaeger
Imagine that a Moin wiki is offering code snippets in a given programming language. I've given up the idea to offer a "Copy code" button - that seems to be impossible to achieve with all browsers and JavaScript only, but strictly speaking it's not necessary anyway: The nasty part is selecting the

Re: [Moin-user] Selecting part of a Moin page with JavaScript

2010-07-29 Thread Radomir Dopieralski
On Thu, Jul 29, 2010 at 9:31 AM, Kai Jaeger wrote: > Imagine that a Moin wiki is offering code snippets in a given > programming language. > > I've given up the idea to offer a "Copy code" button - that seems to > be impossible to achieve with all browsers and JavaScript only, but With javascript