[Proto-Scripty] drag and drop stop responding with having div - overflow:auto on the page.

2009-08-12 Thread Hitesh
Hi: I have a left menu div (position:fixed) which has a unordered list (ul). I have another content div which is scrollable (position: relative). I need to make the options in the ulli sortable using drag and drop feature.. I am using scriptaculous dragdrop.js and effects.js to have this

[Proto-Scripty] Re: image flickering with Effect.Morph

2009-08-12 Thread Alex Rein
Yea.. had the same problem..did a video tutorial about that thing. i propose the effect.queue of the script.aculo.us core. annoyed me for a long time so just have a look at the tutorial http://muenchenwebdesign.com/devblog/2009/08/navigation-mit-effect-morph-script-aculo-us-munchen-webdesign/

[Proto-Scripty] Prototype: getStyle of document element throws exception

2009-08-12 Thread fda
Hi, we are using Prototype 1.6.0.3 in combination with Gabriel Lanzani select.js. When loading the page in (any) IE browser, the first time the select box is clicked it will not open and a js error will occure. As fare as i understand at some point after the click the Prototype getOffsteParent

[Proto-Scripty] Responders

2009-08-12 Thread Jeztah
Morning Guys / Gals... I am sure this has been covered before but i'll post it anyway as i cant find it in a search!... I am speeding up a website at the moment by using Ajax to do some dirty work in heavy loading pages (pagination and so on)... I need to put a loading spinner or text in place

[Proto-Scripty] Re: Casting a json object into an instance of a class

2009-08-12 Thread T.J. Crowder
Hi, That should work. I notice that you have class.Create rather than Class.create; I assume that's just an error in the note and that the actual code uses Class.create? Because if not, that's your problem. if(myInstance.isB())... = isB is undefined That indicates there's a different

[Proto-Scripty] Re: Responders

2009-08-12 Thread T.J. Crowder
Hi Alex, I don't think there's any official way. A quick look at the 1.6.0.3 release (line #1439) suggests that your responder can access the target container via the request parameter passed to your responder, specifically request.container.success (the container that will be updated on

[Proto-Scripty] Re: Prototype: getStyle of document element throws exception

2009-08-12 Thread T.J. Crowder
Hi, Can you post a minimalist, complete failing test case? I'm not immediately seeing how it would ascend all the way to document unless the element you're using isn't in the body, which would be curious. getOffsetParent stops as of document.body and doesn't try to go further up than that.

[Proto-Scripty] Re: Responders

2009-08-12 Thread Alex McAuley
Thanks TJ, I'll look into it and see if i can hack something together Alex Mcauley http://www.thevacancymarket.com - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, August 12, 2009

[Proto-Scripty] Re: Casting a json object into an instance of a class

2009-08-12 Thread Eric
Thanks for your reply T.J.! I did used Class instead of class. This was a typo when I posted :o) You're right, it should have work the way I did it... and it actually did work this way... ...except that due to a mistake in my events handling, my new thing value was overridden by some obsolete

[Proto-Scripty] Re: IE 8 compatibility issue with prototype 1.6 version

2009-08-12 Thread rai.ashis
i have same problem here but i am using IE7. The error message is same as karamjit. On Tue, Aug 11, 2009 at 9:23 AM, John Harris GM jkharr...@gmail.com wrote: On 8/10/2009 4:02 PM, karamjit wrote: Hi All, I am using the prototype version 1.6 framework with lightview api. I having

[Proto-Scripty] loading problem with IE and prototype (Fr, En)

2009-08-12 Thread nansouille
Hellow and sorry for my english... I'm french I have a problem with prototype. On IE I must reload my page because in the first load prototype doesn't work. for example if you go on my website with IE http://www.sitedechat.eu/?page=chat the page doesn't work at first. You reload one times

[Proto-Scripty] Re: Casting a json object into an instance of a class

2009-08-12 Thread T.J. Crowder
At least, I now know what is the state of the art way of getting a class instance through Ajax ;o) Well, I don't know if it's state of the art, but provided you're in control of both ends (so, for instance, the raw data object doesn't get fields that end up overwriting your methods), it seems

[Proto-Scripty] Re: loading problem with IE and prototype (Fr, En)

2009-08-12 Thread Alex McAuley
Wrap the function in Event.observe(window,'load' The DOM is not loaded and cannot fire the bits to the relavtive element Somehing like Event.observe(window,'load',function() { var periode = new PeriodicalExecuter(f1,2); }); should do the trick HTH Alex Mcauley