[Proto-Scripty] Re: Dragged and Confused

2009-01-27 Thread Mike
Solved -- seems I was missing a .bind() earlier in my call chain. - Mike On Jan 26, 3:52 pm, Mike wrote: > This is some working code that makes a Draggable: > >   this.draggable = new Draggable(ts.up("div.rsrcRow"), { >       revert: true, >       ghosting: true, > >       onStart: function(dr

[Proto-Scripty] Re: Prototype and imagemaps

2009-01-27 Thread momo3452
Nevermind. I figured it out. You have to set the "useMap" attribute of the image separately. Prototype is apparently not setting it correctly. Maybe its because I didn't do camelBack in the attribute collection. Oh well, it works. On Jan 27, 12:59 pm, momo3452 wrote: > I created a sample scrip

[Proto-Scripty] Re: Prototype and imagemaps

2009-01-27 Thread momo3452
I created a sample script to illustrate what I am doing and to use to test with... This is actually part of a tabbed pop box I created, but just easier to share this way. Obviously, the JSON call won't work, but you can get an idea of what I am doing... -- Event.obser

[Proto-Scripty] Prototype and imagemaps

2009-01-27 Thread momo3452
Hi I am creating an imagemap and map area dom nodes using the prototype Element class. I then create event listeners for mouse over and out events to display some data for that area when the user rolls over. This works fine in Firefox, but does not work in IE6 or 7. The code is there, and when I

[Proto-Scripty] div is blinking after Effect.Opacity

2009-01-27 Thread V1ru8
I use to following js function: function moveMenuItem(item,ymove,appname){ if(item != elementDown){ new Effect.Opacity('main', { from: 1, to: 0 }); new Effect.Move(item,{x:0, y: ymove, mode : 'relative'}); new Ajax.Updater('main_menu','incl

[Proto-Scripty] Re: Sortable tree is not working properly in the current version

2009-01-27 Thread Stephen
I just tested in Firefox 3.0.5 on Mac 10.4.11 and seems to work OK. The items are supposed to turn semi-transparent when you drag them. You should be able to disable that or change to a different effect with one of the draggable options (starteffect, endeffect). I didn't notice any other "flickeri

[Proto-Scripty] Re: What's crashing this page in IE6?

2009-01-27 Thread Matt
Got it - an IE bug. http://support.microsoft.com/default.aspx/kb/927917 Basically, moving the block from Google Maps that initialises the map to right before the tag fixed it. IE versions prior to IE8 crash when some JS tries to modify the body as it's loading, basically. On Jan 22, 9:0

[Proto-Scripty] Re: help with autocompleter

2009-01-27 Thread eulerss
is there any body out there? :( On 23 ene, 10:34, eulerss wrote: > i have a problem :( this is my error: > > "Stack overflow at line 1926" > > this error appears when i load for fist time the page,for example, if > i type "P", appears, but then, not any more, and the most important > thing is th

[Proto-Scripty] Re: Sortable tree is not working properly in the current version

2009-01-27 Thread Cyrus
Ok, I was wrong about the last "bug": http://wiki.github.com/madrobby/scriptaculous/sortable-serialize I didn't use exactly the same id format (I didn't used the underscore). Still remains the first issue. On 27 Jan., 14:10, Cyrus wrote: > I have found another bug: > > Sortable.create has a c

[Proto-Scripty] Re: Sortable tree is not working properly in the current version

2009-01-27 Thread Cyrus
I have found another bug: Sortable.create has a callback "update". Update is never called in the example above (with the current version of scriptaculous). Wheras it gets called with the older version (from 2005). On 26 Jan., 12:12, Cyrus wrote: > Hi, > > I played around with Sortable (with op

[Proto-Scripty] Re: Problems with XML in IE 7

2009-01-27 Thread Patrick Jongmans
You are completely right! This has cost me some hours... Thanks to bill ;-) -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Lars Schwarz Sent: maandag 26 januari 2009 19:37 To: prototype-scriptaculous@google

[Proto-Scripty] Re: New use case for Sortable tree?

2009-01-27 Thread Cyrus
Hey guys, sorry for messing up your thread, but obviously you are using the sortable tree: Have you experienced the same problems? (You can answer in this thread: http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/21eb698723f668b5# ) On 26 Jan., 22:12, Stephen wrote: >

[Proto-Scripty] Re: Ajax.Request delay

2009-01-27 Thread T.J. Crowder
Hi, Ajax requests are *asynchronous*; more in this recent thread: http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/6b593cf7e6be236c/bf42fddc38f2d8c5 HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Jan 26