[Rails-spinoffs] How to stop Periodical.Updater

2006-11-03 Thread Deco Rior
I have a page where I use Ajax.Periodical.Updater to check the status of an operation. But how do I stop this event from executing once I am done? Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org

Re: [Rails-spinoffs] OT: Debugging iBook --- help

2006-06-23 Thread Deco Rior
Webkit is a better safari debugging environmentOn Jun 23, 2006, at 9:59 AM, Ken Snyder wrote: Also I find the hack below quite nice for debugging every once in a while regardless of the browser: if( !confirm(debugging info) ) halt; “halt” throws a parse error only if you press cancel on the confirm

Re: [Rails-spinoffs] scriptaculous question

2006-06-21 Thread Deco Rior
afterUpdateElement: updateHidden });new Ajax.Autocompleter('rep','updaterep','', {paramName: "q",minChars: 1, afterUpdateElement: updateHidden }); On 6/21/06, Deco Rior <[EMAIL PROTECTED]> wrote: Are you okay now, or do you need the example?DecoOn Jun 21,

Re: [Rails-spinoffs] scriptaculous question

2006-06-21 Thread Deco Rior
org Subject: Re: [Rails-spinoffs] scriptaculous question  Can this be done through prototype or scriptaculous, or would i have to get another ajax js libraray and add that? On 6/21/06, Deco Rior < [EMAIL PROTECTED]> wrote:Yes, The easiest way is to execute another function onUpdate that p

Re: [Rails-spinoffs] scriptaculous question

2006-06-21 Thread Deco Rior
Yes, The easiest way is to execute another function onUpdate that populates the data, by executing another AJAX call That is, Do the autocomplete, and on update execute an ajax call to find the address data and populate the appropriate form fields. Deco On Jun 21, 2006, at 12:54 PM, Dall

Re: [Rails-spinoffs] Javascript Profiler

2006-05-15 Thread Deco Rior
Like Venkmann? I reads somewhere it can do this? On May 15, 2006, at 5:24 AM, Maninder, Singh wrote: Has anyone implemented a Javascript Profiler based on prototype (or not based on it)? ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrail

Re: [Rails-spinoffs] inPlaceEditor and onClick Event

