[Proto-Scripty] Where is the source?

2008-09-11 Thread Richard Quadling
to retrieve the source, but I don't seem to have anything different from at least 25th July 2008. In looking at the source at http://github.com/sstephenson/prototype/tree/master/src this confirms my suspicion. Where is the source that you all actively write to? Regards, Richard. -- - Richard

[Proto-Scripty] Re: Where is the source?

2008-09-11 Thread Richard Quadling
. Crowder tj / crowder software / com On Sep 11, 11:26 am, Richard Quadling [EMAIL PROTECTED] wrote: 2008/9/11 bluezehn [EMAIL PROTECTED]: Not sure what you mean. If you just want to see prototype/ scriptaculous' source, then since javascript is an interpreted language, by definition

[Proto-Scripty] Re: Apply an effect to every element _except_ one

2008-09-17 Thread Richard Quadling
1A but then when the animation ends, div 1B flickers down to 30% so it's the same size as 1A still. I've probably made this more complex sounding than it is, but does anyone have any ideas? Matt Its disgusting what Kangax can do in 1 line! -- - Richard Quadling Zend Certified

[Proto-Scripty] Re: Unofficial Prototype FAQ is online

2008-10-08 Thread Richard Quadling
and perhaps selected moderators are allowed to. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you

[Proto-Scripty] Re: Prototype.js (1.6.0.3) breaks Firebug (1.2.1) Options allegedly.

2008-10-14 Thread Richard Quadling
. Guess it's easier to blame than to fix. What specific issues are you having? -justin Not me. I was just showing the link in case someone with more knowledge than me could/would/should fight the FUD potential. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c

[Proto-Scripty] Looking for a SOAP class which is compatible with prototype.js

2008-12-08 Thread Richard Quadling
a lot easier. So, in looking to make my job even easier, I'm looking for anyone who has got a working and well documented (or at least working) SOAP library that works with prototype.js (latest please). Regards, Richard Quadling. -- - Richard Quadling Zend Certified Engineer : http://zend.com

[Proto-Scripty] Re: Nested JSON problem

2008-12-18 Thread Richard Quadling
:57:47 2008 UTC (http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.17r2=1.18) Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Richard Quadling
Windows XP Pro SP3 with Chrome V1.0.154.43, Firefox V3.0.5 and IE V7.0.5730.13. NFF/Picnic? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: document.observe etc for multiple forms?

2009-01-15 Thread Richard Quadling
)) { $(send + count).observe(click, function (evt) { evt.stop(); getData(evt.element().form); }); } }); } Cheers, Geoff You could add the same class to each element and ... $$('.classname').invoke('observe', 'click', function(ev) { ... }); -- - Richard

[Proto-Scripty] Re: document.observe etc for multiple forms?

2009-01-15 Thread Richard Quadling
2009/1/16 geoffcox g...@freeuk.com: You could add the same class to each element and ... $$('.classname').invoke('observe', 'click', function(ev) { ... }); Many thanks Chris - that's done the trick! Chris? Cheers, Geoff -- - Richard Quadling Zend Certified Engineer :http

[Proto-Scripty] Having trouble with .without().

2009-01-22 Thread Richard Quadling
the labels in the .scrollBox. The second info shows me all the labels in the scrollBox which are nonSpacing. The third info shows me the same as the first. The .without is NOT working as I would expect. Any ideas? Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php

[Proto-Scripty] Re: Having trouble with .without().

2009-01-22 Thread Richard Quadling
the negator. I did see it in the docs, but in the rush to get home, I think I've mistyped something. Thanks. Richard. On Jan 22, 12:27 pm, Richard Quadling rquadl...@googlemail.com wrote: Hi. s_CSS = '.scrollBox label'; console.info($$(s_CSS)); console.info($$(s_CSS + '.nonSpacing

[Proto-Scripty] Re: Having trouble with .without().

2009-01-23 Thread Richard Quadling
pretty sure proto's CSS parser can handle the not pseudo selector, so you can do something like this... $$(s_CSS + :not(.nonSpacing)); http://www.w3.org/TR/css3-selectors/#negation -- http://positionabsolute.net On Jan 22, 12:27 pm, Richard Quadling rquadl...@googlemail.com wrote: Hi

