Đi đến phần nội dung

Dictionary in-line

viết bởi NATOLO, Ngày 16 tháng 3 năm 2013

Tin nhắn: 2

Nội dung: English

NATOLO (Xem thông tin cá nhân) 23:57:26 Ngày 16 tháng 3 năm 2013

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 (Xem thông tin cá nhân) 14:13:39 Ngày 17 tháng 3 năm 2013

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

Quay lại