[Proto-Scripty] Re: Ajax.updater - data get merged in content when running many updaters
Hi, I assume you're not using the insertion option on your Ajax.Updater calls[1]? If so, there's your answer. If not, can you put together a small, self-contained example that demonstrates the prblem? [1] http://www.prototypejs.org/api/ajax/updater HTH, -- T.J. Crowder tj / crowder software / com On Nov 27, 11:10 am, Stucture_Ulf [EMAIL PROTECTED] wrote: hi all! i have a problem with Ajax.updater. When i run the Ajax.updater in one div and then if a user clicks on link and activates another Ajax.updater in the same div before the first one is finished the data get merged in the same div. The top is showing the new content, underneath is showing the data that was not yet loaded from the first call. how can I fix this? can i stop/kill the first updater before running the second one? or should i wait until the first is finished before triggering the next one...and how do I do that? grateful for help and advice --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: prototype weight
Hello, whats this? I have an another problem... :-) - Original Message - From: Diodeus [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, November 28, 2008 5:01 PM Subject: [Proto-Scripty] Re: prototype weight You can get a compressed version here: http://groups.google.com/group/prototype-core/browse_thread/thread/40e5815f5bc5fba9 On Nov 28, 9:35 am, gmourasilva [EMAIL PROTECTED] wrote: hello please help me about a question my prototype.js has 128kb in server. thehttp://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js has 30 kb. if is the same, what is wrong? is there any shrink version of prototype and scriptaculous? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: prototype weight
Hello Tobie, you meant, that i send my code to you? - Original Message - From: Tobie Langel [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, November 28, 2008 5:02 PM Subject: [Proto-Scripty] Re: prototype weight Well, best advise would be to gzip it. Tobie On Nov 28, 5:01 pm, Diodeus [EMAIL PROTECTED] wrote: You can get a compressed version here: http://groups.google.com/group/prototype-core/browse_thread/thread/40... On Nov 28, 9:35 am, gmourasilva [EMAIL PROTECTED] wrote: hello please help me about a question my prototype.js has 128kb in server. thehttp://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js has 30 kb. if is the same, what is wrong? is there any shrink version of prototype and scriptaculous? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Window Scrolling -- sortables.create() and scroll:window arg
Is it the answer for my problem? - Original Message - From: Jamie [EMAIL PROTECTED] To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Saturday, November 29, 2008 2:54 PM Subject: [Proto-Scripty] Re: Window Scrolling -- sortables.create() and scroll:window arg Hate to bump but... BUMP. :-( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Ajax.updater - data get merged in content when running many updaters
Hi, Not immediately seeing a problem, can you create a complete page that demonstrates what you're seeing? -- T.J. Crowder tj / crowder softare / com On Nov 30, 8:07 pm, Stucture_Ulf [EMAIL PROTECTED] wrote: thanks for your answer. here is a short code snippet i'm using. i do not want to place the second call on top or under the first content, i just want to make sure the second request stop the first one so that only the content from the second updater get's displayed. function update(id,url) { if($(id)) { new Ajax.Updater(id,url,{ asynchronous:true, evalScripts:true, onFailure: function(obj) {$(id).update ('centerstrongerror...strong/center'); } }); } } On Nov 30, 10:47 am, T.J. Crowder [EMAIL PROTECTED] wrote: Hi, I assume you're not using the insertion option on your Ajax.Updater calls[1]? If so, there's your answer. If not, can you put together a small, self-contained example that demonstrates the prblem? [1]http://www.prototypejs.org/api/ajax/updater HTH, -- T.J. Crowder tj / crowder software / com On Nov 27, 11:10 am, Stucture_Ulf [EMAIL PROTECTED] wrote: hi all! i have a problem with Ajax.updater. When i run the Ajax.updater in one div and then if a user clicks on link and activates another Ajax.updater in the same div before the first one is finished the data get merged in the same div. The top is showing the new content, underneath is showing the data that was not yet loaded from the first call. how can I fix this? can i stop/kill the first updater before running the second one? or should i wait until the first is finished before triggering the next one...and how do I do that? grateful for help and advice --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] IE6 Error: Object doesn't support this property or method
Hello all I am having a little trouble with IE6 and this snippet of code: document.observe('dom:loaded', function() { $( $$('.blockbody').invoke('hide'), $$('.hint').invoke('hide'), $$('.reason').invoke('hide') ); }); I've done some searching to try and work out why I am receiving the error: Object doesn't support this property or method Wiki docs suggest wrapping with $(), though I don't think I have done that properly. Any help is much appreciated. Grant --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE6 Error: Object doesn't support this property or method
Hi Grant, You only need $() to extend elements that have not already been extended. $$() extends the elements it returns[1]. Also, the only reason to call $() is if you're doing something with the return value, which in the given code you're not. [1] http://prototypejs.org/api/utility/dollar Your code doesn't cause an error at my end in IE6 (and does hide the relevant bits), but again, you dont need the $() call, so you can do this instead: document.observe('dom:loaded', function() { $$('.blockbody').invoke('hide'); $$('.hint').invoke('hide'); $$('.reason').invoke('hide'); }); The problem must lie elsewhere. Can you create a small, self- contained page that demonstrates the problem and poast it to Pastie? Along the way you may figure out the problem, and if not, it'll give the folks here something complete to help you with. HTH, -- T.J. Crowder tj / crowder software / com On Dec 1, 12:33 am, grant [EMAIL PROTECTED] wrote: Hello all I am having a little trouble with IE6 and this snippet of code: document.observe('dom:loaded', function() { $( $$('.blockbody').invoke('hide'), $$('.hint').invoke('hide'), $$('.reason').invoke('hide') ); }); I've done some searching to try and work out why I am receiving the error: Object doesn't support this property or method Wiki docs suggest wrapping with $(), though I don't think I have done that properly. Any help is much appreciated. Grant --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE6 Error: Object doesn't support this property or method
Thanks TJ An example of where I have it in use is: http://www.sydneycommunitycollege.com.au/courses/sport/dance And even after copy/paste of your code, I still get the error. Thanks Grant On 01/12/2008, at 4:35 PM, T.J. Crowder wrote: Hi Grant, You only need $() to extend elements that have not already been extended. $$() extends the elements it returns[1]. Also, the only reason to call $() is if you're doing something with the return value, which in the given code you're not. [1] http://prototypejs.org/api/utility/dollar Your code doesn't cause an error at my end in IE6 (and does hide the relevant bits), but again, you dont need the $() call, so you can do this instead: document.observe('dom:loaded', function() { $$('.blockbody').invoke('hide'); $$('.hint').invoke('hide'); $$('.reason').invoke('hide'); }); The problem must lie elsewhere. Can you create a small, self- contained page that demonstrates the problem and poast it to Pastie? Along the way you may figure out the problem, and if not, it'll give the folks here something complete to help you with. HTH, -- T.J. Crowder tj / crowder software / com On Dec 1, 12:33 am, grant [EMAIL PROTECTED] wrote: Hello all I am having a little trouble with IE6 and this snippet of code: document.observe('dom:loaded', function() { $( $$('.blockbody').invoke('hide'), $$('.hint').invoke('hide'), $$('.reason').invoke('hide') ); }); I've done some searching to try and work out why I am receiving the error: Object doesn't support this property or method Wiki docs suggest wrapping with $(), though I don't think I have done that properly. Any help is much appreciated. Grant --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---