Re: [Rails-spinoffs] good javascript xml parser

2006-03-17 Thread Tom Riley
This might not be practical for you, but the google maps api has an xml parser that uses a native xml parser if the browser has one and a _javascript_ parser if the browser doesn't.http://www.google.com/apis/maps/documentation/#GXml_code_Also, just found http://xmljs.sourceforge.net/  Tom

Re: [Rails-spinoffs] Yahoo! User Interface Libraries

2006-03-17 Thread Tom Riley
I'm using the calendar widget (which depends on the events library) with prototype/scriptaculous. No problems to report. Tom Riley<http://www.smallroomsoftware.com> On 17 Mar 2006, at 09:31, Siegfried Puchbauer wrote:me too :) the tree widget is quite niceOn 3/17/06, Matt Vander

Re: [Rails-spinoffs] maintaining application state/urls

2006-03-08 Thread Tom Riley
On 8 Mar 2006, at 15:30, Nicolas Terray wrote: On 3/8/06, Tom Riley <[EMAIL PROTECTED]> wrote: On 8 Mar 2006, at 13:24, Maninder, Singh wrote: Check out Really Simple History: http://codinginparadise.org/projects/dhtml_history/README.html Yes, that's the one i was thinkin

Re: [Rails-spinoffs] maintaining application state/urls

2006-03-08 Thread Tom Riley
On 8 Mar 2006, at 13:24, Maninder, Singh wrote: Check out Really Simple History: http://codinginparadise.org/projects/dhtml_history/README.html Yes, that's the one i was thinking of. Now also adopted by google. I'm curious - in which app? Tom Riley <http://www.smallroo

Re: [Rails-spinoffs] maintaining application state/urls

2006-03-08 Thread Tom Riley
e state in anchors (you can redirect to the same page with a different anchor to get some data into the URL bar but not have the page reload) but it isn't for the faint-hearted... Tom Riley <http://www.smallroomsoftware.com> On 8 Mar 2006, at 01:07, Rob Clayburn wrote: The shop was

Re: [Rails-spinoffs] drag drop safari

2006-02-09 Thread Tom Riley
Really? I've used both several times and they've worked fine. The demos on the wiki work too. Admittedly, I'm using the latest Safari (2.0.3) - I wouldn't be too surprised if the older versions have some problems. Tom Riley <http://www.smallroomsoftware.com>

Re: [Rails-spinoffs] drag drop safari

2006-02-09 Thread Tom Riley
Really? I've used both several times and they've worked fine. The demos on the wiki work too. Admittedly, Tom Riley <http://www.smallroomsoftware.com> On 9 Feb 2006, at 16:21, Robin Haswell wrote: I disagree with this, I find Effect.Appear and Effect.BlindDown don't w

Re: [Rails-spinoffs] drag drop safari

2006-02-09 Thread Tom Riley
On 8 Feb 2006, at 23:02, Louis Walch wrote: does it not work? works fine for me on all other browsers and platforms. I'm using sortables and they work great on safari. As far as I know, scriptaculous has (or at least aims for) full compatibility with safari. Tom Riley

Re: [Rails-spinoffs] Ajax.Updater not populating element - please help

2006-02-09 Thread Tom Riley
*/ } function getModels() { var url = '/util/model_select_response'; var pars = 'make='+escape($F('make'))+',onComplete:setModel'; The above line looks wrong - the onComplete shouldn't be there and should be a separate element in the options hash passed to Ajax.Updater. E.g:

Re: [Rails-spinoffs] ajax.Updater w/ JS content

2006-02-07 Thread Tom Riley
x27;m not sure if this is a well known limitation with prototype or not - I only ran into it yesterday. Prototype should probably strip these kind of comment lines before calling eval(). tom - http://www.smallroomsoftware.com On 7 Feb 2006, at 15:35, Tom

Re: [Rails-spinoffs] ajax.Updater w/ JS content

2006-02-07 Thread Tom Riley
ave to remove them or you'll get javascript syntax errors on IE. I'm not sure if this is a well known limitation with prototype or not - I only ran into it yesterday. Prototype should probably strip these kind of comment lines before calling eval(). tom - http:

Re: [Rails-spinoffs] ajax.Updater w/ JS content

2006-02-07 Thread Tom Riley
nly ran into it yesterday. Prototype should probably strip these kind of comment lines before calling eval(). tom - http://www.smallroomsoftware.com On 7 Feb 2006, at 15:35, Tom Riley wrote: Pass evalScripts: true in the options hash passed to Ajax.Updater. tom ---

Re: [Rails-spinoffs] ajax.Updater w/ JS content

2006-02-07 Thread Tom Riley
006, at 15:35, Tom Riley wrote: Pass evalScripts: true in the options hash passed to Ajax.Updater. tom - http://www.smallroomsoftware.com On 7 Feb 2006, at 15:28, Louis Walch wrote: using Ajax.Updater to update a section of a page with a also want to write some javas

Re: [Rails-spinoffs] ajax.Updater w/ JS content

2006-02-07 Thread Tom Riley
Pass evalScripts: true in the options hash passed to Ajax.Updater. tom - http://www.smallroomsoftware.com On 7 Feb 2006, at 15:28, Louis Walch wrote: using Ajax.Updater to update a section of a page with a also want to write some javascript into it (because im trying

Re: [Rails-spinoffs] Crashing Firefox when updating the same div

2005-12-30 Thread Tom Riley
Yep, it's a known issue - has to do with evaluating javascripts in the fetched fragment (it won't crash if you set evalScripts: false) http://dev.rubyonrails.org/ticket/3288 http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2005-December/ 001615.html https://bugzilla.mozilla.org/show_bug.

Re: [Rails-spinoffs] Re: possible opera+prototype bug in evalscripts?

2005-12-19 Thread Tom Riley
a “var” in them.So while this used to work for me:  var  blah = ‘fdsaf’;Now that makes firefox crash, so I changed it to this:  blah = ‘fdaf’;and that worked fine. I’ll try your fix and see if I can go back to my old code.  Thanks, rahul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Beh

[Rails-spinoffs] Re: possible opera+prototype bug in evalscripts?

2005-12-19 Thread Tom Riley
Hi all,I use the ajax updater with evalscripts=true.When I load HTML with included