Contenido

Dictionary in-line

de NATOLO, 16 de marzo de 2013

Aportes: 2

Idioma: English

NATOLO (Mostrar perfil) 16 de marzo de 2013 23:57:26

Hi everybody!
I really like the set-up of the forums and website, and I was wondering how to set up my own site, with the dictionary (whether that be esperanto), so that users can click on the words in a text and learn the definition.
Thanks for any help!

lobo_xx (Mostrar perfil) 17 de marzo de 2013 14:13:39

Sry, this is the english corner; so here we go again:

I'm not sure, if the lernu!-creators permit this; so you better ask before using it.

After briefly analyzing a lernu!-page that uses the translation-tool seems like you need to

1. Mark the clickable DIV's as class='alklakeblaj'
2. Import the script
3. Put in the DIV named 'vortokadron', because I've seen, that the above mentioned script uses it to determine de language to be used.

Maybe you also need the other .js (esp jquery.js).

You will certainly need some HTML / CSS experience; maybe one of the lernu!-administrators could explain better how to get it done.

lobo

Volver arriba