Re: [Rails-spinoffs] XML Question

2006-08-07 Thread Ed C.
>> what's the simplest way to convert the entire returned object to a string for inspection use responseText instead?   On 7/28/06, Sam <[EMAIL PROTECTED]> wrote: Greg,   OK, there's objects in objects.  Nice...   For debugging purposes, what's the simplest way to convert the entire returned obj

Re: [Rails-spinoffs] Array.prototype.push()

2006-06-12 Thread Ed C.
No no no, lads, if you're trying to workaround a specific IE version (from v5 through v7), use conditional comments: http://www.quirksmode.org/css/condcom.html Like: On 6/12/06, Gregory Hill <[EMAIL PROTECTED]> wrote: Well, what I was referring to is that IE 5 flatly refuses to load a file w

Re: [Rails-spinoffs] Tooltips

2006-06-11 Thread Ed C.
Sam -- I posted this awhile back (haven't had much time to work on it lately. Let me know what you think: On 5/9/06, Ed C. <[EMAIL PROTECTED]> wrote: All -- Thanks to those who sent me input! I'm proud to release my tooltips version 1.1 into the wild; it can be downloade

Re: [Rails-spinoffs] Array.prototype.push()

2006-06-10 Thread Ed C.
Isn't the native Array object's push() method already supported by browsers? (As in, it doesn't need to be redefined by Prototype) On 6/10/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: Does anyone have any idea why Array.prototype.push() was removed from prototype? _

Re: [Rails-spinoffs] Scripts.aculo Highlight (and others)

2006-06-10 Thread Ed C.
Sam, if you're using it 'anonymously' you could try queueing, like new Effect.Highlight(element, { queue: 'end' }); Or saving the object to a variable, checking if it exists, and cancelling it: var eff; function highlightit(element) { if(eff) eff.cancel(); eff = new Effect.Highlight(el

Re: [Rails-spinoffs] Centering one Div within Another

2006-06-09 Thread Ed C.
Ben, that was kind of a glib answer. And an incorrect one -- that technique is only for horizontally centering. Sam is asking for vertical + horizontal.   Try here for cross-browser viewport support:   http://www.quirksmode.org/viewport/compatibility.html  On 6/9/06, Ben Lisbakken <[EMAIL PROTECTED

Re: [Rails-spinoffs] camelize bug?

2006-06-04 Thread Ed C.
Looks like that ticket is languishing -- maybe the owner can create a patch, unit test(s) and tag it with the right keywords? On 6/4/06, Martin Bialasinski <[EMAIL PROTECTED]> wrote: On 6/3/06, Eric Anderson <[EMAIL PROTECTED]> wrote: > Seems that you could just do: > > var camelizedString = oSt

Re: [Rails-spinoffs] Class.create() Vs Creating Objects

2006-05-21 Thread Ed C.
Jeremy, it looks like your URL is using an internal address (your workstation name?) On 5/21/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: On Sunday 21 May 2006 02:53, Maninder, Singh wrote: [snip] > In the first case when I created an object, I can use it as > Browser.getName() whereas in the s

Re: [Rails-spinoffs] stop effect

2006-05-18 Thread Ed C.
var yourEffect = new Effect.Pulsate('yourID'); ... yourEffect.cancel() On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: hi * how can i stop a effect? for example a effect.pulsate is possible? thanks rag ___ Rails-spinoffs mailing list Rails-

Re: [Rails-spinoffs] Yahoo Container Library

2006-05-11 Thread Ed C.
What do you mean by unobtrusive HTML ... ? On 5/11/06, Dominic Sisneros <[EMAIL PROTECTED]> wrote: Just a note that Yahoo came out with some more widgets Check out http://com1.devnet.scd.yahoo.com/yui/container/index.html .  Maybe we can adopt some of their ideas. * I like the Module library and i

Re: [Rails-spinoffs] [ANN] Tooltips v1.1 Released

2006-05-11 Thread Ed C.
ainer/tooltip/index.htmlI also like how they subclassed module and overlay On 5/8/06, Ed C. < [EMAIL PROTECTED]> wrote: All -- Thanks to those who sent me input! I'm proud to release my tooltipsversion 1.1 into the wild; it can be downloaded here:   https://boygeni.us/svn/tooltips/tags

Re: [Rails-spinoffs] [ANN] Tooltips v1.1 Released

2006-05-09 Thread Ed C.
day, May 09, 2006 12:59 AM > To: rails-spinoffs@lists.rubyonrails.org > Subject: Re: [Rails-spinoffs] [ANN] Tooltips v1.1 Released > > Pretty sweetness... > Can a tooltip show the contents of a (w/ more "rich" content)? > -- or is it limited to title t

Re: [Rails-spinoffs] [ANN] Tooltips v1.1 Released

2006-05-09 Thread Ed C.
+ Ajax. (Similar in feel to Netflix's popups) Thanks for the dialogue! ;) e. On 5/9/06, Brice Burgess <[EMAIL PROTECTED]> wrote: Pretty sweetness... Can a tooltip show the contents of a (w/ more "rich" content)? -- or is it limited to title tag of link? ~ Brice Ed C

[Rails-spinoffs] [ANN] Tooltips v1.1 Released

2006-05-08 Thread Ed C.
ested under Safari 2, IE 6 (strict) and Firefox 1.5 You can demo the sample app here: http://boygeni.us/tooltips/ The subversion repository can be found here: https://boygeni.us/svn/tooltips/trunk/ I appreciate any feedback, comments, flames, etc ;) Thanks!

Re: [Rails-spinoffs] Problem with autocomplete

2006-05-06 Thread Ed C.
/script.aculo.us/ with IE you see the autocomplete field correctly If you visit it with FF 1.5.0.2 like me the autocomplete in the page won't work. At least for me... Thank you very much. Best regards, Paolo Ed C. ha scritto: Paolo -- Can you copy and paste some of your c

Re: [Rails-spinoffs] Problem with autocomplete

2006-05-05 Thread Ed C.
Paolo --   Can you copy and paste some of your code?   (Also, make sure you're using "ID" attributes in addition to the "name" attribute on your input field.)   Regards, Ed C.  On 5/5/06, Paolo Asioli <[EMAIL PROTECTED]> wrote: Hello,I'm using scriptaculou

[Rails-spinoffs] [ANN] My Tooltips contribution

2006-05-03 Thread Ed C.
;) Thanks, Ed C. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Stopping the Ajax.PeriodicalUpdater -- My Kludge?

2006-05-02 Thread Ed C.
I think correct URL is:   http://blog.jagregory.com/articles/2006/01/09/801.aspx  On 5/2/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: Prototype PeriodicalExecuter.stop() http://blog.jagregory.com/Blog/archive/2006/01/09/801.aspxThanks,Mandy.___Rails-spi

[Rails-spinoffs] RE: Leak in the Autocompleter, with scrollable result-div ?

2006-05-01 Thread Ed C.
y leak.   (Commenting it out seems to fix this problem.)   I was wondering why it was there?   Thanks again, Ed C.  On 4/24/06, Ed C. <[EMAIL PROTECTED]> wrote: +1   (Tested successfully in IE 6)  On 4/20/06, Tommy Skaue <[EMAIL PROTECTED] > wrote: Hi everyoneIf you've see

Re: [Rails-spinoffs] The Ajax Experience

2006-04-28 Thread Ed C.
If you run into him, you should probably say "sorry!"   Thank you, I'll be here all week!   p.s. - Sorry for the lame joke spam. I couldn't resist ;)  On 4/28/06, Joseph Potenza <[EMAIL PROTECTED]> wrote: Well I knew you were, lolLooking forward to meeting you.  I'll make sure to run into ya and s

Re: [Rails-spinoffs] The Autocompleter, with scrollable result-div

2006-04-24 Thread Ed C.
+1   (Tested successfully in IE 6)  On 4/20/06, Tommy Skaue <[EMAIL PROTECTED]> wrote: Hi everyoneIf you've seen this ticket, http://dev.rubyonrails.org/ticket/4782 ,you've noticed I have tried to make scrollable autocompleter work. ThescrollIntoView works great, however the iframefix for IE didnt

Re: [Rails-spinoffs] Effect.toggle error in 1.6.1

2006-04-07 Thread Ed C.
The Element object is extend()'d in Prototype 1.5, so instead of doing "Element.meth(element)" you can do "$('id').meth()" On 4/6/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: I have this line of code:   new Effect.toggle(document.getElementsByClassName('modarea',Event.findElement (ev,'li')), '

Re: [Rails-spinoffs] Event.observe on IE

2006-04-05 Thread Ed C.
preventDefault() doesn't work in IE, you'd need to do "return false" which is wrapped nicely in Prototype. I think you could replace:   "if ( event.preventDefault ) event.preventDefault();"   with:   "Event.stop(event);"   ?  On 4/3/06, Bill Moseley <[EMAIL PROTECTED]> wrote: On Mon, Apr 03, 2006 a

Re: [Rails-spinoffs] Netvibes.com / Scriptaculous

2006-02-15 Thread Ed C.
d play around a bit more with it :-) > I would be happy, Ed, if you have already figured out those issues. > > greetings, > benni. > -SDG- > > > Ed C. wrote: >

Re: [Rails-spinoffs] Re: _marker in dragdrop.js

2006-02-15 Thread Ed C.
Take a look @ the source for "dragdrop.js" -- you'll see: 1) Marking is only enabled when ghosting is enabled. 2) The element with ID = "dropmarker" will automatically be shown & hidden. 2a) If that element doesn't exist, an empty DIV will be created for you. 3) The dropmarker element will automat

