[Rails-spinoffs] Autocomplete does not display choices on Firefox

2007-08-23 Thread paolo di tommaso
This works fine for me in IE but in firefox but the autocomplete_choices stays hidden (style is display:none). I see that the response from the server and the div is populated. If I use firebug to change the style to display:inline I can see the results. I'm using Prototype 1.5.1.1 Scritacolous

[Rails-spinoffs] Re: Multiple Ajax.Request calls fail after first call

2007-08-23 Thread Walter Lee Davis
Does the problem follow you to Firefox? Can you post an example of the problem live somewhere? Thanks, Walter On Aug 23, 2007, at 10:00 AM, RussellZ wrote: I turned off caching completely (ie dev toolbar) and still get the error --~--~-~--~~~---~--~~ You

[Rails-spinoffs] Sortable bug on IE

2007-08-23 Thread George Maicovschi
I am using sortables on a project of mine and I get an error on Internet Explorer when calling Sortable.create() for a second time in order to include the freshly-added elements in the sortable. This is my code: Sortable.create('toolbar',

[Rails-spinoffs] Draggable on IE Opera

2007-08-23 Thread Rauan Maemirov
Hi, all! Have anybody problems with draggable in IE and Opera. The problem is i'm creating simple draggable object like this: new Draggable(my_div); In firefox it works very fine. But in IE when I'm moving(dragging) cursor div is stalling and drags very slow. and in Opera it keeping tracks

[Rails-spinoffs] ajax onFailure if site not found

2007-08-23 Thread joshi
I noticed that if I make an Ajax request with Prototype and the requested site isn't running any more at the time of the request, I will receive the onComplete event, but not the onFailure (or onSuccess) event. Is this the expected outcome? Shouldn't either onSuccess or onFailure be called no

[Rails-spinoffs] Adding new methods to Event.Methods

2007-08-23 Thread arobinson
I am able to add new methods to the Event object and Event.Methods object if necessary using Object.extend(Event, {methods...});, but they do not appear on the event object that the browser fires. Example (loaded after prototype.js): Object.extend(Event.Methods, { function testMethod (evt) {}

[Rails-spinoffs] Re: Multiple Ajax.Request calls fail after first call

2007-08-23 Thread RussellZ
The problem occurs in Firefox as well. The site is on a intranet that is not accessible to the public. I have other pages that are able to do multiple ajax calls without a problem. On Aug 23, 10:35 am, Walter Lee Davis [EMAIL PROTECTED] wrote: Does the problem follow you to Firefox? Can you

[Rails-spinoffs] Re: ajax onFailure if site not found

2007-08-23 Thread Simon
IMO, I would expect onFailure to be related to the HTTP errors 404,550, that Fails the HTTP request. onComplete would talk about the overall network connection which is closed after the timeout. Test for not onSuccess as error... Simon On 8/23/07, joshi [EMAIL PROTECTED] wrote: I noticed

[Rails-spinoffs] saving state?

2007-08-23 Thread [EMAIL PROTECTED]
Sorry, i'm new to javascript/ajax but how would i go about saving the state of a sortable element on page refresh? currently i have a menu that is sortable, so i can drag and drop it and then move it into a new position. however, i'm not certain how to save it. I would assume it would involve

[Rails-spinoffs] Re: saving state?

2007-08-23 Thread Brian Williams
ok, this will be kinda complicated if you want to do it right. First off, if you want it to remain static after its customized you'll need to store it in the db, but also you could store it as a cookie to prevent one extra table read per page when browsing your site. however, if you don't care

[Rails-spinoffs] Re: saving state?

2007-08-23 Thread Matt Foster
You'll want to use the onUpdate event in the Sortable class. I am pretty sure there are a bunch of serialize functions that you can use to stash data about a Sortable. You could put the serialized data into a cookie and parse it on window load to reoganize the sortables so they look just as the

[Rails-spinoffs] Re: Character # do not allowed in new prototype's version

2007-08-23 Thread Tom Gregory
On Aug 23, 2007, at 2:35 PM, [EMAIL PROTECTED] wrote: I use Ajax.Request, and in some params i have this character: # With v1.5.0_rc1 i have no problems. i receive the params in php same that i sended in javascript, but in this new version, when find this character, it cuts the string and

[Rails-spinoffs] Using Javascript to display information on clients page

2007-08-23 Thread junkmate
I am trying to get a system where a client includes one or two lines of Javascript in his page, and that code will grab dynamic data from my server and display it inline on his page. My code for the JS to include on the clients page is something like this: script type=text/javascriptvar

[Rails-spinoffs] Event.stop() and Safari 1.3.9 don't get along

2007-08-23 Thread Walter Lee Davis
I am using the latest 1.5.1.1 stable prototype, and a click observer added through $$('a.citation').invoke to all of the citations on this page: http://oll.libertyfund.org/index.php? option=com_staticxtstaticfile=advanced_search.php The page works perfectly in Safari 2 and Firefox 2, but

[Rails-spinoffs] Re: Event.stop() and Safari 1.3.9 don't get along

2007-08-23 Thread Walter Lee Davis
Forgot to add, you have to actually search for something in order to see them... On Aug 23, 2007, at 7:29 PM, Walter Lee Davis wrote: http://oll.libertyfund.org/index.php? option=com_staticxtstaticfile=advanced_search.php --~--~-~--~~~---~--~~ You received

[Rails-spinoffs] Re: Event.stop() and Safari 1.3.9 don't get along

2007-08-23 Thread Martin Bialasinski
On 8/24/07, Walter Lee Davis [EMAIL PROTECTED] wrote: The page works perfectly in Safari 2 and Firefox 2, but stubbornly navigates to the target of the link when clicked in Safari 1.3.9. My Event.stop() function (Prototype 1.4 based): stop: function(event) { if (event.preventDefault) {

[Rails-spinoffs] File_Column is not working properly

2007-08-23 Thread atit shah
I am using file_column to upload my files. Most of the times its updating files but sometime when i click on attache it give page can not be displayed. Can anyone please guide what can be the cause for this? Thanks Atit --~--~-~--~~~---~--~~ You received this

[Rails-spinoffs] scripatculous sliders hidden

2007-08-23 Thread Jean-Sébastien
scripatculous sliders are disabled when the slider element is hidden on page load. Does anyone know how can i fix it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Spinoffs group. To post to this

[Rails-spinoffs] Re: Event.stop() and Safari 1.3.9 don't get along

2007-08-23 Thread Walter Lee Davis
I have this limping along as follows: var cit_this = function(evt){ Event.stop(evt); var me = Event.findElement(evt,'a'); var uri = me.href.substr(27).split('/'); if(Prototype.Browser.WebKit == true){ me.href=javascript:;;} new Ajax.Updater(me.parentNode,

[Rails-spinoffs] You a condom tester? Durex wants you:

2007-08-23 Thread CANE20043 ANAMIKA
*You a condom tester? Durex wants you:http://tomorrowsmedicinetoday.blogspot.com/2007/08/you-condom-tester-durex-wants-you.html * *International prophylactic maker Durex is hunting for 500 condom testers in Thailand to assure that its products are providing end-user satisfaction, media reports

[Rails-spinoffs] Mysql backup

2007-08-23 Thread Prashanth
hi, I want to take a automatic incremental mysql backup whenever there is a insert or update happening to the database but i dont like to schedule the process(something like every hour or day). Is there any tool or script through which i can achieve this? -- regards, Prashanth