search for: findel

Displaying 20 results from an estimated 22 matches for "findel".

Did you mean: finkel
2005 Nov 22
0
Element.findElement - confusion
Hello I''m kind of confused on how to use Element.findElement. I''ve something like this: if (Event.findElement(event,''A'')) { var elm = Event.findElement(event,''A''); alert(elm.nodeName); } else { alert(''no link''); } var elm = Event.findElement(event,''A''); al...
2006 Jun 16
4
Prototype $$() on arbitary DOM element ?
I am bit confused with this function. Should I be able to pass in a DOM element e.g. someAjaxRequest.responseXML and interrogate it ? Seems not but perhaps I am missing something... TIA Matt
2006 Jan 29
2
Questions about Sortable javascript
...he index of my O''Reilly book covering JavaScript 1.5 [2] I cannot find any of these methods .detect(), .findAll(), .reject?, Element.childrenWithClassName, $(), $A() Object.extend. Where is a good reference to these things? Are they JavaScript 1.6? 2) What is greedy refering to? 3) (this.findElements(element, options) || []).each is a JavaScript idiom to avoid problems when findElements returns null? 4) why unimplement tree? 5) what is overlap? 6) what is dropon? 7) Why the underscore in Sortable._marker 8) what are onEmptyHover and dropOnEmpty about? What is ''empty''...
2006 Jan 11
0
RE: Event.observer - unordered list problems
...dent number of mouseover events that can get fired (thus resetting the timer mechanism). It also requires you to keep track the mouseover state of your parent element. (Hopefully I''m using descriptive enough variable names so you can figure out what you need to do). You might use the Event.findElement() function in your case to get the reference to myParentElement. onMouseOver: function(event) { if (!myParentElement.hasBeenMousedOver) { // do mouseover stuff myParentElement.hasBeenMousedOver = true; setTime...
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...dent number of mouseover events that can get fired (thus resetting the timer mechanism). It also requires you to keep track the mouseover state of your parent element. (Hopefully I''m using descriptive enough variable names so you can figure out what you need to do). You might use the Event.findElement() function in your case to get the reference to myParentElement. onMouseOver: function(event) { if (!myParentElement.hasBeenMousedOver) { // do mouseover stuff myParentElement.hasBeenMousedOver = true; setTime...
2005 Jul 28
2
autocomplete: how to access a child element of <li>
...> element, which is a child of <li> in the autocomplete response, i.e: <div class ="autocomplete"> <ul> <li><a href ="overtherainbow.html">somewhere</a></li> </ul> </div> i thought i could do something like el = Event.findElement(event, ''LI''); href = el.firstChild.getAttribute(''href''); but that''s not it... if anybody can awake me from my dogmatic slumber, i will greatly appreciate it... all best, tench
2006 Apr 07
4
Effect.toggle error in 1.6.1
I have this line of code: new Effect.toggle(document.getElementsByClassName(''modarea'', Event.findElement(ev,''li'')), ''blind''); I''ve confirmed that the Effect.toggle is indeed getting the proper element, however, I''m getting this in my javascript console: element.visible is not a function (effects.js: line 153) I look at line 153 and see:...
2015 Jun 05
3
usar Selenium para web scraping
...(RSelenium) checkForServer() startServer() remDr <- remoteDriver(remoteServerAddr = "localhost" , port = 4444 , browserName = "firefox" ) remDr$open() remDr$navigate(precios) # buscar por id webElem1 <- remDr$findElement(using = 'id', value = 'cri1')
2007 Nov 28
0
Prototype 1.6: Selector.matchElements Issue?
I haven''t been able to find any discussion about this. It looks as if Selector.matchElements is broken (which means that Selector.findElement, Element.down(elt, cssselector) dont work properly. What I''m seeing is that (line 3310) the Selector.findElements is not called with the root node of the node you are wishing to find elements under (its not called with a parameter at all) - so down the call stack, the xpath is applie...
2005 Oct 21
1
Member Not Found
''ello all. I''m having problems with using Element.findElement from Prototype 1.3.1 Everything works great in Firefox, but when I switch over to IE, I get a "member not found" error. I can''t figure out if it can''t find the event object anymore or if it can''t find the tag as it walks up the dom. Has anyone else ran int...
2006 Feb 01
1
Sortable onUpdate problem
...n of Sortables to call a function that will delete and then recreate all of the draggables and droppables with all the same options. My function and it''s various attempt statements is below. Any ideas? Thanks, Peter function homogenize(element, options){ element=$(element); Sortable.findElements($(element), options).each(function(k){ Draggables.removeObserver($(k)); Draggables.unregister($(k)); Draggables.deactivate(k); new Draggable(k,options); Droppables.remove($(k)); Droppables.add(k, options); }); } // homogenize
2015 Feb 16
3
consultas formularios web
Estimados Les consulto por lo siguiente, incluso creo que de esto se habló en una oportunidad en esta lista, por ese motivo cualquier sugerencia es bienvenida. Hay algo de información que me hace falta para un trabajo, pero esta no es de una única fuente, y desconozco si brindan los registros, pero lo que es accesible son los sitios web donde estas fuentes publican un formulario HTML simple,
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...if(this.observer) clearTimeout(this.observer); - this.observer = + this.observer = setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); }, @@ -170,35 +170,35 @@ Autocompleter.Base = Class.create({ onHover: function(event) { var element = Event.findElement(event, 'LI'); - if(this.index != element.autocompleteIndex) + if(this.index != element.autocompleteIndex) { this.index = element.autocompleteIndex; this.render(); } Event.stop(event); }, - + onClick: function(event) { var element = E...
2015 Jun 05
2
usar Selenium para web scraping
...<- remoteDriver(remoteServerAddr = "localhost" > , port = 4444 > , browserName = "firefox" > ) > > remDr$open() > > > remDr$navigate(precios) > > # buscar por id > webElem1 <- remDr$findElement(using = 'id', value = 'cri1') > > _______________________________________________ > R-help-es mailing list > R-help-es en r-project.org > https://stat.ethz.ch/mailman/listinfo/r-help-es > -- Saludos, Carlos Ortega www.qualityexcellence.es [[alternative H...
2007 Dec 21
5
dom movement methods, unattached objects
Hey guys I have a bunch of element fragments (ie this might be a div, with children of an image, another div) etc which aren''t attached to the document yet.. and can''t seem to call the dom manipulation methods on them: down(''img.icon'') returns undefined but if I look at the innerHTML of the element, there is clearly an image there with that class. Is this is
2006 Feb 27
11
Disabling anchor clicking in a draggable
Hey guys I have an interesting problem - I have some draggable elements (sortable actually), with links (<A>) inside them. I want the user to be able to click on the link, however if the user drags the element I don''t want the link to get fired. Can anyone think of a way to do this? It only needs to work in Firefox. Cheers -Rob
2006 Apr 09
0
Form.EventObserver Incorrect?
...he case where it''s more important to know the form element. You could just pass the Event object itself (which would be much more useful) and easily get both the Form element or the element that triggered the event. Event.element(event); //Gets the event that fired the callback Event.findElement(event, ''form''); //Gets the form whose element triggered the event Am I just misinformed about Form.EventObserver? Thanks, -Justin Palmer ---------------------------------------------- Encytemedia.com Professional User Interface Design for Rails Applications
2005 Aug 12
1
Ghostly bug in sortables
When a sortable has ''ghosting'' enabled, it seems to include the dragged element twice in the list which is submitted in the onUpdate AJAX request. By the looks of it, it''s appended onto the end of the list when Sortable.serialize is called. IE in the following list: - 1 - 2 - 3 If I drag 3 to be at the top, what we expect is: [3, 1, 2] What we get is: [3, 1, 2, 3]
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2008 Jul 01
4
Positioning Oddities
I''m having some trouble using Element#cumulativeOffset and Element#cumulativeScrollOffset to absolutely position an element right under a link in certain browsers. I made a couple of tests to illustrate the issue, which can be found here: http://www.jeffreykeen.com/sandbox/position. But in summary, I''ve found two cases which seem to be problematic. 1. If the link has a