[Proto-Scripty] Adding methods to Elements of a certain class.

2009-01-23 Thread Richard Quadling
, Richard Quadling. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Re: Adding methods to Elements of a certain class.

2009-01-23 Thread Richard Quadling
2009/1/23 Richard Quadling rquadl...@googlemail.com: Hi. Should I add the method using (A)... $$('.css').invoke('addMethod', function(el, args){ // Payload }); Or should I use (B) ... Element.addMethods(function(el, args) { if (el.hasClass('css')) { // Payload

[Proto-Scripty] Re: Possible incompatibility with JSON library?

2009-01-26 Thread Richard Quadling
be worth looking at. Thanks, Nathan What happens if you load prototype first? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Using JSON/AJAX for more than just scalar data.

2009-01-28 Thread Richard Quadling
Gabriel Gilini www.usosim.com.br gabr...@usosim.com.br gabr...@souagil.com.br On Wed, Jan 28, 2009 at 12:34 PM, Richard Quadling rquadl...@googlemail.com wrote: Hi. Currently I use AJAX to send POST requests and receive JSON encoded data which is magically supplied as an object to me

[Proto-Scripty] Re: Hash#filter returns an Array?

2009-02-03 Thread Richard Quadling
addressed. - Brad But it seems to me that it's gone away, because Hash no longer mixes in Enumerable, does it? Colin -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Using setStyle to change background-image

2009-02-03 Thread Richard Quadling
should not be in quotes ... $(element).setStyle({ backgroundColor: '#900', fontSize: '12px' }); so ... $('mydiv').setStyle({backgroundImage:url(waitgif)}); -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very

[Proto-Scripty] Re: Using setStyle to change background-image

2009-02-03 Thread Richard Quadling
2009/2/3 Richard Quadling rquadl...@googlemail.com: 2009/2/3 Eric lefauv...@gmail.com: Hi, I have a div and I'd like to set its background image style using the object format. I tried without success the following things: $('mydiv').setStyle({'backgroundImage':'wait.gif'}); $('mydiv

[Proto-Scripty] Re: grabbing form values from multiple pages.

2009-02-04 Thread Richard Quadling
://docs.php.net/sessions and http://docs.php.net/manual/en/book.session.php -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received

[Proto-Scripty] Re: grabbing form values from multiple pages.

2009-02-04 Thread Richard Quadling
2009/2/4 Richard Quadling rquadl...@googlemail.com: 2009/2/4 david david.brill...@gmail.com: Hi sqaured, It seems, that you only transmit the value of the previous form to the DB, and for the third form to be generated, you need to pass first AND second one ! So this could be done

[Proto-Scripty] Re: Prototype bug?

2009-02-10 Thread Richard Quadling
over normal bob? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Proto-Scripty] Re: Prototype bug?

2009-02-10 Thread Richard Quadling
string typeof o_String object typeof s_String string o_String instanceof String true s_String instanceof String false Confusing. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Prototype bug?

2009-02-10 Thread Richard Quadling
. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Odd behaviour with chained calls.

2009-02-16 Thread Richard Quadling
while). $('header').update('Prototype is quite good!').show().hide.delay(2) 4 $(element).style is undefined [Break on this error] $(element).style.display = 'none'; prototype.js (line 1349) -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731

[Proto-Scripty] Re: Odd behaviour with chained calls.

2009-02-17 Thread Richard Quadling
2009/2/16 kangax kan...@gmail.com: On Feb 16, 11:10 am, Richard Quadling rquadl...@googlemail.com wrote: Hi. I want to set an error message for 20 seconds ... $('sessionError').update(o_E.responseText).show().hide.delay(20); The message is displayed correctly. But not hidden again

[Proto-Scripty] Re: Odd behaviour with chained calls.

2009-02-17 Thread Richard Quadling
2009/2/16 Daniel Rubin dru...@dimedis.de: Richard Quadling wrote: Hi. I want to set an error message for 20 seconds ... $('sessionError').update(o_E.responseText).show().hide.delay(20); The message is displayed correctly. But not hidden again after 20 seconds or so. It's because you

