Re: [Rails-Spinoffs] Ajax.InPlaceEditor

2006-01-12 Thread Deco Rior
Personally I found the tests in the download to be really helpful, and made the documentation obvious. Once I had done a few scriptaculous examples it all became clear! deoc Deco On Jan 12, 2006, at 9:03 PM, Maninder, Singh wrote: Frank, Check out the InPlaceEditor documentation here: ht

RE: [Rails-Spinoffs] Ajax.InPlaceEditor

2006-01-12 Thread Maninder, Singh
Frank, Check out the InPlaceEditor documentation here: http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor Hope this helps! Thank you, Mandy. <>___ Rails-spinoffs ma

Re: [Rails-spinoffs] Effect together with ...firstChild - can't get it to work

2006-01-12 Thread David Goodlad
On 1/12/06, Matthias Buchetics <[EMAIL PROTECTED]> wrote: > Hi, > I am relatively new to Rails and I can't get the following to work: > what I am trying to do is to make the first item of a list to flash: > > var item = $('items').firstChild; > new Effect.Highlight(item); > > I get the this Javascr

[Rails-spinoffs] Effect together with ...firstChild - can't get it to work

2006-01-12 Thread Matthias Buchetics
Hi, I am relatively new to Rails and I can't get the following to work: what I am trying to do is to make the first item of a list to flash: var item = $('items').firstChild; new Effect.Highlight(item); I get the this Javascript error message: this._base has no child (effects.js, line 445) But I

[Rails-Spinoffs] Ajax.InPlaceEditor

2006-01-12 Thread Frank D'Elia
Ajax.InPlaceEditor Could someone explain to me the necessary steps in getting this to work. -- Thank You In Advance, Frank D'Elia ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-s

[Rails-spinoffs] New scrolling question (BlindDown)

2006-01-12 Thread Ryan Gahl
I have several BlindDown elements, that when clicked, depending on their position, may blind down past the bottom of the page. I would like the page to auto-scroll with the Blind-down effect so that these elements always stay on-screen. Does anyone know how to do such a thing?   Sincerel

RE: [Rails-spinoffs] Draggable performance issues

2006-01-12 Thread Ryan Gahl
I'm guessing it's all about the setInterval =) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gahl Sent: Thursday, January 12, 2006 3:37 PM To: rails-spinoffs@lists.rubyonrails.org Subject: RE: [Rails-spinoffs] Draggable performance issues I just wa

RE: [Rails-spinoffs] Draggable performance issues

2006-01-12 Thread Ryan Gahl
I just wanted to update anyone interested... in the test file where drag-scrolling is enabled in the Draggable object, the performance of the draggable is only improved when the scrollable functionality is enabled. I tested it without using scrolling, and it's still really jumpy and glitchy (inhibi

Re: [Rails-spinoffs] Draggable performance issues

2006-01-12 Thread Josh
Odd you should mention this problem. I was just noticing it this morning.  I grabbed the dragdrop.js from svn (/spinoffs/scriptaculous/src) but didn't notice a performance improvement. I don't know about your CPU but mine pegs out when I'm dragging. Maybe I'm pushing it too far, though. Here is wha

Re: [Rails-spinoffs] Draggable performance issues

2006-01-12 Thread Benjamin Mack
Hey, the only thing that appeared to me was the following: when I start to drag (and move) an object, it stays opaque but once I stop moving the object, (still dragging = holding down the mouse-button) it suddenly switches to the "semi-transparent"-mode, once I release the button, I goes smoot

RE: [Rails-spinoffs] Draggable performance issues

2006-01-12 Thread Ryan Gahl
You know what... I just copied the Draggable class from the test directory in the SVN trunk because I needed the scrollable functionality. That version is MUCH better! Dragging is super duper fast and responsive now. Thomas, what was changed in that version vs. 1.5.1 as far as draggable performan

RE: [Rails-spinoffs] Draggable performance issues

2006-01-12 Thread Ryan Gahl
No, mine become semi-tranparent right away, it's just the movement that is glitchy. Could this have something to do with the heaviness of the Draggable object? Does it have to do with where the element is nested into the page (i.e. it's inside an absolutely positioned div which is inside a relative