2006-05-08 Thread Deco Rior
The inPlaceEditor has an externalControl option if I remember. Set this to the id of the item that will trigger the editor. Deco On May 8, 2006, at 6:55 AM, Grzesiek Slusarek wrote: Hi all. I have specific situation that I want to made element to be edited in place (i mean I want to wrapped

Re: [Rails-spinoffs] Form.serialize problem

2006-04-21 Thread Deco Rior
The form parameters must be name(d) i..e id is not enough Deco On Apr 21, 2006, at 9:11 PM, Matt Grommes wrote: I'm sure I'm missing something dumb but I cannot get Form.serialize to work. I have an alert in the function as a debug to show me what's supposed to be the serialized line of

Re: [Rails-spinoffs] Re: RE: File upload progress bar

2006-04-09 Thread Deco Rior
We use the lasso development environment. But I think the approach is general. We set a session variable on the page that launches the activity. The server side updates this variable as a percentage as it performs the activity. Then we sue AJAX.periodical to check the value for this var

Re: [Rails-spinoffs] safe to compact?

2006-04-08 Thread Deco Rior
There are a number.PAcker from codethat.com is one commercial one.On Apr 8, 2006, at 6:37 AM, Roberto Saccon wrote:Thanks for the link, I just tried it out. It seems to take out whitespaces and comments, but is not "intelligent"Is anybody aware of a JS compressor which ofuscates by replacing variab

[Rails-spinoffs] Ajax inPlaceCollectionEditor

2006-04-03 Thread Deco Rior
How to I get the value passed back to me into a script? And why does evalscripts not work with this function? Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

[Rails-spinoffs] evalscripts and inPlaceEditor

2006-04-03 Thread Deco Rior
I am looking to execute some javascript after the inPlace editor has executed. That is I want to execute a script on my server side as the result of enterin gtext. I added evalscripts to the inPlaceEditor call, but did not get a response. Is this possible? Deco ___

[Rails-spinoffs] Autocompleter

2006-03-29 Thread Deco Rior
What is the best way to show that Autocompleter is searching for the dropdown list. It is taking several seconds to load the list deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/r

Re: [Rails-spinoffs] InPlaceEditor convertHTMLLineBreaks

2006-03-27 Thread Deco Rior
Can someone explain what *convertHTMLLineBreaks* does? I could not find it in the docs! Does this actually take line breaks that you type into the text area and convert them?? Deco On Mar 27, 2006, at 12:27 PM, Jamie Orchard-Hays wrote: I'm curious if anyone else has a need to disable *

Re: [Rails-spinoffs] Javascript Code inside an Ajax response

2006-03-21 Thread Deco Rior
Sounds to me like one of your other scripts had an error in it causing the follow-on text to fail. It happens! Deco On Mar 21, 2006, at 8:22 PM, Guillermo Movia wrote: Thanks to all for your help. At last, i could make it work, banning all other scripts of java of the response. Maybe somethi

Re: [Rails-spinoffs] Javascript Code inside an Ajax response

2006-03-21 Thread Deco Rior
why are you not using function ultima2(){ } no semicolon at the end On Mar 21, 2006, at 3:08 PM, Todd Ross wrote: On 3/21/06, Guillermo Movia <[EMAIL PROTECTED]> wrote: ultima2 = function() { var ultimaNoticia = 677; $('lastStory').innerHTML = ultimaNoticia; }; Try window.ultima2 = functi

Re: [Rails-spinoffs] Javascript Code inside an Ajax response

2006-03-21 Thread Deco Rior
tima2() doesn't call the Ajax.Updater, it comes in the response, but nothing else. The button also came in the response. Which is the way to use this function? Guillermo 2006/3/21, Deco Rior <[EMAIL PROTECTED]>: It looks like it is not recognizing the calling function "utlim

Re: [Rails-spinoffs] Javascript Code inside an Ajax response

2006-03-21 Thread Deco Rior
It looks like it is not recognizing the calling function "utlima2" Also the utima2 never calls the Ajax.Updater?? Deco The pr On Mar 21, 2006, at 2:40 PM, Gregory Hill wrote: Does your response have tags around the script? evalScripts looks for that and runs any code inside

Re: [Rails-spinoffs] Javascript Code inside an Ajax response

I would kill the comma after the true. Not sure if this is an issue, but evalscripts works all the time for us! Deco On Mar 21, 2006, at 1:00 PM, Guillermo Movia wrote: Hi, i wish to run a function that came inside my Ajax response. I read that i have to use the evalScripts to make this, but

Re: [Rails-spinoffs] [prototype] how i send Dynamic form field values??

I think that the input values need "names" Also check that you did not introduce a On Mar 9, 2006, at 11:31 AM, Robin Haswell wrote: I've definitely made this work before, I think you should inspect your application closer for bugs. Got a demo? -Rob Renso Vargas wrote: I want to know how

Re: [Rails-spinoffs] Calendar widget

Thanks for clearing that up. For some reason I had it down as needing a license, and had decided against using it. The new yahoo calendar has problems in Safari Deco On Feb 27, 2006, at 12:55 PM, Ryan Gahl wrote: Oh, he was talking about that one... yea that's pretty much free, we've been

Re: [Rails-spinoffs] Calendar widget

Just a note: The calendar below must be purchased from Zapatec for commercial use. Deco On Feb 27, 2006, at 12:21 PM, Whitcraft, Jon wrote: Here is an awesome calendar that I use. http://www.dynarch.com/projects/calendar/ Jon Whitcraft Web Application Developer Online Services - Indianapol

Re: [Rails-spinoffs] [PATCH] Allow generic autocompleter (Ajax.Watcher)

Do have an example for this On Feb 13, 2006, at 10:10 AM, Robin Haswell wrote: Hey. Below is a patch to allow generic Ajax.Autocompleters. Basically it's for people who wanna be able to watch an input for changes, but don't want it to pop up an autocompleter box below. Useful for live previews,

Re: [Rails-spinoffs] Insertion.top & tables

bles Maybe I'm mistaken, but I don't think putting a div inside a table is valid HTML. You should probably use a tbody element. Greg -Original Message- From: [EMAIL PROTECTED] [mailto:rails-spinoffs- [EMAIL PROTECTED] On Behalf Of Deco Rior Sent: Monday, February 13, 2006 8:5

[Rails-spinoffs] Insertion.top & tables

I have had trouble making Insertion.top work with tables I would like to do something like First entry Second entry so that Insertion.top inserts the new row above the first entry. So far this has not worked. Has anyone else tried this? Deco ___

Re: [Rails-spinoffs] inPlaceEditor ISSUES!

nce of the InPlaceEditor is created. So, 4 clicks = 4 in place editors. You don't want to do it onclick, you want to do it once per element when the page loads. On 2/9/06, Deco Rior <[EMAIL PROTECTED]> wrote: Any help is appreciated. The page this is on gets loaded via an ajax c

[Rails-spinoffs] Stopping an observe event

If I want to stop observing a div Is this the format? Event.stopObserving($(''mydiv'),'click'); Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] inPlaceEditor ISSUES!

page='+ myid + '&mytab=' + mytab, { rows:1, size:mylength, ajaxOptions: {method: 'get'} //override so we can use a static for the result }); } On Feb 9, 2006, at 7:22 PM, Ed C. wrote: Can you show us your code? On 2/9/06, Deco Rior <[E

Re: [Rails-spinoffs] inPlaceEditor ISSUES!

'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 the scriptaculous inPlaceEditor If I hit the cancel button, and rehit the editor it then creates two textboxes, and if I repeat three inp

[Rails-spinoffs] inPlaceEditor ISSUES!

I have run into a problem that I have never created before. I am using the scriptaculous inPlaceEditor If I hit the cancel button, and rehit the editor it then creates two textboxes, and if I repeat three input boxes, etc.! Must be stupid simple, but I AM STUMPED! DECO

Re: [Rails-spinoffs] Draggables and Droppable performance (tips)

I have run into a problem that I have never created before. I am using the scriptaculous inPlaceEditor If I hit the cancel button, and rehit the editor it then creates two textboxes, and if I repeat three input boxes, etc.! Must be stupid simple, but I AM STUMPED! DECO

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

Yep weird isn't it! I will try the patch On Feb 8, 2006, at 7:58 PM, Todd Ross wrote: 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/. Nevermind. I found tha

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

tomorrow what happened. Deco On Feb 8, 2006, at 4:26 PM, Ed C. wrote: Can you be more specific? For example, when I tried: cancelText: "img tag here" It displayed the HTML Escaped text, and not the img ;) On 2/8/06, Deco Rior <[EMAIL PROTECTED]> wrote: The image for the ok bu

Re: [Rails-spinoffs] JSON and scriptaculous

etc. or am I still missing it? Of course I can do it myself...but :-) Deco On Feb 8, 2006, at 5:20 PM, Jeremy Kitchen wrote: On Wednesday 08 February 2006 14:36, Deco Rior wrote: I was thinking of data manipulation libraries. sorts, inserts, etc. I have not used prototype for this since it

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

The image for the ok button was easy if I remember, but the cancel was a little trickier. 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 ___

Re: [Rails-spinoffs] JSON and scriptaculous

I was thinking of data manipulation libraries. sorts, inserts, etc. I have not used prototype for this since it seemed more like div manipulation, etc. I will have to read the docs a little more! Deco On Feb 8, 2006, at 3:01 PM, Todd Ross wrote: On 2/8/06, Deco Rior <[EMAIL PROTEC

Re: [Rails-spinoffs] JSON and scriptaculous

ect = json.yourJsonObject }  On 2/8/06, Deco Rior <[EMAIL PROTECTED]> wrote: Thanks,Does anybody know how this works?DecoOn Feb 8, 2006, at 2:02 PM, James Marca wrote: > At approximately Wed, Feb 08, 2006 at 08:03:20AM -0700, Deco Rior> wrote:>> I read somewhere that scriptacul

Re: [Rails-spinoffs] JSON and scriptaculous

Thanks, Does anybody know how this works? Deco On Feb 8, 2006, at 2:02 PM, James Marca wrote: At approximately Wed, Feb 08, 2006 at 08:03:20AM -0700, Deco Rior wrote: I read somewhere that scriptaculous has some support for JSON. Can anyone point me to where this might be? prototype.js

[Rails-spinoffs] JSON and scriptaculous

I read somewhere that scriptaculous has some support for JSON. Can anyone point me to where this might be? Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] help with syntax

If I drop an image onto a textarea is there any easy way to determine the text position that the image was dropped on? Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinof

Re: [Rails-spinoffs] Combine Ajax call with an effect.

Hi, Steve: replace the inline onmouseover and onclick with Event.observe to start. Your getDescription([field:'id'] square brackets should be surrounded in quotes i.e. getDescription('[field:'id']') This group not be familiar with lasso syntax :-) Deco On Feb 1, 2006, at 1:04 PM, Stev

[Rails-spinoffs] AJAX.PeriodicalUpdater

Hi, I was going to use the AJAX.PeriodicalUpdater to implement a progress bar. However, how do I send a command to stop it from executing on completion (i.e. reaching 100%) Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org

[Rails-spinoffs] [OT] Wow! Ajax bandwidth results

This is from the macrumors site that posted the macworld update:"In short, we peaked at approximately 103,000 simultaneous web visitors and over 6,000 IRC viewers during the keynote speech and consumed over 32 GB of bandwidth during the three hours surrounding the event. (For those interested, a no

Re: [Rails-Spinoffs] Ajax.InPlaceEditor

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] Good OOP and JS books / tutorials? Looking toteach my team

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