Re: [Rails-spinoffs] Scrollbar in Autocomplete List

2006-02-13 Thread Ed C.
You should be able to add "overflow:scroll;" style to your autocomplete list container (div) On 2/14/06, Ignacio Sandejas <[EMAIL PROTECTED]> wrote: > Hi all, > > Firstly is there a way to search the archives? > > Second I was wondering if there is a way to implement a scrollbar on the > list that

Re: [Rails-spinoffs] Netvibes.com / Scriptaculous

2006-02-13 Thread Ed C.
r). You can use the sortable options to allow them to be > dragged/dropped between lists. Check out the tests and you'll find its > pretty much cut-n-paste to get at least the basic functionality, if not the > AJAXing behind the scenes for loading the content. > > -Jerod > > &

Re: [Rails-spinoffs] Netvibes.com / Scriptaculous

2006-02-13 Thread Ed C.
I've been tasked with creating an "at-a-glance" report, ie dashboard, with 'widgets' for top-n recent orders, current users, most recent order, etc. How can I get scriptaculous's Sortables to behave similarly? Or should I be looking into using the Draggables & Droppables directly? On 2/13/06, Dan

[Rails-spinoffs] Netvibes.com / Scriptaculous

2006-02-13 Thread Ed C.
Hi list, Is it possible to create a "dashboard" type application, like Netvibes.com, w/ script.aculo.us? ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Ed C.
Just include the ( and ) parens in your X-JSON header string. On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > > On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote: > > > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > > > > Here's the page: htt