RE: [Rails-spinoffs] Prototype & Cookies

2006-01-12 Thread Maninder, Singh
Martin - Sorry for a million mails on this subject, but I have one suggestion to make this script more perfect. The cookie data limit is 4KB including the cookiename. So, for this case it does make sense to check the limit since this is a cookieJar and can get filled up pretty quickly. Do you

[Rails-spinoffs] Draggable performance issues

2006-01-12 Thread Ryan Gahl
Using the script.aculo.us Draggables, I’m noticing they are a bit less than fast. I drag them around on the screen and they jump and glitch to catch up with the mouse.   Has anyone else noticed this, and are there any optimizations that have been identified that I can apply? I’m using v.

RE: [Rails-spinoffs] Prototype & Cookies

2006-01-12 Thread Maninder, Singh
Hi Marco, It's not about just setting a cookie, getting its value & deleting a cookie. That script is easy. What Martin's script does is super cool.. It makes you define a cookieJar for eg Cookiejar = 'scriptaculous'. Now you can store all scriptaculous related cookies (name/value pairs) into

RE: [Rails-spinoffs] Prototype & Cookies

2006-01-12 Thread Marco M. Jaeger
Are you familiar with this one: http://www.dustindiaz.com/top-ten-javascript/ see the cookie script a little further down on that site. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maninder, Singh Sent: Thursday, January 12, 2006 5:45 PM To: rails-spi

RE: [Rails-spinoffs] Prototype & Cookies

2006-01-12 Thread Maninder, Singh
Also, Martin - your script depends on the prototype library. But, for smaller applications there might be no need to include the entire prototype.js file. Can you let me know (before I try figuring it out mysef) what functions I need to keep from prototype.js file to make this work. I want to

[Rails-spinoffs] Effect.Puff Problem - first frame is wrong size

2006-01-12 Thread Chris Nolan.ca
I'm trying to get to the bottom of this one. Not much for Javascript debugging, but found the Venkman tool and have been stepping through the code trying to see where things go wrong. Looks like it just might be a conflict with the style but lets give some background. I'm doing a 'Effe

RE: [Rails-spinoffs] Prototype & Cookies

2006-01-12 Thread Maninder, Singh
This is a good start for me Martin. Going through it now... First shot at running it gave me errors for isString being not defined. I changed it for both get & set methods FROM: if(isString(document.cookie)){ TO: if(typeof (document.cookie) == 'string'){ This seems to have stopped the erro

RE: [Rails-spinoffs] Prototype & Cookies

2006-01-12 Thread Maninder, Singh
One more: Changed - return !isUndefined(this.jar[c_id]); To return !(typeof (this.jar[c_id]) == 'undefined'); Maybe you had functions for all these but forgot to include them in your email :) Thank you, Mandy. -Original Message- From: Maninder, Singh Sent: Thursday, January 12, 20

RE: [Rails-spinoffs] re: Good OOP and JS books / tutorials?

2006-01-12 Thread Maninder, Singh
You could also check out the following tutorials. I found these pretty helpful. SitePoint Articles: http://www.sitepoint.com/print/oriented-programming-1 http://www.sitepoint.com/print/oriented-programming-2 Thank you, Mandy. ___ Rails-spinoffs mailing

[Rails-spinoffs] re: Good OOP and JS books / tutorials?

2006-01-12 Thread Jonathan Boutelle
>>Can anyone recommend good books, online tutorials, or any other learning >>materials for Javascript - specifically Object Oriented Programming using >>JS? I've found the following site is a nice introduction for javascript newbies who have an OO background: http://www.multitask.com.au/people/

Re: [Rails-spinoffs] Good OOP and JS books / tutorials? Looking toteach my team

2006-01-12 Thread Deco Rior
Ajax in Action has a pretty good description of it or "Pragmatic Ajax"On Jan 11, 2006, at 8:37 PM, Alister Cameron wrote: John,   I would recommend you check out the stuff over at sitepoint.com. Their books are typically very good quality, although I am not familiar with a specific title in that ar