[Rails-spinoffs] Event.pointerX and Firefox

Is there a problem with Event.pointerX and Firefox? Safari and IE are working fine, but Firefox does not return a position. Also is there any way to get the position of the mouse click relative to the div that it was clicked in? Deco ___ Rails-spi

Re: [Rails-spinoffs] DataGrid (Table) using tables/Scriptaculous Sortable

Can't help you with a new mac! BUt glad to help... Deco On Jan 11, 2006, at 12:46 PM, Lindsey Simon wrote: Nice start! A few things: 1. On Safari the dragging seems to work intermittently. I can do some more testing, but it seems to have trouble dragging over the next column. 2. On Safari

Re: [Rails-spinoffs] DataGrid (Table) using tables/Scriptaculous Sortable

Nice start! A few things: 1. On Safari the dragging seems to work intermittently. I can do some more testing, but it seems to have trouble dragging over the next column. 2. On Safari it also caused my browser to quit! 3. The column sort would be better if it behaved like mochisort (At le

Re: [Rails-spinoffs] Getting the position of the draggable element?

ropon should be \'cart\':' + <A rel="nofollow" href="http://dropon.id">dropon.id</A>);alert(Event.pointerX(event)+", "+Event.pointerY(event));}}) <-- drag this!new Draggable('pr

[Rails-spinoffs] Getting the position of the draggable element?

Hi, everyone: I am starting with doing draggables, etc. I am looking at the droptest_5 example. How do I get back the final position of the dragged element in coordinates? Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org h

Re: [Rails-spinoffs] inPlace Editor

Thanks, I will try this out. Where is this documentation? The only problem may be that the values are not all in a form. Deco On Jan 9, 2006, at 1:30 AM, Maninder, Singh wrote: The call back function is after returning from the server. callback V1.5 function(form) {Form.serialize(form)}

Re: [Rails-spinoffs] inPlace Editor

Thanks, I may try this. I merely added it to the url for simplicity since I have to add my session information anyway. I just thought that I was missing it somewhere, since it must be a common problem. Deco On Jan 9, 2006, at 12:03 AM, Maninder, Singh wrote: How about something like this?

Re: [Rails-spinoffs] inPlace Editor

Maybe you can help. The call back function is after returning from the server. I want to sent more values to the server. Or is this a prototype thing? Deco On Jan 9, 2006, at 12:03 AM, Maninder, Singh wrote: How about something like this? Adding a callback... Hope this helps! Thank you, M

[Rails-spinoffs] inPlace Editor

HI, I am a new to the group. I have run into the following issue. The following works fine To be edited new Ajax.InPlaceEditor($('tobeedited'), '_ajax_inplaceeditor_result.html', {
ajaxOptions: {method: 'get'}
});


But I wan