The only JS I used is this one, to play the media files:
http://bazaar.launchpad.net/~peter-bienstman/mnemosyne-proj/trunk/view/head:/mnemosyne/mnemosyne/libmnemosyne/filters/html5_audio.py
(Note that I don't consider myself to know javascript, so I might not
be the best person to spot issues with your code...)
Peter
Quoting iBayer <
mane...@googlemail.com>:
> I'm on a Ubuntu 12.04 machine so it should work?
> I'm looking for an example that is been conformed to work so that I can
> check if the error is on my side.
>
> thanks
> Immanuel
>
> Am Freitag, 19. Oktober 2012 19:35:36 UTC+2 schrieb Peter Bienstman:
>>
>> It will probably work on Linux, but not Windows. Due to some Qt bugs,
>> many event handlers don't fire... Hopefully a next version of Qt fixes
>> this.
>>
>> Peter
>>
>> Quoting iBayer <
mane...@googlemail.com <javascript:>>:
>>
>> > Hey,
>> >
>> > the title says it all.
>> > I just tried to copy & paste code
>> > into the card editor but that didn't seem to work.
>> >
>> > Thanks,
>> > Immanuel
>> > ----
>> >
>> > <script>
>> >
>> > function displayDate()
>> >
>> > {
>> >
>> > document.getElementById("demo").innerHTML=Date();
>> >
>> > }
>> >
>> > </script>
>> >
>> >
>> >
>> > <h1>My First JavaScript</h1>
>> >
>> > <p id="demo">This is a paragraph.</p>
>> >
>> >
>> > <button type="button" onclick="displayDate()">Display Date</button>
>> >
>> > ---
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "mnemosyne-proj-users" group.
>> > To post to this group, send email to
>>
mnemosyne-...@googlegroups.com<javascript:>.
>>
>> > To unsubscribe from this group, send email to
>> >
mnemosyne-proj-u...@googlegroups.com <javascript:>.
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to
mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
mnemosyne-proj-u...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/mnemosyne-proj-users/-/jMovseme09kJ.