similar to: base Event.Observe question

Displaying 20 results from an estimated 5000 matches similar to: "base Event.Observe question"

2007 Feb 23
4
Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hello Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email
2007 Jul 19
3
InPlace[Collection]Editor rewrite: it's in trunk!
Hi all, For those of you who don''t follow Thomas Fuch''s blog, know that a complete rewrite of InPlaceEditor / InPlaceCollectionEditor just made it into the trunk. You''ll find all the juicy details on Thomas'' post: http://mir.aculo.us/2007/7/17/in-place-editing-the-summer-2007-rewrite Do note that this is my rewrite, so if you find bugs etc., don''t
2007 Feb 23
7
Vanishing Globals
Gents, I have what I thought was a simple scenario, but IE seems to have found a way to make it difficult: I am creating pairs of drop-downs of times of the day (9:00, 9:15, ...) on the fly (using AJAX) and want to be able to adjust the displayed difference between them in hours onChange and store this information in a global hash. Straightforwardly enough, I simple use Event.observe to set up an
2007 Jun 09
23
hoverclass on droppable zone
Hi guys, I''m trying to make a drag''n''drop portal using sortable element. I would like to apply the "hoverclass" option only on the droppable zone instead of the column border. Any idea a about the solution? Thanks for any help, Sabri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2007 Jul 10
9
Other parameters on InPlaceEditor
Hi to all, I have a doubt on like passing other URL parameters to InPlaceEditor function. For Ajax.Updater I can use "parameters:", but for InPlaceEditor (or InPlaceCollectionEditor) I cannot use "parameters". How I make to pass other parameters to the page that callback? A sample code: ---------------------------------- var editor= new Ajax.InPlaceCollectionEditor(el, url,
2007 Jun 09
4
Prototype Question
I''m trying to apply a css class to all LI elements that are children of an element with the ID "idSelector". This is what I did and it works. But I was wondering if there was an easier way without having to use an anonymous function? $$("#idSelector li").each(function() { arguments[0].addClassName("myClass") }); Thanks in advance.
2007 Feb 18
11
Tabulation with ENTER key
Dear all, I think this can be interesting for others too. For a while I tried to solve that problem - how to tabulate with ENTER/RETURN key too and not only with TAB. You know the problem - you are entering a lot of numbers from numeric keypad but you need to go far left to press TAB. This prevents one-hand data entry and prohibits web apps to be used by accountants, for instance. Here is a
2007 Jan 26
3
Newbie question.
Sorry for my ignoreance I''m kind of new to this.... I have a requirement for a page that essentially consists of three "DIVS". DIV1 - This is static, it has a bunch of links that initiate a AJAX request to populate DIV2 DIV2 - Populated as a result of a request initiated from DIV1. - This needs to have further links that will initiate a AJAX request to populate DIV3.
2007 Feb 02
2
Quick Element.getElementsBySelector() question
Hi, Does this code should works ? elm.getElementsBySelector(''UL.class1 > LI.class2''); I have an error caused by "UL.class1 > LI.class2" - Does CSS Selector ">" works ? - What is the exact ? may be "UL.class1>LI.class2" Regards, -- Jean-Philippe Encausse - R&D Jalios SA Jp [at] encausse.net - http://www.encausse.com -
2007 Apr 13
2
Sortable - Droppable interaction
Hi there, I''m started to use scriptaculous yesterday and it''s really great. Hovever, there is one problem that I cannot solve: I have a page with a sortable list and a droppable "trash can". I would like to drag and drop items between the list and the trash can, but it don''t work. Which options should I set to make it works correctly? Thanks!
2007 May 06
2
prototype setStyle (background-image) relative url problem
Hi there, hope I can explain this one! When I try to use a setStyle call and set the backgroundImage property of an element, I''m having some problems using a relative URL. my directory structure is this: SERVER_ROOT/context/javascript/tree.js SERVER_ROOT/context/style/tree/tree.css SERVER_ROOT/context/images/node_icons/open.png SERVER_ROOT/context/images/node_icons/closed.png in my
2006 Sep 14
10
scriptaculous Toggle Appear rate
I have the following code to toggle a basic appear of a div: <a href="#" onclick="Effect.toggle(''d3'',''appear''); return false;">Toggle appear</a> I want to edit the rate in which the effect runs. I can''t for the life of me figure it out. I would like to make the effect complete faster, like .5 seconds. I''ve
2006 Oct 27
16
Returning coordinates of a draggable?
How difficult would it be to get the x and y coordinates returned of a draggable? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2008 Jan 31
7
Ajax.InPlaceEditor via PHP via prototype widows class = HELP :-)
my window comes up fine and builds a page from some PHP which is all kosher. this is what the source of the "window" looks like: ----------------------------------------------------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2007 Jun 11
2
Column sort of checkboxes
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I''ve gleaned a lot of good advice from reading this group and I''m hoping for more
2007 Jun 22
2
Waiting For Completion
I am writing an application that will display a series of images. When a link is clicked the images will fade away, and new images will fade in. I am starting by trying to simply fade the images out then back in through a function: function ChangeImage() { Effect.BlindDown(''MyElement'',{duration:0.5}); Effect.BlindUp(''MyElement'',{duration:0.5}); } This
2007 Jun 26
5
Migration of Effect from 1.4.0 to 1.5.1
Hi, Is there migration for custom Effect between prototype/scriptaculous 1.4 and 1.5 ? Kevin Davis send me it''s cool Poof Effect but it seems to be tooooo fast in last version of scriptaculous. I think it comes from the code ? But I don''t know the best way to correct that ? Here is a copy/past of his mail for anybody interested in his Effect: > > Hey there, sorry for
2007 May 15
9
NS_ERROR_NOT_AVAILABLE
Exception:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: prototype.js :: anonymous :: line 920" data: no] Hi, i read about this problem and i know, that calling nsIXMLHttpRequest.status causes it. prototype has a try-catch-block
2006 Sep 30
3
Builder.node, each() and Event.observe - Help!
Hi all I am trying to get the following code working but somehow it doesn''t.. Please help me. ------------ snip --------- Ajax.Request(''/json/images/''+query, { onComplete:function(xmlhttp,json) { if(json.TotalResults != 0) { json.Item.each(function(item) { $(''out'').appendChild(
2007 Apr 04
2
Is Element in Viewing Range
How could I tell if an element is visible? Not visible as in the css display property, but visible in the browser''s clipping area. So if I had a long list of columns and wanted to know if the user has to scroll horizontally to see the last one. Thanks! Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google