[Proto-Scripty] Problems with $('formID').serialize(true).merge({foo:'bar'}).

2009-02-17 Thread Richard Quadling
. Which means they will match. Only the expected should be $H()'d as it the actual should already be $H()'d by prototype. I hope that makes sense and is right, if not, I'll stick with $H()-ing my serialized form. Regards, Richard. -- - Richard Quadling Zend Certified Engineer : http

[Proto-Scripty] Re: $(element) - prototype.js error?

2009-02-19 Thread Richard Quadling
you know what could cause this error ? Thanks in advance Best Regards, Fernando Gabrieli Are you using prototype before the DOM has finished loading? Wrap your code in something like ... document.observe('dom:loaded',function(){ // Your code }); -- - Richard Quadling Zend

[Proto-Scripty] Detecting an empty [] as a parameter to a function.

2009-02-24 Thread Richard Quadling
quite different output ... $H({}).each(function(h){console.debug(h);}); vs .. $H([]).each(function(h){console.debug(h);}); Regards, Richard Quadling. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very

[Proto-Scripty] How do I sort a set of divs slowly.

2009-02-24 Thread Richard Quadling
of the list. The user isn't dragging the tab, I just want the active tab to be the first in the list. A nice sliding effect would be what I would like to see, but I have no idea at all how to do such a thing. Regards, Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-25 Thread Richard Quadling
. -- david On 24 fév, 16:52, Richard Quadling rquadl...@googlemail.com wrote: Hi. I know that I need to stop observing on elements before I destroy them (say they are coming in via an AJAX connection). I know one way of handling this is to not actually attach events to dynamic content

[Proto-Scripty] Re: How do I sort a set of divs slowly.

2009-02-25 Thread Richard Quadling
see any flickering if all attach/detach are grouped in the code. -- david On 24 fév, 17:47, Richard Quadling rquadl...@googlemail.com wrote: Hi. I've got a set of spans ... div class=tabHs  span id=tabH_UserAdmin class=tabHEUser Administration/span  span id=tabH_ReportAdmin class

[Proto-Scripty] Re: When?

2009-02-25 Thread Richard Quadling
is a great way to go. If prototype started handling user interaction (rather than just DOM/AJAX interaction), then it would bloat VERY quickly. Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever

[Proto-Scripty] Re: When?

2009-02-25 Thread Richard Quadling
2009/2/25 Lox gecka.comp...@gmail.com: Scripty (for example), which uses prototype is always going to expand as new effects or user orientated functionality becomes available. Is Scripty Scriptaculous ? Yes. Sorry for the abbrev. -- - Richard Quadling Zend Certified Engineer

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-26 Thread Richard Quadling
). Cheers. On Feb 25, 8:13 pm, Richard Quadling rquadl...@googlemail.com wrote: 2009/2/24 david david.brill...@gmail.com: Hi, Why not relying on event delegation to a parent contener that will not be delete or modify ?? btw, I thing the only problem is an excessive memory consuption

[Proto-Scripty] Having an issue with bubbling of a SELECT's onChange event in IE.

2009-02-26 Thread Richard Quadling
/body /html -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-27 Thread Richard Quadling
event isn't bubbled in IE. It seems. I'd like to be proven wrong. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received

[Proto-Scripty] Re: Observing events on dynamic content.

2009-02-27 Thread Richard Quadling
This approach have some downfalls - change event is fired no only on click events, and stopDelegating will not work well. But is goot stating point, I think :) Thank youl. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-02-27 Thread Richard Quadling
2009/2/27 buda www...@pochta.ru: C:\ruby\bin$ git submodule init '$' is not recognized as an internal or external command, operable program or batch file. On 27 фев, 16:57, Richard Quadling rquadl...@googlemail.com wrote: 2009/2/27 buda www...@pochta.ru: I downloaded last build

[Proto-Scripty] Re: I have a problem with building prototypejs with rake

2009-02-28 Thread Richard Quadling
to get the latest release??? On 27 фев, 18:20, Richard Quadling rquadl...@googlemail.com wrote: 2009/2/27 buda www...@pochta.ru: C:\ruby\bin$ git submodule init '$' is not recognized as an internal or external command, operable program or batch file. On 27 фев, 16:57, Richard

