[Proto-Scripty] insert Element error in IE

2009-10-07 Thread BlackEel
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':

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread BlackEel
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 wrote: > Hmm, so, I guess we are the only ones having this problem? --~--~-~

[Proto-Scripty] Re: insert Element error in IE

2009-10-07 Thread T.J. Crowder
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 wrote: > Please help me so

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Alex McAuley
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" To: "Prototype & script.aculo.us" Sent: Tuesday, October 06, 2009 1:19 PM Subject: [Prot

[Proto-Scripty] most wanted aunties with young boys

2009-10-07 Thread stella m
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

[Proto-Scripty] Re: insert Element error in IE

2009-10-07 Thread BlackEel
Thank you so much, that fixed it. Why is it that firefox and safari don't need the new constructor? I guess it is just one of those IE things. On 7 Oct, 09:30, "T.J. Crowder" wrote: > Hi, > > You're calling Element as a function. You want to call it as a > constructor -- put "new" in front of it

[Proto-Scripty] Scriptaculous drag and drop

2009-10-07 Thread BlackEel
Basic problem: I have a large list of objects that are drag and drop, the page scrolls vertically, there also drop targets on the page, but at the top. Therefore if I scroll to the bottom of the object list I cannot drop draggables on the drop targets at the top of the page. Solution one: Make th

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Keith Davis
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 a

[Proto-Scripty] Drag & handle

2009-10-07 Thread ferion
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

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Alex McAuley
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" To: Sent: Wednesday, October 07, 2

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Keith Davis
I am using a transitional > 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: prototy

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Alex McAuley
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 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> And it works fine. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Keit

[Proto-Scripty] Re: Drag & handle

2009-10-07 Thread Alex McAuley
Can you post your code please Thanks Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "ferion" To: "Prototype & script.aculo.us" Sent: Wednesday, October 07, 2009 2:35 PM Subject: [Proto-Scripty] Drag & handle > > Hello everybody, > > i'm using an Draggable

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Keith Davis
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 O

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Keith Davis
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

[Proto-Scripty] Re: IE 8 Properties Undefined Crashes Browser

2009-10-07 Thread Alex McAuley
One idea down - many to go! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Keith Davis" To: 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

[Proto-Scripty] Re: Drag & handle

2009-10-07 Thread ferion
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, ende

[Proto-Scripty] Submit form on select for autosuggest

2009-10-07 Thread Yogesh
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.

[Proto-Scripty] Re: Event#observe on elements

2009-10-07 Thread Matt Foster
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 wrote: > Thanks for the reply. >

[Proto-Scripty] Re: Submit form on select for autosuggest

2009-10-07 Thread Matt Foster
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 wrote: > He

[Proto-Scripty] Re: Variabalized containment

2009-10-07 Thread Matt Foster
http://prototypejs.org On Oct 6, 7:45 am, WLQ wrote: > Sounds plausible, I would like to have more information on that > please. > > On 5 Okt., 08:14, "Alex McAuley" > wrote: > > > Why not give your list a class name thats specific to the list and select > > with $$ > > Alex Mcauleyhttp://www.t

[Proto-Scripty] 1.5.1 Hash to 1.6.1 Hash compatibility

2009-10-07 Thread yoshi
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 up