similar to: cleanWhitespace and parentNode

Displaying 20 results from an estimated 3000 matches similar to: "cleanWhitespace and parentNode"

2006 Jun 24
4
Correct syntax for using the Effects Queue ?
this works: onclick=''new Effect.Scale(this,50);'' but this does not: onclick=''new Effect.Scale(this,50,{queue:front}); new Effect.Scale (this,200,{queue:end});'' what is the correct syntax for using queue ? many thanks as I have just started wrapping my head around scriptaculous g
2006 May 26
4
stopping effects, help me again please
Hi * and thanks for you responses some body help me stop effect, just last effect. Thanks! to somebody help me with: Pulsator = Class.create(); Pulsator.prototype = {initialize: function(element) { this.stopped = false; new Effect.Pulsate(element, { afterFinish: this.action.bind(this) }); },action: function(element){if(!this.stopped) new Effect.Pulsate(element, { afterFinish:
2006 May 18
5
more that 5 time beats for effect.pulsate
hi again How can i extend 5 times for effect.pulsate beats? I need that continue beat until other event client happened about my other mail, is there other solution more elegant that this? : new Effect.Pulsate(leccion[i_leccion],{duration: 5,from: 1}); thanks again rag
2006 Jul 10
11
prototype hash method
var v1 = { a: ''value for a'', b:''value for b'' } var v2 = { c: ''value for c'', d: function(){some code...} }; var v3 = v2.merge(v1); I''m getting an error doing this... what is wrong?
2006 May 24
6
enumerables problem?
I was wondering whether anybody could please tell me why this is causing an error in IE (works in Firefox): $A(container.getElementsByTagName(''*'')).each( function(el) { Element.cleanWhitespace(el); }.bind(this)); What would be an alternative of achieving the same? Thank you Marco M. Jaeger | Url: http://mmjaeger.com <http://mmjaeger.com/> | E-mail:
2006 Mar 21
3
Autocomplete and WIKI
Two Questions: 1. Is the WIKI down? I can''t access it. 2. With the auto complete is there a way to have it display something but have a value of something else, the way a select box works. Thanks, <http://zend.com/zce.php?c=ZEND002524&r=212822110> Jon Whitcraft Indianapolis Motor Speedway jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org Phone: (317) 492-8623 ::
2006 Jan 28
2
How to cancel Ajax.Request?
Is there any way to cancel or stop an Ajax.Request that has not been completed?
2006 Mar 09
6
[Prototype] Ajax.Request include form fields?
Hi, Is it possible to submit my form (or part of my form) with an ajax request? I had been using dojo to do this, but having just read up on the prototype library, I think I''d rather use prototype. The one thing I don''t see (maybe I''m just missing it) is the ability to submit my form (actually just parse through an element and include all inputs as request parameters)
2006 Mar 22
4
Serialized form... problems with accents
Hi, I''m working on a french website and I use the Form.serialize method to send the info through AJAX. The thing is that the accentuated letters (é,ê,à, etc.) don''t get replaced by their HTML entities and they get corrupted when retrieving the data. How could I fix that? thanks a lot, Blaise Bernie
2006 Feb 02
8
this pointer in Event.observe function
Hello, please consider the following code example. It applies the onclick handler to all image tags, and through window.event it ensures that it works in IE too: -------------------------------------------------- var imgs = $(''foo'').getElementsByTagName(''img''); for(var i=0; i<imgs.length; i++) { // Apply onclick handler imgs[i].onclick=function() {
2006 Jun 20
5
Multiple Ajax.Request or Ajax.Updater
I''m having a problem with multiple Ajax.Updater instances. I have five small chunks of data being loaded into my homepage, and they seem to be firing off one at a time. So the pieces load up in the order they were called. Maybe I''m being a noob, but shouldn''t all those requests just fire away and then place the content as it gets received? I was doing multiple versions,
2006 Apr 07
6
ajax loading message
Hello, I''m looking for some help - I''m having problems in getting the loading message to disappear - sometimes it disappears, sometimes it doesn''t. This is the javascript I have: ajaxContent: function(iTabPos) { if (isNaN(iTabPos)) return false; var iTabIndex = this._posToIndex(iTabPos);
2006 Feb 14
5
Yahoo! User Interface Libraries
Yahoo! recently unveiled their UI Libraries which appear to provide a lot of the functionality that script.aculo.us and prototype does. I''ve tried some of the demos and the effects run quite smooth/fast. Could be an opportunity for us to adapt some ideas/approaches to improve. http://developer.yahoo.net/yui/
2006 Jun 29
11
Autocompleter without a default choice
Hi, I have an ajax auto completer for a text field in a form. All''s good. Unfortunately, I also want the form to be submitted when the user hits ''return'' in the text field. This combination of circumstances means that if the user is typing his entry and then hits return to submit it is possible that dang auto completer will pop up and complete his entry for even if he
2006 Jan 28
4
Unspecified error in prototype.js
Hi, 1. I have 2 panes, each having approximately 45-50 slides, all the slide images are 110x82 pixels in size, enclosed in their respective div''s. 2. These divs are further enclosed in a parent div, which is defined as a Sortable on page load. 3. There is a destination div on the RHS also. Sortable.create("div_leftDiv", {ghosting:true, revert: true, dropOnEmpty:true,
2006 Jan 31
5
resizing multiple images using getElementsByClassName
I am building a iPhoto like (Read rip-off) interface for thumbnails and I am having a couple problems that I thought some one on the list might be able to assist me on ... first off here is the page: http://v4.incontrolsolutions.com/galltest/ I am no Javascript whizz and I am sure there is a FAR more efficient way to do what I am trying. Having said that, the 2 things I was looking for
2006 Apr 24
5
merging one array into another
Is there no better way to merge one array into another than iterating over the array you wish to append with each() and push()ing the elements on to the other array? Here''s what I mean: var arr1 = [1, 2, 3, 4, 5]; var arr2 = [''a'', ''b'', ''c'']; $A(arr2).each(function(el) { arr1.push(el) }); Is there no better way to do it than this?
2006 Jan 23
6
Performance Issues with Autocompleter
Hi All, I am currently using script.aculo.us and Autocompleter for a project which I am dealing now. I faced a situation for which I couldnt find any solution and I could not see any reference regarding this issue in the enhancement/bug lists of script.aculo.us either. Autocompleter component is working perfectly, if the information returned from the server does not exceed ~1000 LIs.
2005 Jul 19
4
a frightfully newbish question about dragdrop.js
Hi folks, I''m in the process of updating a mostly-server-side web app to 21st century functionality, using the prototype.js etc packages. I''m mostly a server-side PHP guy, so please pardon the level of ignorance about Javascript. I''m having some strange problems, and right now, I''m trying to localize whether the problems are generic browser-things or whether
2006 Mar 28
1
prototype $A()
Thank you Ryah! With your answer I have been able to integrate Behaviour into a Prototype class. Thank you again!! Now I have a question related to prototype. It doesn´t transform single elements to an array? I have this code: var element = $("idDiv"); var array = $A(element); alert(array.length); the output is 0; with this one: var elements = $("idDiv", "idDiv2");