I asked a similar question a few weeks ago with no answer. I am using JQuery for some animation on a 1 sec timer which also fails in the Android browser. The only thing I can imagine is that we run into some kind of JavaScript speed limitation, exhausted javascript message pump or something like that. I plan to look more into this over the weekend. My JQuery code also works fine in the emulator, does yours?
/Casper On 18 Sep., 10:31, ebisudave <ebisud...@gmail.com> wrote: > Hello Android developers, > > By way of introduction, please know that I'm a complete newbie when it > comes to JavaScript. I'm a web designer who can program a little. But > I've only just started playing with JavaScript about four days ago. > > I made a JavaScript slider with Yahoo's User Interface > library:http://developer.yahoo.com/yui/slider/ > > My version of the slider is here on this page:http://karamoh.com > > All I did was change the graphics a bit. > > It works in FireFox so I assumed it would just magically work in > Android. But it doesn't. > > I found this thread in this > forum:http://groups.google.com/group/android-developers/browse_thread/threa... > > Which says that JavaScript should just work. But it also says that > "setJavaScriptEnabled" set to true. > > As a total JavaScript newbie, I don't quite get what that means. (I > don't think it means the device's browser settings, which, by the way, > I have triple-checked to ensure that I have my Android device set to > use JavaScript. My testing device is an NTT DoCoMo HT-03A, called the > HTC Magic in other countries). > > Is that a setting that needs to be called in the JavaScript or the web > page itself? Seems odd that you might need a call within a script to > allow the script to be called. > > I think I'm missing a basic concept here. Can anyone enlighten me? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---