[Proto-Scripty] Re: Delay Required after Ajax.Request() ... How to?

2009-02-28 Thread Richard Quadling
of the request, then it will have to wait as well. So, that code would have to be part of the onSuccess too. Hope this is understandable. Regards, Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever

[Proto-Scripty] User triggered download with no page refresh.

2009-03-02 Thread Richard Quadling
only and so can be limited in support). I suppose as a side question, how do I find what events are observable for any element? Is there a way? Or is it just a case of RTF HTML/JS M Regards, Richard Quadling. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r

[Proto-Scripty] Re: User triggered download with no page refresh.

2009-03-02 Thread Richard Quadling
2009/3/2 zero zero.zero1...@gmail.com: On page that iframe load u can put code: script type=text/javascript                parent.name_of_some_js_function(); /script Works for me in all browsers. On 2 Mar, 14:21, Richard Quadling rquadl...@googlemail.com wrote: Hi. I'm currently using

[Proto-Scripty] Re: User triggered download with no page refresh.

2009-03-02 Thread Richard Quadling
2009/3/2 Richard Quadling rquadl...@googlemail.com: 2009/3/2 zero zero.zero1...@gmail.com: On page that iframe load u can put code: script type=text/javascript                parent.name_of_some_js_function(); /script Works for me in all browsers. On 2 Mar, 14:21, Richard Quadling rquadl

[Proto-Scripty] Re: How do sort a hash.

2009-03-02 Thread Richard Quadling
2009/3/2 Richard Quadling rquadl...@googlemail.com: Hi. This might be one of the those odd situations where there is no answer, but I have a hash coming from PHP via JSONP to JS/Prototype. In IE and FF, the ordering is maintained. In Chrome the order is not maintained. The key part

[Proto-Scripty] Re: How do sort a hash.

2009-03-02 Thread Richard Quadling
2009/3/2 kangax kan...@gmail.com: On Mar 2, 9:58 am, Richard Quadling rquadl...@googlemail.com wrote: Hi. This might be one of the those odd situations where there is no answer, but I have a hash coming from PHP via JSONP to JS/Prototype. In IE and FF, the ordering is maintained

[Proto-Scripty] Re: Any known browser specifict issues with Ajax.Updater evalScripts?

2009-03-03 Thread Richard Quadling
and Chrome, but IE sometimes needs things set just so to get it to behave. Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: Creating Checked Radio buttons, not working in IE

2009-03-04 Thread Richard Quadling
', 'value': i, 'name': 'test', 'checked' : (i = 1) } ); li.insert(input); my_list.insert(li); } }); -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731

[Proto-Scripty] Re: Having an issue with bubbling of a SELECT's onChange event in IE.

2009-03-05 Thread Richard Quadling
2009/3/5 david david.brill...@gmail.com: Hi Richard, not tested, just thought: does it works with DOM0 event ?? -- david On 26 fév, 16:22, Richard Quadling rquadl...@googlemail.com wrote: Hi. Below is a simple example of the problem I'm having. In FF and Chrome, the change event

[Proto-Scripty] Re: Processing Ajax.updater response before updating container

2009-03-06 Thread Richard Quadling
the debug output, put it in a div of its own and just hide the div. Colin -- /John -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Proposal for improving bind() + adding unbind() support

2009-03-10 Thread Richard Quadling
% (2170 of 2200 calls to bind pass a single object argument, with no additional arguments to bind.) Are you able to provide any sort of stats comparing the amount of time with and without your patch to bind()? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c

[Proto-Scripty] Re: Mass AJAX Requests

2009-03-11 Thread Richard Quadling
hundreds of requests. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Proto-Scripty] Re: Mass AJAX Requests

2009-03-11 Thread Richard Quadling
- - Show quoted text - [snip] loads of things which were really relevant but long winded [/snip] Do what Tobie says. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: img disable enable

2009-03-11 Thread Richard Quadling
option value=aA and B/option option value=cC and D/option option value=meRichard Quadling/option option value=imgShow images/option /select /div /div /body /html -- - Richard

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-11 Thread Richard Quadling
will the anonymous callback function get at it? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you

[Proto-Scripty] Re: Ajax.Updater home-brew autocompletion timing issue

