[Rails-spinoffs] Runtime Error

2006-03-08 Thread Ignacio Sandejas
Hi all, Can anyone tell me why this line of code works in FF but not IE?? function stuff(id){ record_id=$(id); record_id.innerHTML = "foo"; } I get a 'Runtime Error'. -- --- Iggy Sandejas Web Developer 0419 485 252 D-Frag Solutions http://www.dfrag.com.au

RE: [Rails-spinoffs] question about auto-updating divwithoverflow:auto and maintaining position

2006-03-08 Thread Ryan Gahl
No problem! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Kitchen Sent: Wednesday, March 08, 2006 5:39 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] question about auto-updating divwithoverflow:auto and maintaining posi

Re: [Rails-spinoffs] question about auto-updating div withoverflow:auto and maintaining position

2006-03-08 Thread Jeremy Kitchen
On Wednesday 08 March 2006 12:27, Jeremy Kitchen wrote: > On Wednesday 08 March 2006 12:24, Ryan Gahl wrote: > > You should be able to do this by changing the div's .scrollTop value via > > javascript (maybe just pick a very large number to ensure bottom is hit, > > like 10,000). what I ended up d

Re: [Rails-spinoffs] Minor fix for Ajax.InPlaceEditor

2006-03-08 Thread Todd Ross
On 3/7/06, John Beppu <[EMAIL PROTECTED]> wrote: > controls.js line 471: > > Where it says: > > new Effect.Highlight(element, {startcolor: this.options.highlightcolor}); > > can we change it to: I would encourage you to file a ticket (after searching to see if this item has already been addressed)

Re: [Rails-spinoffs] question about auto-updating div withoverflow:auto and maintaining position

2006-03-08 Thread Jeremy Kitchen
On Wednesday 08 March 2006 12:24, Ryan Gahl wrote: > You should be able to do this by changing the div's .scrollTop value via > javascript (maybe just pick a very large number to ensure bottom is hit, > like 10,000). good call :) Now to figure out if the user is actually scrolled all the way to

RE: [Rails-spinoffs] question about auto-updating div withoverflow:auto and maintaining position

2006-03-08 Thread Ryan Gahl
You should be able to do this by changing the div's .scrollTop value via javascript (maybe just pick a very large number to ensure bottom is hit, like 10,000). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Kitchen Sent: Wednesday, March 08, 2006

[Rails-spinoffs] question about auto-updating div with overflow:auto and maintaining position

2006-03-08 Thread Jeremy Kitchen
I have a div (with overflow:auto) that gets stuff added to it via Ajax.PeriodicalUpdater, and I'd like to keep it scrolled to the bottom all the time, unless the user manually scrolls away from the bottom (and be able to return it to its bottom-sticky form afterwards) I'm not sure if this is ju

RE: [Rails-spinoffs] Slideshow

2006-03-08 Thread Gregory Hill
Oh, yeah, that's true. Here's the new source: http://www.rachelamandahill.com/content/jbhv/web/default/js/scriptaculous/slideshow.js I don't have a demo page for it, but http://www.rachelamandahill.com/ uses it on the home page. That's my wife's photography site. There's a couple pages left t

Re: [Rails-spinoffs] Slideshow

2006-03-08 Thread Maximilian Gärber
Hi, is the (current) source still available? I think the old links don't work anymore? Thanks, Max Gregory Hill wrote: Nope, nothing new. I haven't had time to get back to it since I last posted the code, but I might over the next few days as there's a bit of a lull at work. Greg -

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

2006-03-08 Thread Maninder, Singh
So, from what I had read, they are using this for Google Maps. Thanks, Mandy. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

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 thinking of. Now als

RE: [Rails-spinoffs] Slideshow

2006-03-08 Thread Gregory Hill
Nope, nothing new. I haven't had time to get back to it since I last posted the code, but I might over the next few days as there's a bit of a lull at work. Greg > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Maximilian Gärber > S

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

2006-03-08 Thread Nicolas Terray
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 thinking of. > > > Now also adopted by google. > > I'm cu

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

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

2006-03-08 Thread Bill Moseley
Here's another example with demo I have bookmarked. http://www.robertnyman.com/ask/ -- Bill Moseley [EMAIL PROTECTED] ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

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

2006-03-08 Thread Maninder, Singh
Check out Really Simple History: http://codinginparadise.org/projects/dhtml_history/README.html Now also adopted by google. Or an article published almost an year back: Fixing the Back Button and Enabling Bookmarking for AJAX Apps http://www.contentwithstyle.co.uk/Articles/38/fixing-the-back-butt

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

2006-03-08 Thread Tom Riley
Basically, you can't change the URL in the address bar with javascript. This is something you should always take into account when you use partial page reloading (ajax) for navigation. I've seen some workarounds for increasing bookmarkability of ajax based apps by encoding page state in anc

RE: [Rails-spinoffs] (no subject)

2006-03-08 Thread Whitcraft, Jon
I think the reason that doesn't work in IE is because IE does allow you to insert HTML in select objects. If you want have the most browser support you should do something like this: Var cat = $('category'); cat.options[cat.options.length] = new Option('text','value'); Let me know if you have an

Re: [Rails-spinoffs] OnComplete Bug in IE

2006-03-08 Thread Pelle Braendgaard
I am having this same problem. I tried changing the encoding like suggested and it did not work. What a pain. On 3/7/06, Renso Vargas <[EMAIL PROTECTED]> wrote: > I was looking for a IE bug solution. onComplete event doesnt fire. > > Someone post that charset in header it causes this behavior > >

[Rails-spinoffs] Slideshow

2006-03-08 Thread Maximilian Gärber
Hi all, sometime ago we had a post here about a scriptaculous based slide show (I think the author was Gregory Hill), are there any updates to the project or other (new) resources? Thanks ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonra