similar to: $$ is slooooow in IE

Displaying 20 results from an estimated 400 matches similar to: "$$ is slooooow in IE"

2006 Jun 21
3
getElementsByClassName
How should I expect the performance of this function to be? I wrote this code: function CreateTOC(){ var $aTOC = document.getElementsByClassName(''tocitem''); if(isArray($aTOC)){ $temp = ''<INPUT TYPE="SUBMIT" NAME="cmdSave_Update" VALUE="Close" CLASS="menubuttons"> ''; $temp += ''<INPUT
2006 May 30
4
Limiting getElementsByClassName to specific nodes and entities
I''m currently using "The Ultimate getElementsByClassName" (http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/) instead of the Prototype version. This version seems to be faster since it lets you specify the starting node and the type of entity. For example: var widgets = getElementsByClassName(document, "ol", "tree"); Is
2006 Nov 13
8
Problems with Prototype in script.aculo.us 1.6.5
Hi, When I''m using the Prototype version attached to script.aculo.us 1.6.5 (Prototype 1.5.0_rc1 revision [5462]) I get some "Object doesn''t support this property or method" in the Effect.BlindDown method (when the method tries to get the dimentions). If I''m using the version of prototype that was attached to 1.6.4 I do not get this error. Is this a known
2007 Feb 17
4
childrenWithClassName
Hi, i need some help :) Does anywhere exists a fix for a code (scheme) like this: ---------------- var blas = document.getElementsByClassName( ''foo-class'', ''foo-id'' ); blas.each ( function( bla ) { var subbla = Element.childrenWithClassName( bla, ''subbla-class'', true ); } ); -------------- This scheme worked well till script.aculo
2008 Apr 09
2
compilation from git failed
just done git-pull , during compilation, it said make[2]: Entering directory `/home/bill/wine-git/dlls/qedit/tests' ../../../tools/makedep -C. -S../../.. -T../../.. mediadet.c qedit.rc sound_test.avi: No such file or directory sound_test.avi was first included from qedit.rc:25 make[2]: [Makefile] Error 1 (ignored) ../../../tools/makedep -C. -S../../.. -T../../.. mediadet.c qedit.rc
2006 Mar 15
4
sub-selection with $
Hello, I have 2 navigations ( mainnav and subnav ) with 2 lists List have same names ( li0 li1 li2 ) What is the best way to select li1 of subnav with prototype 1.4 in this case ? I just want to hide/show it Thanks <div id="mainnav"> <ul> <li name="li0"><li name="li1"><li name="li2"> </ul> </div> <div
2006 Mar 16
20
help with each
can you please tell me why this is not working? i got the example for how to use each online and copied it to a t (except i added the if). its telling me items.each does not exist. var items = document.getElementsByClassName(''editView''); if (items.length > 0){ items.each(function (result){ thisid = result.id; thiskey = thisid.replace(/se_item_/gi, '''');
2005 Sep 25
2
Preventing/allowing exceptions to occur in Element.add/remove ClassName
Hello everyone ! Thomas asked me to discuss here the behavior of Element.addClassName, as relating to ticker #2232 [1]. In HEAD, if the element passed-in to Element.addClassName does not exist, an exception is thrown, and script execution stops there. I believe this is inconsistent with other functions: Object.extend(Element, { hasClassName: function(element, className) { element =
2006 Nov 03
4
Bug? IE, getElementsByClassName and "length"
So, I have this form/datagrid thing. I want to have a button that clears the fields (not a reset, which would set them to the default state, I want them blank.) For various reasons, getByClassName seemed the best way to deal with this. Everything was fine on Moz/Firefox. Safari seems fine. But IE... Some detective work later, it seems that the problem is caused by *another* field on the page.
2006 Feb 23
25
reloading fragments of pages
Hello, I have a treeview, that works with scriptaculous in order to load the nodes dynamically. I also have in the main part of the page, a table with the list of elements. The lists of elements can be drag-dropped on the treeview in order to move them around (they are also draggable on other parts of the page) I need though, to refresh the treeview to reflect changes when a folder was moved
2005 Dec 17
17
problems with quotes and escaping
First of all I''d like to say thanks for all the great work everyone has put into scriptaculous, I''m having a lot of fun playing with the framework, and easily moving into Web 2.0 territory. I''ve just hit a snag on my project though. So here''s my code: ... var newEvent= "<div
2006 Feb 09
6
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
2006 Apr 17
2
RE: document.getElementsByClassName (prototype) andElement.childrenWithClassName (scriptaculous) redundancy?
Isn''t the difference that the scriptaculous one only gets child nodes from the node you specify, whereas the prototype one gets all in the entire document? Still, it would be nice to just have the one, and let you pass in the document element if you wanted all of them. Just guessing, really. I haven''t looked at the code in question. Greg > -----Original Message----- >
2006 Jun 20
4
Prototype Array bug??
function CreateTOC(){ var $aTOC = document.getElementsByClassName(''tocitem''); var $temp = ''''; if(isArray($aTOC)){ for($t in $aTOC){ $temp += ''t='' + $t + '', '' + $aTOC[$t].name + ''<BR>''; } $(''test1'').innerHTML = $temp; } } When I run this code
2006 Jun 02
2
Group checkbox toggling
This isn''t really a scriptaculous question, but it might be interesting anyway. I''m generating a rails app and in one form I have a grid of check-boxes (rows = A..H and col=1..12). I would like to put a checkbox in the column/row headers to toggle the boxes in a particular row or column. Each box has a name like ''position_A1'' or
2008 Apr 18
1
Wine release 0.9.60
This is release 0.9.60 of Wine, a free implementation of Windows on Unix. What's new in this release (see below for details): - Better support for Windows IMEs. - Option for Windows-style window decorations. - Improved system tray behavior. - Window management fixes. - Improved quartz audio support. - Better support for launching apps from Unix file managers. - Lots of bug
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
2008 Apr 28
3
How to pass variable to $$()?
Hi all, I want the $$() method to take the selector as an variable. See below, I am trying to pass the class name as javascript variable so I can write a generic function in my application but $$() returns nothing for the following line var currentHightLightGroup ="amountsFields";//This one comes as a function parameter
2008 Mar 21
3
getElementsByClassName
I know this is deprecated in 1.6, but my question is how do I properly use the native browser implementation? Do I need to change my code? I''m having a difficult time finding examples on this. Why is this deprecated instead of incorporated into prototype? Or did I answer my own question... Also, I want to utilize the new document.querySelector. Has some one implemented this inside
2008 May 29
4
Drag/Drop finding droppable's properties?
Hi All, I am trying to develop a dynamic form creator application, whereby we can drag objects from a "palette" and drop them onto a "form" to build the design of our form. To achieve this, when I have dragged the object, and dropped it onto the "form" area, I want to get the position of where the object was dropped. I have a droppable area: