[Proto-Scripty] Re: sound.js bug

2008-12-05 Thread bill walton
object. This should work: > > play('http://myurl.com/sound.wav', { replace: true }); > > > On Fri, Dec 5, 2008 at 1:29 PM, Bill Walton <[EMAIL PROTECTED]> wrote: > > I think I've found a bug in the latest release of sound.js. > > > This is the code in soun

[Proto-Scripty] Re: sound.js bug

2008-12-05 Thread Bill Walton
.js is throwing an exception. Last version of my code code, where I was calling Sound.play directly from my Rails RJS code rather than calling another function that then called Sound.play, does not throw an exception. > > On Fri, Dec 5, 2008 at 1:29 PM, Bill Walton <[EMAIL PROTECTED]&g

[Proto-Scripty] sound.js bug

2008-12-05 Thread Bill Walton
I think I've found a bug in the latest release of sound.js. This is the code in sound.js play: function(url){ if(!Sound._enabled) return; var options = Object.extend({ track: 'global', url: url, replace: false }, arguments[1] || {}); In order to get the replace to work (to eliminate

[Proto-Scripty] Re: double play with sound.js

2008-12-03 Thread Bill Walton
Hi Peter, Peter De Berdt wrote: > As you'll read on the Rails mailing list, Thanks much for your replies. I replied on the Rails list. Best regards, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototy

[Proto-Scripty] Re: modal message box

2008-12-03 Thread Bill Walton
Hi Walter, Walter Lee Davis wrote: > > Here's a couple that are more focused than LightBox et al. > > http://prototype-window.xilinus.com/ > > http://livepipe.net/control/window Excellent! I hadn't come across these (I've been focused on Ruby-friendly versions). Thank you. Best regards, Bill

[Proto-Scripty] Re: modal message box

2008-12-03 Thread Bill Walton
Hi Russell, Russell wrote: > > I have been brwosing the wiki learning the features of > script.aculo.us and was wondering if there was an easy > way to create a modal message box and if so is there an > example somwhere? I'm looking forward to a better way but, in the meantime, I'm under the imp

[Proto-Scripty] double play with sound.js

2008-12-02 Thread Bill Walton
Greetings all! I'm adding simple sounds (beep and burp) to a Rails app with sound.js. I'm having a really wierd problem with it though. I call Sound.play(good_sound) or Sound.play(bad_sound) depending on whether or not a search succeeds. First time it works correctly, playing the correct soun