[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] } ), {

[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 keithda...@solidtechservice.com wrote: Hmm, so, I guess we are the only ones having

[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 dan.til...@gmail.com wrote:

[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 dan.til...@gmail.com To: Prototype script.aculo.us

[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] 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 m...@laurinkeithdavis.com To:

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

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

[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 !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

[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 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

[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

[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 m...@laurinkeithdavis.com To: prototype-scriptaculous@googlegroups.com Sent: Wednesday, October 07, 2009 3:05 PM Subject: [Proto-Scripty] Re: IE 8 Properties Undefined

[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,

[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 nganp...@gmail.com wrote:

[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

[Proto-Scripty] Re: Variabalized containment

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

[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