gman's point was that you would need major restructuring. That's doable.
And, since you wrote the code yourself, and are interested in education, is also probably a good idea. Thanks, -- Raul On Tue, Apr 29, 2014 at 2:41 PM, Brian Schott <[email protected]>wrote: > I am sending you directly the more up to date files in a separate email. > > I am doubtful about fixing the javascript code alone because of the very > convincing and long answer given by @gman. > > Thanks for the heads up regarding the bad link. I have fixed that. > > My imagination of a solution to this problem via J is to have function > ev_command_enter_ajax(elements) send a fake event back to j. That fake > event would contain a revised version of its argument "elements" that could > be sent right back to javascript after the desired delay. The revision > would behead the list of movement items and decrease the value of NUMBER > embedded in it, before sending off the fake event. But the problem with > that approach may be exactly what you are warning me about regarding > browser security issues? I had not known about that. > > > On Tue, Apr 29, 2014 at 1:56 PM, Raul Miller <[email protected]> > wrote: > > > > > A big issue with jhs is browser security. The browser has to deal with > > every advertiser in the world wanting to get control of it. So web > browsers > > are somewhat selective about what they will retrieve. More specifically: > it > > will not accept anything from the web server except in response to a > > request to that server. And that's something you are going to need to be > > conscious of here. > > > > Thanks, > > > > -- > > Raul > > > > > > > > > > -- > (B=) <-----my sig > Brian Schott > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
