[Proto-Scripty] insert Element error in IE
Please help me solve this error, works fine in Firefox, JavaScript error in IE 8 The offending code is: for( var prm in params ) { $('page_form').insert( Element( 'input', { 'name': prm, 'type': 'hidden', 'value': params[prm] } ), { 'position': 'bottom' } ); } The error from IE 8 is: 'undefined' is null or not an object, prototype.js Line: 1946 Char: 7 Code: 0 I am using Prototype v1.6.1 and the code on line 1946 is part of the Element.insert function: childNodes.each(insert.curry(element)); Thanks for any help in advance! --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser
No, I just checked my application on IE 8 with v1.6.1 and had the same result, Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Then the browser crashes On Oct 4, 3:13 pm, laurin1 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having this problem? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: insert Element error in IE
Hi, You're calling Element as a function. You want to call it as a constructor -- put new in front of it, e.g., new Element(...). HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Oct 6, 1:05 pm, BlackEel dan.til...@gmail.com wrote: Please help me solve this error, works fine in Firefox, JavaScript error in IE 8 The offending code is: for( var prm in params ) { $('page_form').insert( Element( 'input', { 'name': prm, 'type': 'hidden', 'value': params[prm] } ), { 'position': 'bottom' } ); } The error from IE 8 is: 'undefined' is null or not an object, prototype.js Line: 1946 Char: 7 Code: 0 I am using Prototype v1.6.1 and the code on line 1946 is part of the Element.insert function: childNodes.each(insert.curry(element)); Thanks for any help in advance! --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser
can you reply with the original question so people who didnt see the original thread may be able to help you ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: BlackEel dan.til...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, October 06, 2009 1:19 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser No, I just checked my application on IE 8 with v1.6.1 and had the same result, Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Then the browser crashes On Oct 4, 3:13 pm, laurin1 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having this problem? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] most wanted aunties with young boys
most wanted aunties with young boys Free 21 age sex movies and Photos downloading CUTE AUNTY AFTER BATHING BEAUTIFUL GIRLS VIDEO COLLECTIONS PleaseVisit. CREATE FREE MEMBERSHIP ACCOUNT. OTHER DETAILS LOG ON TO ** http://www.AWSurveys.com/HomeMain.cfm?RefID=thmlsel ** --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Drag handle
Hello everybody, i'm using an Draggable Object, which gets handelt by an inner element via the handle parameter. This works perfectly. My Problem is, neither the onDrag nor the change Event get fired while i'm dragging. When i remove the handle, the event is fired. Where do i go wrong? Ferion P.S: Please excuse my lack of proper english. I'm not a native speaker. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser
Could it be to do with your DTD ? .. try it with a transitional DTD and see if its the same. I know there are some quirks with DTD but i cant remember which ones. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:20 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser This was my original post: We just discovered what appears to be a very strange bug that appeared with 1.6.1_rc2 (I don't have anything between 1.6.0 and 1.6.1_rc2 to test.) When viewing the properties of the page, the several of the properties are undefined and it crashes the browser. Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Here is our test page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd html head titleTest/title script language=javascript type=text/javascript src=/javascript/ prototype.js/script/head body /body /html -- I've filed this as bug. Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 3:43 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser can you reply with the original question so people who didnt see the original thread may be able to help you ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: BlackEel dan.til...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, October 06, 2009 1:19 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser No, I just checked my application on IE 8 with v1.6.1 and had the same result, Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Then the browser crashes On Oct 4, 3:13 pm, laurin1 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having this problem? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser
I am using a transitional !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 8:36 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser Could it be to do with your DTD ? .. try it with a transitional DTD and see if its the same. I know there are some quirks with DTD but i cant remember which ones. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:20 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser This was my original post: We just discovered what appears to be a very strange bug that appeared with 1.6.1_rc2 (I don't have anything between 1.6.0 and 1.6.1_rc2 to test.) When viewing the properties of the page, the several of the properties are undefined and it crashes the browser. Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Here is our test page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd html head titleTest/title script language=javascript type=text/javascript src=/javascript/ prototype.js/script/head body /body /html -- I've filed this as bug. Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 3:43 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser can you reply with the original question so people who didnt see the original thread may be able to help you ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: BlackEel dan.til...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, October 06, 2009 1:19 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser No, I just checked my application on IE 8 with v1.6.1 and had the same result, Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Then the browser crashes On Oct 4, 3:13 pm, laurin1 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having this problem? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser
The DTD you have stated is www.w3.org/TR/html4/loose.dtd which is not transitional. I use 1.6.1rc_2 in All versions if IE with !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; And it works fine. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:38 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser I am using a transitional !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 8:36 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser Could it be to do with your DTD ? .. try it with a transitional DTD and see if its the same. I know there are some quirks with DTD but i cant remember which ones. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:20 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser This was my original post: We just discovered what appears to be a very strange bug that appeared with 1.6.1_rc2 (I don't have anything between 1.6.0 and 1.6.1_rc2 to test.) When viewing the properties of the page, the several of the properties are undefined and it crashes the browser. Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Here is our test page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd html head titleTest/title script language=javascript type=text/javascript src=/javascript/ prototype.js/script/head body /body /html -- I've filed this as bug. Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 3:43 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser can you reply with the original question so people who didnt see the original thread may be able to help you ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: BlackEel dan.til...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, October 06, 2009 1:19 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser No, I just checked my application on IE 8 with v1.6.1 and had the same result, Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Then the browser crashes On Oct 4, 3:13 pm, laurin1 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having this problem? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Drag handle
Can you post your code please Thanks Alex Mcauley http://www.thevacancymarket.com - Original Message - From: ferion fer...@gmx.de To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:35 PM Subject: [Proto-Scripty] Drag handle Hello everybody, i'm using an Draggable Object, which gets handelt by an inner element via the handle parameter. This works perfectly. My Problem is, neither the onDrag nor the change Event get fired while i'm dragging. When i remove the handle, the event is fired. Where do i go wrong? Ferion P.S: Please excuse my lack of proper english. I'm not a native speaker. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser
What do you mean? It is Transitional, just not XHTML. http://www.w3schools.com/tags/tag_DOCTYPE.asp It's HTML 4.01 Transitional. Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 8:53 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser The DTD you have stated is www.w3.org/TR/html4/loose.dtd which is not transitional. I use 1.6.1rc_2 in All versions if IE with !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; And it works fine. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:38 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser I am using a transitional !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 8:36 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser Could it be to do with your DTD ? .. try it with a transitional DTD and see if its the same. I know there are some quirks with DTD but i cant remember which ones. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:20 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser This was my original post: We just discovered what appears to be a very strange bug that appeared with 1.6.1_rc2 (I don't have anything between 1.6.0 and 1.6.1_rc2 to test.) When viewing the properties of the page, the several of the properties are undefined and it crashes the browser. Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Here is our test page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd html head titleTest/title script language=javascript type=text/javascript src=/javascript/ prototype.js/script/head body /body /html -- I've filed this as bug. Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 3:43 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser can you reply with the original question so people who didnt see the original thread may be able to help you ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: BlackEel dan.til...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, October 06, 2009 1:19 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser No, I just checked my application on IE 8 with v1.6.1 and had the same result, Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Then the browser crashes On Oct 4, 3:13 pm, laurin1 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having this problem? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser
One idea down - many to go! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 3:05 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser Also, that does not fix the problem. Tried using the DTD that you specified. Same result. Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 8:53 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser The DTD you have stated is www.w3.org/TR/html4/loose.dtd which is not transitional. I use 1.6.1rc_2 in All versions if IE with !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; And it works fine. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:38 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser I am using a transitional !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 8:36 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser Could it be to do with your DTD ? .. try it with a transitional DTD and see if its the same. I know there are some quirks with DTD but i cant remember which ones. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Keith Davis m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 2:20 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser This was my original post: We just discovered what appears to be a very strange bug that appeared with 1.6.1_rc2 (I don't have anything between 1.6.0 and 1.6.1_rc2 to test.) When viewing the properties of the page, the several of the properties are undefined and it crashes the browser. Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Here is our test page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http:// www.w3.org/TR/html4/loose.dtd html head titleTest/title script language=javascript type=text/javascript src=/javascript/ prototype.js/script/head body /body /html -- I've filed this as bug. Keith Davis (214) 906-5183 -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Alex McAuley Sent: Wednesday, October 07, 2009 3:43 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser can you reply with the original question so people who didnt see the original thread may be able to help you ! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: BlackEel dan.til...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, October 06, 2009 1:19 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser No, I just checked my application on IE 8 with v1.6.1 and had the same result, Size: bytes (no number, just says bytes) Created: undefined Modified: undefined Then the browser crashes On Oct 4, 3:13 pm, laurin1 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having this problem? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Drag handle
Sure thing. The application ist a script with ca. 17.000 lines code, which is too much to post. The critical line is: this.Dragger = new Draggable($(this.widgetId),{handle: $ (this.widgetName+_dragger), onStart:this.startDrag.bind(this), onEnd:this.stopDrag.bind(this), starteffect:null, endeffect:null, revert: this.shallIRevert.bind(this), change:this.whileDrag.bind (this)}); This Line is inheritaded in an Object structure, which works perfectly. If ein remove the handle: change fires to this.whileDrag whith the code above it wont fire. I tried onDrag and change. Bothe behave likewise. This ist the dynamical generated HTML of the widget (SAMPLE) DIV style=Z-INDEX: 100; POSITION: absolute; WIDTH: 660px; HEIGHT: 434px; TOP: 524px; LEFT: 328px id=widget_LEBENSZIELE class=widget-big className=widget-bigSPAN DIV style=POSITION: absolute class=widgetarea className=widgetarea undefined=position: absolute; DIV class=shadowspacerx className=shadowspacerx DIV class=shadowtop className=shadowtop/DIV DIV class=shadowbottom className=shadowbottom/DIV/DIV DIV class=shadowspacery className=shadowspacery DIV class=shadowright className=shadowright/DIV DIV class=shadowleft className=shadowleft/DIV/DIV DIV class=shadowtopright className=shadowtopright/DIV DIV class=shadowtopleft className=shadowtopleft/DIV DIV class=shadowbottomleft className=shadowbottomleft/DIV DIV class=shadowbottomright className=shadowbottomright/DIV DIV id=widget_resize_LEBENSZIELE class=widgetmask className=widgetmask DIV class=widgetpane className=widgetpane/DIVIMG class=resize- button src=img/widget/resize-button.gif width=11 height=11 className=resize-button DIV class=header className=header DIV id=LEBENSZIELE_dragger class=title className=title DIVLebensziele/DIV/DIV DIV class=buttons className=buttonsA class=close title=schließen href=javascript:nil() className=close/AA class=help title=Hilfe href=javascript:nil() className=help/AA class=config title=Einstellungen href=javascript:nil() className=config/AA class=maximize title=Maximieren href=javascript:nil() className=maximize/A/DIV/DIV DIV class=scrolltop className=scrolltop DIVA class=scrollDeActive title=nach oben href=javascript:nil() className=scrollDeActive DIV class=scrollup-button className=scrollup-button/DIV/A/ DIV/DIV DIV class=content className=content DIV id=body_widget_LEBENSZIELE class=contentmask contentmask-medium className=contentmask contentmask-medium DIV class=scrollcontent className=scrollcontent PDas Widget wird geladen/P/DIV/DIV/DIV DIV class=scrollbottom className=scrollbottom DIV class=arrow-container className=arrow-containerA class=scrollDeActive title=nach unten href=javascript:nil() className=scrollDeActive DIV class=scrolldown-button className=scrolldown-button/DIV/A/ DIV/DIV/DIV/DIV/SPAN/DIV --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Submit form on select for autosuggest
Hello, I am using Ajax.autocompleter in one of my forms. I am calling a custom function getSelectedId after update element to get an ID of the selected list item. I need a functionality such that form should get submitted whenever : 1) a user clicks a item using mouse from the autosuggest list. 2) Whenever user presses enter key while a list item is selected. (This I have achieved through a hack as shown in code below. I call .submit() after getSelectedId function) I don't know how to submit the form on mouse click. Any help on this issue will be really helpful to me. script type=text/javascript new Ajax.Autocompleter(search,hint,server_class.php, {afterUpdateElement : getSelectedId, minChars:1}); function getSelectedId(text, li) { $('class_id').value=li.id; document.forms['searchcustomerform'].submit(); } /script Thank you. Sincerely, Yogesh --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Event#observe on elements
Yeah don't worry about it. Your use case works fine, its the way IE handles event observers that has the memory leak. Other browsers its fine and as noted, prototype handles this IE anomaly under the covers for you so you're good. On Oct 6, 1:57 pm, Ngan Pham nganp...@gmail.com wrote: Thanks for the reply. I do understand that Just because an element has been detached from the visible DOM doesn't mean that the reference can be maintained elsewhere. I just assumed that once it is detached, and the object isn't referenced anywhere else in the code that it would be collected by garbage collection, just like any other variable: function test() { var i = 0; var j = $('some-element').remove(); } it's my thinking that after test() has finished running, that both i and j would be picked up by garbage collection. is this not true? So, what you're saying, to answer my question, is that I don't have to worry about using Event#stopObserving? On Tue, Oct 6, 2009 at 10:22 AM, Matt Foster mattfoste...@gmail.com wrote: The removed element? Just because an element has been detached from the visible DOM doesn't mean that the reference can be maintained elsewhere. It would be no edge case to detach and re-attach a particular element, so to think that an element should be trashed just because it has no parent node is a bad perception. Prototype has accomodations for IE's poor garbage collection tactics and has a cleanup method for this that gets handled transparently to you. -- http://positionabsolute.net On Oct 6, 12:05 pm, Ngan Pham nganp...@gmail.com wrote: Hey everyone, I have a quick question. If put some Event#observe on an element...and then later remove the element with Element#remove, do I have to do Event#stopObserving? Or do the event detach themselves once garbage collection picks up the removed element? Thanks! --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Submit form on select for autosuggest
http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter afterUpdateElement function... you receive an input object and some element that was representing the field. At this point you could execute form.submit.. -- http://positionabsolute.net On Oct 7, 11:19 am, Yogesh yogesh.aga...@gmail.com wrote: Hello, I am using Ajax.autocompleter in one of my forms. I am calling a custom function getSelectedId after update element to get an ID of the selected list item. I need a functionality such that form should get submitted whenever : 1) a user clicks a item using mouse from the autosuggest list. 2) Whenever user presses enter key while a list item is selected. (This I have achieved through a hack as shown in code below. I call .submit() after getSelectedId function) I don't know how to submit the form on mouse click. Any help on this issue will be really helpful to me. script type=text/javascript new Ajax.Autocompleter(search,hint,server_class.php, {afterUpdateElement : getSelectedId, minChars:1}); function getSelectedId(text, li) { $('class_id').value=li.id; document.forms['searchcustomerform'].submit(); } /script Thank you. Sincerely, Yogesh --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Variabalized containment
http://prototypejs.org On Oct 6, 7:45 am, WLQ maybe...@gmail.com wrote: Sounds plausible, I would like to have more information on that please. On 5 Okt., 08:14, Alex McAuley webmas...@thecarmarketplace.com wrote: Why not give your list a class name thats specific to the list and select with $$ Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: WLQ maybe...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Sunday, October 04, 2009 3:05 PM Subject: [Proto-Scripty] Variabalized containment The question is, how can I tell containment to include all lists with Id's of someid_somenumber. Somenumber being any number, let's say I've got 20 lists with the Id of someid_{ID}. So I don't really know the full ID of the list. I want to be able to receive items from the lists id of which includes someid_ regardless of what number goes after. Thanks, Yan- Skjul tekst i anførselstegn - - Vis tekst i anførselstegn - --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] 1.5.1 Hash to 1.6.1 Hash compatibility
i m trying to upgrade prototype 1.5.1 to 1.6.1, then realized that the $H changed, and not compatible with '[]' anymore. the code base is huge, and $H is used very often. i m wondering if theres a smarter way then 1) writing my own wrapper around $H, so it works with old code, or 2) surgically update all variables using $H thanks in advance --~--~-~--~~~---~--~~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---