[web2py] Re: JQuery plugin

2010-09-25 Thread Rick
Thanks for the suggestions. Now I consider this plugin: http://www.happyworm.com/jquery/jplayer/ On Sep 25, 3:33 am, Magnitus wrote: > Assuming that you know how to create sound effects in regular > Javascript, making your own pluggin for it doesn't seem that > difficult. > > Lets assume that you

[web2py] Re: JQuery plugin

2010-09-24 Thread Magnitus
Assuming that you know how to create sound effects in regular Javascript, making your own pluggin for it doesn't seem that difficult. Lets assume that you want a pluggin that affect only div elements in a wrapped set and you want to be able to specify the sound... It'd look something like this (n

[web2py] Re: JQuery plugin

2010-09-24 Thread mdmcginn
Or you could use unobtrusive Javascript , where onClick isn't necessary in the HTML because it's inserted by jQuery. On Sep 24, 4:42 pm, Bruno Rocha wrote: > You can use the new audio tag from HTML5, but this should not work on every > browser > > > Your browser does not support the audio elemen

Re: [web2py] Re: JQuery plugin

2010-09-24 Thread Bruno Rocha
You can use the new audio tag from HTML5, but this should not work on every browser Your browser does not support the audio element. 2010/9/24 Rick > Thanks! > > I think there are better plugins for this purpose than this sound- > plugin. But now I know how to install it into my application

[web2py] Re: JQuery plugin

2010-09-24 Thread Rick
Thanks! I think there are better plugins for this purpose than this sound- plugin. But now I know how to install it into my application. On Sep 24, 8:26 pm, Bruno Rocha wrote: > You should append JS files before the {{include 'web2py_ajax.html'}} > > views/layout.html: >         > > {{response.f