RE: [Rails-spinoffs] innerHTML and scripts not running and evalScriptsin IE

2006-04-17 Thread Maninder, Singh
>>Someone suggested using document.write to write a new script element. I >>don't see how this helps because I am not aware of any way to write to a >>completed page without overwriting the page. This appears to me to be >>simply a page reload. Wonder why you remember Martin's name and not min

Re: [Rails-spinoffs] innerHTML and scripts not running and evalScripts in IE

2006-04-17 Thread Will Merrell
Martin Bialasinski wrote: should rather be evalScriptsGlobal: function() { return this.extractScripts().map(function(s){eval.call(window, s)}); }, Thanks to all who have supplied input on this. To recap the problem that I would like to see a universal solution for: (I think the OP w

[Rails-spinoffs] IE help for Rating system

2006-04-17 Thread Kevin Old
Hello everyone, I've taken this rating system (http://komodomedia.com/blog/index.php/2005/08/24/creating-a-star-rater-using-css/) and paired it with Prototype (http://prototype.conio.net) so that it reports the ratings via Ajax. I have a working version here (ajax is disabled though): http://kold

Re: [Rails-spinoffs] document.getElementsByClassName (prototype) andElement.childrenWithClassName (scriptaculous) redundancy?

2006-04-17 Thread Jeremy Kitchen
On Monday 17 April 2006 12:37, Gregory Hill wrote: > Isn't the difference that the scriptaculous one only gets child nodes > from the node you specify, whereas the prototype one gets all in the > entire document? the prototype one allows you to pass in an element to start with: document.getElement

Re: [Rails-spinoffs] OnComplete Bug in IE

2006-04-17 Thread Jamie Orchard-Hays
Is there any more news on this? I've built some functionality I need around onComplete and have just come across this problem with IE. Thanks, Jamie On Mar 8, 2006, at 5:51 AM, Pelle Braendgaard wrote: I am having this same problem. I tried changing the encoding like suggested and it did n

Re: [Rails-spinoffs] document.getElementsByClassName (prototype) andElement.childrenWithClassName (scriptaculous) redundancy?

2006-04-17 Thread Todd Ross
On 4/17/06, Gregory Hill <[EMAIL PROTECTED]> wrote: > Isn't the difference that the scriptaculous one only gets child nodes > from the node you specify, whereas the prototype one gets all in the > entire document? Prototype's document.getElementsByClassName allows you to pass in the parentElement

RE: [Rails-spinoffs] document.getElementsByClassName (prototype) andElement.childrenWithClassName (scriptaculous) redundancy?

2006-04-17 Thread Gregory Hill
Isn't the difference that the scriptaculous one only gets child nodes from the node you specify, whereas the prototype one gets all in the entire document? Still, it would be nice to just have the one, and let you pass in the document element if you wanted all of them. Just guessing, really. I h

Re: [Rails-spinoffs] Problem w/ IE & Autocomplete

2006-04-17 Thread David Fitzhenry
Thanks for your help!  I'll try to find another way..On 4/17/06, Daniel Elmore <[EMAIL PROTECTED]> wrote: The autocompleter does not support scrolling. Touching a scroll bar fires the onBlur event.   -Daniel     -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Rails-spinoffs] document.getElementsByClassName (prototype) and Element.childrenWithClassName (scriptaculous) redundancy?

2006-04-17 Thread Jeremy Kitchen
On Monday 17 April 2006 11:24, Jeremy Kitchen wrote: > Is there a reason scriptaculous provides what appears to be a redundant > function? The reason I'm asking is that it only seems to be used twice > throughout all of scriptaculous, and it doesn't appear to work properly > (for some reason it's

[Rails-spinoffs] document.getElementsByClassName (prototype) and Element.childrenWithClassName (scriptaculous) redundancy?

2006-04-17 Thread Jeremy Kitchen
Is there a reason scriptaculous provides what appears to be a redundant function? The reason I'm asking is that it only seems to be used twice throughout all of scriptaculous, and it doesn't appear to work properly (for some reason it's returning the actual element, rather than an array with al

RE: [Rails-spinoffs] Problem w/ IE & Autocomplete

2006-04-17 Thread Daniel Elmore
The autocompleter does not support scrolling. Touching a scroll bar fires the onBlur event.   -Daniel     -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Fitzhenry Sent: Monday, April 17, 2006 1:01 PM To: Rail Spinoffs Subject: [Rails-sp

[Rails-spinoffs] Problem w/ IE & Autocomplete

2006-04-17 Thread David Fitzhenry
Anyone run into the problem where the autocomplete results div disappears when you click or click/drag on the scroll bars for the div?-- David Fitzhenry - http://fitzhenrys.blogspot.comhttp://www.gone2far.com ___ Rails-spinoffs mailing list Rails-spinoffs

[Rails-spinoffs] Form.Serialize - Method's for limiting form data?

2006-04-17 Thread Erin Brewer
I have some ideas how to go about this, but wanted to see if people already had solutions in place for this. The basic scenario is i'm sending form data over ajax using form.serialize to send the form data (as per the standard methodology). However, on some pages i have very large forms (few th

FW: [Rails-spinoffs] evalScripts in IE

2006-04-17 Thread Maninder, Singh
Here you go: Very Basic Example (save them to your desktop and fire ajax_updator.html. Please make sure prototype.js is also present there): You may find errors and can suggest 100 other approaches, but this should be enough to demonstrate how evalScripts works. -Mandy. Title: AJAX Usage 

RE: [Rails-spinoffs] evalScripts in IE

2006-04-17 Thread Gregory Hill
> What's the problem with the code? How should I write it? I was referring to Todd's example. He purposely added an extraneous comma at the end of his list that is invalid syntax in IE. I was just explaining what Martin had meant, not about the original issue about evalScripts. I haven't really

RE: [Rails-spinoffs] evalScripts in IE

2006-04-17 Thread Daniel Elmore
> The problem there is that your javascript code is invalid in IE. What's the problem with the code? How should I write it? Can someone who has evalScripts working in IE show me a snippet of the return code. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: [Rails-spinoffs] evalScripts in IE

2006-04-17 Thread Gregory Hill
The problem there is that your javascript code is invalid in IE. So, the eval cannot finish executing the code.. However, errors thrown during an eval do not get sent to the javascript error dialog (at least, from what I've seen). So, you don't see the error on the page. What Martin was saying