Re: [Rails-spinoffs] inPlaceEditor ISSUES!

2006-02-09 Thread Ed C.
ce:' + $F('sid') + '&id=' + $F('account_name_id')+ > '&page='+ myid + '&mytab=' + mytab, { > rows:1, > size:mylength, > ajaxOptions: {method: 'get'} //override so we can use a static > for the result

Re: [Rails-spinoffs] inPlaceEditor ISSUES!

2006-02-09 Thread Ed C.
Can you show us your code? On 2/9/06, Deco Rior <[EMAIL PROTECTED]> wrote: > This should be the case. I am using getElementsbyClassName to get the > id's. > > Deco > On Feb 9, 2006, at 7:09 PM, Ed C. wrote: > > > Only call the "new Ajax.InPlaceEditor&quo

Re: [Rails-spinoffs] inPlaceEditor ISSUES!

2006-02-09 Thread Ed C.
Only call the "new Ajax.InPlaceEditor" once per editable field, like when the page first loads. Example: some silly text new Ajax.InPlaceEditor(..., 'name_editable', ...); On 2/9/06, Deco Rior <[EMAIL PROTECTED]> wrote: > I have run into a problem that I have never created before. I am > using t

Re: [Rails-spinoffs] Autocompleter Request depends on other field

2006-02-09 Thread Ed C.
+ encodeURIComponent($F(__dyp));} //  Then, in my Autocompleter options parameter, I added:   { dynamParams: 'username'  }  On 2/9/06, Todd Ross <[EMAIL PROTECTED]> wrote: On 2/9/06, Ed C. <[EMAIL PROTECTED]> wrote:> (I tried adding "parameters: $F('username&

[Rails-spinoffs] Autocompleter Request depends on other field

2006-02-09 Thread Ed C.
Hi list,   First, I have a textbox "username". I also have an Autocompleter'd textbox called "products".   Is there a "built in" way to have the Autocompleter's Ajax Request pass the value in the "username" field ?   (I tried adding "parameters: $F('username')" to the Autocompleter's options, but,

Re: [Rails-spinoffs] InPlaceEditor - IMG for OK / Cancel?

2006-02-08 Thread Ed C.
It's on the Wiki ... http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor On 2/8/06, Todd Ross <[EMAIL PROTECTED]> wrote: > Do either of you have a sample (live site) using InPlaceEditor? I've > never used it and I don't see a demo on http://script.aculo.us/. > > Todd >

Re: [Rails-spinoffs] InPlaceEditor - IMG for OK / Cancel?

2006-02-08 Thread Ed C.
ier. > > Deco > On Feb 8, 2006, at 2:31 PM, Ed C. wrote: > > > Hi all, > > > > Is it possible to use images instead of plain text for the "OK" and > > "Cancel" controls? > > > > Thanks, > > Best Regards, > > EJC

[Rails-spinoffs] InPlaceEditor - IMG for OK / Cancel?

2006-02-08 Thread Ed C.
Hi all,   Is it possible to use images instead of plain text for the "OK" and "Cancel" controls?   Thanks, Best Regards, EJC ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Ed C.
First, the Client must call Ajax.Request   Then, the server must set an HTTP Header called "X-JSON" -- this will contain your json string.   Then, the client's Ajax Callback will contain a 2nd parameter container the JSON object.   Ex:   new Ajax.Request("json_folders.asp?p=" + escape(fullPath), {o