[Proto-Scripty] Re: node.select in IE7

2008-11-14 Thread AlannY
Not works for me too ;-( $$('div.number').each(function (node) { var edit = node.select('a#edit')[0]; if( edit ) { ... } }); It works in Firefox and Safari and NOT works in IE ;-( On Nov 14, 12:29 am, Gabriel Gilini [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 4:17 PM,

[Proto-Scripty] periodicupdater stop

2008-11-14 Thread jeaswe
How do I apply a stop to a running periodic updater? The below does not stop it! var counter; function periodic() { var myAjax = new Ajax.PeriodicalUpdater ('meny','../TJx/meny.php'+'?rand='+new Date().getTime(),{method: 'post',frequency:10.0,decay:2, onSuccess:

[Proto-Scripty] Re: evalScripts problem

2008-11-14 Thread Ehsun
On Nov 14, 6:30 am, RobG [EMAIL PROTECTED] wrote: On Nov 14, 7:39 am, Ehsun [EMAIL PROTECTED] wrote: I've create an Object in my pages script tags, something like this: a = new A(); and when I want to call a method of a in the script which is actually the ajax content (evaluated

[Proto-Scripty] Ajax.Responders

2008-11-14 Thread Jeztah
Just to let everyone know i may have found a little bug in the Ajax.Responders .. or maybe it is mean to to this way When creating an Ajax.Updater for instance if you use the method onComplete in the Ajax.Options then it never unloads the Request from the Ajax.Responders counter If you

[Proto-Scripty] Re: Browser Support List?

2008-11-14 Thread T.J. Crowder
Hi, The list on the download page[1] is up-to-date, isn't it? If any knows that that information is inaccurate, please raise a ticket in Lighthouse[1] with the details (including how you know!) and I'll fix it post haste. [1] http://www.prototypejs.org/download [2]

[Proto-Scripty] Re: Ajax.Responders

2008-11-14 Thread Alex Mcauley
here is a pastie of the test i ran in Firefox at least http://pastie.org/314776 Regards Alex - Original Message - From: T.J. Crowder [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, November 14, 2008 12:02 PM Subject:

[Proto-Scripty] Re: Ajax.Responders

2008-11-14 Thread Alex Mcauley
sorry my original code was wrong .. http://pastie.org/314784 The code above actually says 2 requests when there should only be 1 !!! Here is a better example i cant recreate the problem entirely as it needs a few periodical updaters to be going on in the background but when they

[Proto-Scripty] Re: questions about memory leaks

2008-11-14 Thread bluezehn
Yep cheers T.J. This all makes alot of sense. Nice to understand everything rather than just go about doing things in a certain way because it's the done thing! On Nov 14, 11:02 am, T.J. Crowder [EMAIL PROTECTED] wrote: Hi, My tactic is going to be to stop defining them inline, therefore not

[Proto-Scripty] Re: node.select in IE7

2008-11-14 Thread AlannY
Thanks. It works. The problem is solved ;-) On Nov 14, 12:03 pm, Mona Remlawi [EMAIL PROTECTED] wrote: Hi Alann, I believe the problem is that you are using the variable name to be the same as the ID of the element. IE tends to support referencing an element with its ID. Ex: div

[Proto-Scripty] Re: Attaching onload event while creating new img tag

2008-11-14 Thread Diodeus
Ah, That is much cleaner. Thank you. On Nov 13, 6:18 pm, kangax [EMAIL PROTECTED] wrote: On Nov 13, 3:43 pm, Diodeus [EMAIL PROTECTED] wrote: I've been dynamically building a slideshow based on a list of image filenames. I use the following code to create thumbnails:

[Proto-Scripty] Re: Browser Support List?

2008-11-14 Thread Hector Virgen
Thanks, I didn't see that. I was looking for a link on the homepage. Does anyone know if IE 5.5 for the Mac is supported? -Hector On Fri, Nov 14, 2008 at 4:12 AM, T.J. Crowder [EMAIL PROTECTED]wrote: Hi, The list on the download page[1] is up-to-date, isn't it? If any knows that that

[Proto-Scripty] Re: Browser Support List?

2008-11-14 Thread T.J. Crowder
Hi, Does anyone know if IE 5.5 for the Mac is supported? IE 5.5 for the Mac isn't even supported by Microsoft. :-) They EOL'd it a couple of years ago. -- T.J. Crowder tj / crowder software / com On Nov 14, 4:08 pm, Hector Virgen [EMAIL PROTECTED] wrote: Thanks, I didn't see that. I was

[Proto-Scripty] Re: questions about memory leaks

2008-11-14 Thread Tobie Langel
Of course, you'd save yourself all of this trouble by using event delegation[1]. :) Best, Tobie [1] http://proto-scripty.wikidot.com/faq#delegation On Nov 14, 2:04 pm, bluezehn [EMAIL PROTECTED] wrote: Yep cheers T.J. This all makes alot of sense. Nice to understand everything rather than

[Proto-Scripty] Re: Portal Interface

2008-11-14 Thread Brian Williams
hate to be a downer, but yer SVN repos is a bit hokey... just an FYI On Fri, Nov 14, 2008 at 12:37 PM, disccomp [EMAIL PROTECTED] wrote: Update: Setup the project at http://code.google.com/p/scriptaculous-portal-extender/ ( svn checkout

[Proto-Scripty] Re: Browser Support List?

2008-11-14 Thread Hector Virgen
Thanks, TJ. That's a really good point, but unfortunately many of our clients use old Macs with IE 5.5. I would still like to provide them with some basic Javascript UI enhancements. Does that mean I would have to write native Javascript for them? -Hector On Fri, Nov 14, 2008 at 8:31 AM, T.J.

[Proto-Scripty] Chrome, Object and each()

2008-11-14 Thread laurin1
Apparently, this does not work? I get this error message when I try it: uncaught exception TypeError: Object #an Object has no method 'each' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread Alex Mcauley
each does an array itterator no ? - Original Message - From: laurin1 [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, November 14, 2008 8:29 PM Subject: [Proto-Scripty] Chrome, Object and each() Apparently, this does not work? I

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread laurin1
It works fine on arrays, if that is what you are asking. On Nov 14, 2:39 pm, Alex Mcauley [EMAIL PROTECTED] wrote: each does an array itterator no ? - Original Message - From: laurin1 [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent:

[Proto-Scripty] Re: Portal Interface

2008-11-14 Thread disccomp
I asked for info on where it would be best to collaborate on this and no one offered any suggestions. What/where do you suggest? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread laurin1
I'm sorry. My brain is fried, it works on arrays with simple values, but not arrays with Objects IN them. Mispoke. For instance, in IE and in Chrome, this works fine: $a = new Object(); $a['testme1'] = 'tested1'; $a['testme2'] = 'tested2'; $a['testme3'] =

[Proto-Scripty] Re: Portal Interface

2008-11-14 Thread Brian Williams
i think googlecode is fine, i'm just saying that the svn repos is a bit messed up this link does not work http://scriptaculous-portal-extender.googlecode.com/svn/trunk/scriptaculous-portal-extender-read-only this link does

[Proto-Scripty] Re: Browser Support List?

2008-11-14 Thread RobG
On Nov 15, 6:18 am, Hector Virgen [EMAIL PROTECTED] wrote: Thanks, TJ. That's a really good point, but unfortunately many of our clients use old Macs with IE 5.5. I would still like to provide them with some basic Javascript UI enhancements. Does that mean I would have to write native

[Proto-Scripty] Re: Need help sending information from multiple forms

2008-11-14 Thread kangax
On Nov 14, 11:52 am, Abel Figueiredo [EMAIL PROTECTED] wrote: This solution. Is it for same-named form controls? My solution doesn't have same-named controls. So with this i can send the return from mergeForms... as my parameters, right? Yes. Just pass it as many forms as you need. [...]

[Proto-Scripty] Re: using eval inside Ajax Request

2008-11-14 Thread kangax
On Nov 14, 7:03 pm, Namotco [EMAIL PROTECTED] wrote: Sorry, should be: eval(someVar=function() {     this.elm=$('outputs');    }; s=new someVar(); s.innerHTML='test';); Omitting `var` is generally a bad idea. Either use `var` or assign to a property directly (as in `window.foo = 'bar'`);

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread kangax
On Nov 14, 4:17 pm, laurin1 [EMAIL PROTECTED] wrote: I'm sorry. My brain is fried, it works on arrays with simple values, but not arrays with Objects IN them. Mispoke. For instance, in IE and in Chrome, this works fine: $a = new Object(); $a['testme1'] = 'tested1';

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread Ken Snyder
See my comments below. - Ken Snyder On Fri, Nov 14, 2008 at 2:17 PM, laurin1 [EMAIL PROTECTED]wrote: I'm sorry. My brain is fried, it works on arrays with simple values, but not arrays with Objects IN them. Mispoke. For instance, in IE and in Chrome, this works fine: $a = new

[Proto-Scripty] Re: Chrome, Object and each()

2008-11-14 Thread laurin1
Like I said, this code works just fine in IE, but in Chrome, it does not work. $aEle = $('TicketOptions').getElementsByClassName('LoadChecks'); $aEle.each(function($s){ if($s != $sEle) $s.checked = false; }); No error in the browser, but the JS debugger