2009-03-11 Thread Richard Quadling
2009/3/11 Richard Quadling rquadl...@googlemail.com: The response does not have access to the request. I created the ticket for this a long time ago, but I can't establish if there is any memleak when the response includes the request. http://dev.rubyonrails.org/ticket/9691 Over a year old

[Proto-Scripty] Re: Detecting an empty [] as a parameter to a function.

2009-03-18 Thread Richard Quadling
to the ISPs will take time (these things always do). Regards, Richard Quadling. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received

[Proto-Scripty] Re: Detecting an empty [] as a parameter to a function.

2009-03-19 Thread Richard Quadling
2009/3/18 Richard Quadling rquadl...@googlemail.com: 2009/2/25 SWilk wilkola...@gmail.com: kangax wrote: On Feb 25, 3:27 am, SWilk wilkola...@gmail.com wrote: [...] It's not that Richard does want to use it. It's that the PHP json_encode() function produces inconsistent output for empty

[Proto-Scripty] Re: $$ utility method returns href value instead of anchor tag reference

2009-03-20 Thread Richard Quadling
Almost certainly you are seeing the results of a toString() method kicking in for the objects (or similar). Try ... alert(links[0]: + links[0].id + ':' + links[0].href); Richard Quadling. 2009/3/20 tkane2000 tkthomp...@gmail.com: How come the $$() function returns the value of the href when

[Proto-Scripty] Re: Shrinking JS

2009-03-20 Thread Richard Quadling
likes the concept and may want to do something with it, i dont have time at the moment !!! Regards Alex http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_compressing_javascript_and_css_files -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c

[Proto-Scripty] Re: Shrinking JS

2009-03-20 Thread Richard Quadling
2009/3/20 Richard Quadling rquadl...@googlemail.com: 2009/3/20 Jeztah webmas...@thecarmarketplace.com: After a little playing ove the last couple of days i came up with a nice easy way of shrinking many js files on the fly into 1 file ... this will speed up load time heavily on heavy

[Proto-Scripty] Re: Shrinking JS

2009-03-20 Thread Richard Quadling
2009/3/20 Alex Mcauley webmas...@thecarmarketplace.com: Thanks but i wasnt looking to do it, i just had an idea !! Regards Alex - Original Message - From: Richard Quadling rquadl...@googlemail.com To: prototype-scriptaculous@googlegroups.com Sent: Friday, March 20, 2009 11:46 AM

[Proto-Scripty] Re: Shrinking JS

2009-03-20 Thread Richard Quadling
- Original Message - From: Richard Quadling rquadl...@googlemail.com To: prototype-scriptaculous@googlegroups.com Sent: Friday, March 20, 2009 11:46 AM Subject: [Proto-Scripty] Re: Shrinking JS 2009/3/20 Richard Quadling rquadl...@googlemail.com: 2009/3/20 Jeztah webmas

[Proto-Scripty] Re: Shrinking JS

2009-03-23 Thread Richard Quadling
good points. Excellent topic. The server side caching is really useful. I can show a drastic reduction in the bandwidth used for my CSS and JS files once I started doing that. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing

[Proto-Scripty] Re: $$ utility method returns href value instead of anchor tag reference

2009-03-23 Thread Richard Quadling
] is returning a string, not the a object, so those will both return null. The question is why does this statement: $$('.gallery .thumb .listItem .thumbHolder'); return the value of href (a string) and not that a object? Thanks! On Mar 20, 6:38 am, Richard Quadling rquadl...@googlemail.com

[Proto-Scripty] Re: Overwrite onClick in IE

2009-03-24 Thread Richard Quadling
?  Any hacks to get around it?  (keep in mind I can't edit the anchor tag directly...must do it through js) Thanks! Try ... links[0].observe('click', function(ev){alert('test'); ev.stop();}); -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731

[Proto-Scripty] Re: new Ajax.Updater, method: get, asynchronous:true....

2009-03-24 Thread Richard Quadling
which sounds to play. Works great. Currently have around 80 different audio alerts running. Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: new Ajax.Updater, method: get, asynchronous:true....

2009-03-25 Thread Richard Quadling
the evalJS stuff. Don't put script tags around the JS. DO use an appropriate header in PHP... header('Content-type: application/javascript'); -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Trying to develop something new

2009-03-27 Thread Richard Quadling
id=level3_2, div id=level2_3], actual: [span id=level3_1, span id=level3_2, em id=level_only_child, div id=level2_3] Failure: newlines count as content! expected: [], actual: [em id=level_only_child] Tested using 6c38d84 -- - Richard Quadling Zend Certified Engineer : http://zend.com

