Re: [Rails-spinoffs] AJAX data grid for Rails?

2006-06-13 Thread nick hemsley
jSON vs Component: It depends on what you want to do with the generated grid. If you need to munge the data to put it into a grid (i.e. dates, timespan) for display purposes, it is sometimes handy to have the raw json object around so that you dont have to do a whole lot of un-munging in JS to ge

Re: [Rails-spinoffs] XSLT Ajax Widget implementation

2006-06-13 Thread Lindsey Simon
Hey Ryan, check out the new button that does the clientside XSLT using the Sarissa library. Try the 200 rows, and notice how lightning fast it is w/ Sarissa. I think Sarissa uses the native xsl engine, but anyhow, it is really swift! Ryan Gahl in message Re: [Rails-spinoffs] XSLT Ajax Widget imple

Re: [Rails-spinoffs] Element.remove parent div

2006-06-13 Thread Michael Peters
Tristan Kelley wrote: > Hi all, > Currently I am using Element.remove like so: > > > > > > However I would like to just create a function since I'll be removing > multiple DIVs and updating the sortable order. I just can't get some > version of Element.remove to target the parent DIV. I've t

[Rails-spinoffs] Element.remove parent div

2006-06-13 Thread Tristan Kelley
Hi all,Currently I am using Element.remove like so: However I would like to just create a function since I'll be removing multiple DIVs and updating the sortable order. I just can't get some version of Element.remove to target the parent DIV. I've tried several versions of this but no luck. functio

[Rails-spinoffs] AJAX data grid for Rails?

2006-06-13 Thread Thomas Atwood
Has anyone used an AJAX data grid with Rails? I am rebuilding a copy of the venture source web site as a first ruby/ rails exercise. If anyone has used a javascript data grid with Rails, I would appreciate sample code, or notes on your experience. The controller action would presumably comm

[Rails-spinoffs] sortable trees and rjs updates

2006-06-13 Thread Justin Garten
Hello,I'm experiencing some odd behavior with a sortable tree when I try to add an element using _javascript_ via rjs.  What's strange is that things work fine if I have moved any item on the list prior to adding a new element but produce odd results if I haven't. My tree is a normal nested group o

Re: [Rails-spinoffs] why some features uses new and some just static function call

2006-06-13 Thread Ryan Gahl
Hmm, I'm pretty sure they can all be used either way, since functions are first class objects (you can either invoke or instanstiate, and instantiation also causes invocation of the constructor, which in this case is also the meat and potatoes)... I think instantiation of the Effects, et. al., depe

[Rails-spinoffs] why some features uses new and some just static function call

2006-06-13 Thread Reynard Hilman
Hi, when using prototype and scriptaculous, isn't it confusing sometimes to remember which ones you have to use new and which ones that are just static function call. For example: new Insertion.Before(...); new Effect.Opacity(...)Effect.Fade(..);Effect.Appear(...);I havent really looked at the imp

Re: [Rails-spinoffs] scriptaculous & sortables/draggables scrolling?

2006-06-13 Thread Ryan Gahl
Ahh, yes, good thinking. I'll bet the document.documentElement wasn't working how you wanted because your content wasn't pushing that element down far enough on the page (it must only make itself tall enough to envelope the bottom-most element). On 6/13/06, ML <[EMAIL PROTECTED]> wrote: Leon,"scrol

Re: [Rails-spinoffs] Weird flicker effect in IE6 (sortables)

2006-06-13 Thread Kjell Bublitz
On 6/13/06, Kjell Bublitz <[EMAIL PROTECTED]> wrote: On 6/13/06, Leon Chevalier <[EMAIL PROTECTED]> wrote: It looks to me like the two drop-down menus you have in your Flickr blockare causing the flickering in IE. I would suggest hiding any SELECT elementswith the starteffect function, then making

Re: [Rails-spinoffs] scriptaculous & sortables/draggables scrolling?

2006-06-13 Thread ML
Leon,"scroll: window" did the job. Thanks a lot!On 6/13/06, Leon Chevalier <[EMAIL PROTECTED] > wrote:-Original Message-Would anyone happen to know how to make sortable/draggable scroll down the page while moving the object if the page happens to be larger thanthe screen size?__

Re: [Rails-spinoffs] Weird flicker effect in IE6 (sortables)

2006-06-13 Thread Kjell Bublitz
On 6/13/06, Leon Chevalier <[EMAIL PROTECTED]> wrote: It looks to me like the two drop-down menus you have in your Flickr blockare causing the flickering in IE. I would suggest hiding any SELECT elementswith the starteffect function, then making them visible again with the endeffect.Thanks for this

RE: [Rails-spinoffs] Weird flicker effect in IE6 (sortables)

2006-06-13 Thread Leon Chevalier
Any ideas? I already had to remove the hoverclass and ghosting because it was only worse. :( --- It looks to me like the two drop-down menus you have in your Flickr block are causing the flickering in IE. I would suggest hiding any SELECT elements with the starteffect function, th

[Rails-spinoffs] Weird flicker effect in IE6 (sortables)

2006-06-13 Thread Kjell Bublitz
Hello everyoneI have made some strange expirience yesterday. I have an unordered list with sortable list items (basic). Within these are various contents (forms, divs, more lists) etc.. Now on only some of them the whole page (all text) begins to flicker / redrawn in Internet Explorer 6 if i pick u