[Proto-Scripty] Re: Problem with responseText

2009-03-30 Thread Richard Quadling
== 'success')      {          //do somethint      }    },    onFailure: function(){ alert('failure') }  }); -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Problem with responseText

2009-03-30 Thread Richard Quadling
Alternatively, you could just skip the first 3 characters of the response... response.substring(3); http://www.w3schools.com/jsref/jsref_substring.asp 2009/3/30 Richard Quadling rquadl...@googlemail.com: The problem is that your editor has added this to the PHP script. So, whereas

[Proto-Scripty] Re: Trying to develop something new

2009-03-31 Thread Richard Quadling
2009/3/30 kangax kan...@gmail.com: On Mar 30, 5:54 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, All tests pass here in Chrome with RC1. Chrome 1 or Chrome 2? Both. [...] -- kangax Including the browser resize ones? How did you get them to pass? -- - Richard

[Proto-Scripty] Re: Trying to develop something new

2009-04-01 Thread Richard Quadling
2009/4/1 kangax kan...@gmail.com: On Mar 31, 11:54 am, Richard Quadling rquadl...@googlemail.com wrote: [...] Including the browser resize ones? How did you get them to pass? Nope. Those still fail, of course. Those are not Prototype bugs after all - rather, browser limitation

[Proto-Scripty] Re: Does prototype expire?

2009-04-08 Thread Richard Quadling
mappings being lost when another ajax.request is made with new buttons (of different id names) mapped to functions with Event.observe?- Hide quoted text - - Show quoted text - -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing

[Proto-Scripty] Re: Prototype and Protovis

2009-04-15 Thread Richard Quadling
) { // o_JSON will contain the data supplied by PHP. } This concept allows you to use AJAX and have your client and server talk a little more closely. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: AJAX calls from multiple browser tabs at the same time:

2009-04-21 Thread Richard Quadling
but the the response is empty. Can you please help? Thanks Under normal circumstances, you can only have 2 active connections per server. You have to work within that limitation. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing

[Proto-Scripty] Re: templating best practices

2009-04-22 Thread Richard Quadling
templating library, and I'm interested to hear any experiences with that. Thanks in advance, Ron Derksen You do have the option of creating the HTML fragment on the server and simple passing the completed code to the client. -- - Richard Quadling Zend Certified Engineer : http

[Proto-Scripty] Re: Event Supressing

2009-04-24 Thread Richard Quadling
to supress it. Setting the overflow:hidden for the page is sadly not an option, because the scrollbar disappears. Does anybody has an idea? Ferion I assume you would need an event.stop() inside your handler to stop the event bubbling up. -- - Richard Quadling Zend Certified

[Proto-Scripty] Re: event handling on ajax.request. how to add new event.observes when new data loads

2009-04-29 Thread Richard Quadling
. That way, you attach as soon as you can and any content change performed by AJAX doesn't have the problems of having events attached when the elements are removed/updated. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders

[Proto-Scripty] git clone failure for scriptaculous.

2009-04-30 Thread Richard Quadling
objects: 100% (763/763), done. fatal: read error on input: Bad address99 KiB | 69 KiB/s fatal: index-pack failed git works fine for Prototype. Any ideas? Regards, Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing

[Proto-Scripty] Re: Autocomplete suggestion

2009-05-01 Thread Richard Quadling
2009/5/1 soumya behera.soum...@gmail.com: I would like to use Ajax.Autocompleter as suggestions, i.e. not  automatically select the first entry. How can I do that? Don't supply the first entry. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r

[Proto-Scripty] Re: Invoke a .Net WebMethod

2009-05-05 Thread Richard Quadling
', { method : 'post' } ); } -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received

[Proto-Scripty] Re: SyntaxError: unterminated string literal

2009-05-21 Thread Richard Quadling
. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: effects toggle

2009-05-28 Thread Richard Quadling
! I'm new at all this but I really love you are all up to! Example: http://wiki.github.com/madrobby/... http://www.sequel2.com/ss/ DC -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Adding method to Object to be able to iterate over a json property

2009-05-29 Thread Richard Quadling
: array($element); will take $element and make it an array if it isn't already. Then ... $JSON = json_encode($element); -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Adding method to Object to be able to iterate over a json property

2009-05-29 Thread Richard Quadling
to force objects for arrays with no data or zero-based, sequential numeric keys. When the data arrives in the JS domain, it is an object all the time. Very useful. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some

[Proto-Scripty] Re: HTML breaks JSON

2009-06-08 Thread Richard Quadling
Number or NULL, according to this list of Types: http://us3.php.net/manual/en/language.types.resource.php Sending PHP's json_encode anything other than an array is pointless. http://bugs.php.net/bug.php?id=38680 -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c

[Proto-Scripty] Re: Bizzarre goings on

2009-06-10 Thread Richard Quadling
, you don't need to evalJSON() as this is done for you and presented as the second parameter to the onSuccess() callback. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants

[Proto-Scripty] Re: Bizzarre goings on

2009-06-10 Thread Richard Quadling
Internet explorer as using debug bar - the line numbers and charachters do not match what is going on!! - Original Message - From: Richard Quadling rquadl...@googlemail.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 10, 2009 10:17 AM Subject: [Proto-Scripty] Re

[Proto-Scripty] Re: Bizzarre goings on

2009-06-10 Thread Richard Quadling
2009/6/10 Richard Quadling rquadl...@googlemail.com: 2009/6/10 Alex McAuley webmas...@thecarmarketplace.com: As i said it was working and nothing changed except one line an - if($('overlay')) {...} whihc i have now removed .. its very weird, i will strip it down to bear minimum

[Proto-Scripty] Re: Bizzarre goings on

2009-06-10 Thread Richard Quadling
(and if so do something) or if its text/html/javascript do somehting else Is this possible with prototypejs Regards Alex - Original Message - From: Richard Quadling rquadl...@googlemail.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 10, 2009 10:31 AM

[Proto-Scripty] Re: Bizzarre goings on

2009-06-10 Thread Richard Quadling
')        if(header=='application/json') {         var data=d.responseText.evalJSON();        } else  { .. This has saved me hours of work Regards Alex - Original Message - From: Richard Quadling rquadl...@googlemail.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday

[Proto-Scripty] Re: Need clarification or guidance regarding arrays/hashes

2009-06-10 Thread Richard Quadling
), {} ); -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Re: Need clarification or guidance regarding arrays/hashes

2009-06-10 Thread Richard Quadling
! Numbers starting with a 0 are considered to be octal. 010 = 8 020 = 16 etc. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: Doing some operation for all response

2009-06-19 Thread Richard Quadling
this to allow me to show a spinner/wait icon when requests are actually in progress. Add a little fadeIn/fadeOut the the spinner (with a small delay to exclude the really fast responses) and you get a nice little effect. Richard -- - Richard Quadling Zend Certified Engineer : http://zend.com

[Proto-Scripty] Re: php in files

2009-06-23 Thread Richard Quadling
for this thread? (http://docs.php.net/mailing-lists.php) Regards, Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders of some very clever giants! --~--~-~--~~~---~--~~ You received

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-23 Thread Richard Quadling
/ajax/periodicalUpdater http://www.prototypejs.org/api/ajax/periodicalUpdater[3] http://www.prototypejs.org/api/ajax/options http://www.prototypejs.org/api/ajax/options -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 Standing on the shoulders

[Proto-Scripty] Re: Periodical Updater detect content change

2009-06-24 Thread Richard Quadling
where will I get this?  Won't the updated data cause the hash to be overwritten in the JSON header? Or do I have to send two hashes always and compare them? On 23 Jun., 22:57, Richard Quadling rquadl...@googlemail.com wrote: 2009/6/23 Aamchi aman.ra...@googlemail.com Hi, I

  1   2   3   >