Displaying 18 results from an estimated 18 matches for "25kfiyuv2iriluum0ba3lq".
2006 May 09
12
prototype: leak with Element.extend
Had a nasty memory leak that was seriously slowing down the browser and
eating up a couple megabytes every reload. I was using:
$$(''.dyntable'').each(function(elm) { new DynTable(elm) });
To set up my behavior, but discovered that just running:
$$(''.dyntable'');
Caused the memory leak all by itself.
The fix I found for it was to change Element.extend to a
2006 Mar 09
13
[prototype] how i send Dynamic form field values??
I want to know how can i send the values of form fields build dynamic
with prototype.
i have the form as follow:
<form id="id" method="post" action="url">
<div id="dynamicFields"></div>
</form>
with prototype i fill the dynamicFields DIV with <input> and <select>
tags, but when i submit the form the values of
2006 Feb 08
9
InPlaceEditor - IMG for OK / Cancel?
Hi all,
Is it possible to use images instead of plain text for the "OK" and "Cancel"
controls?
Thanks,
Best Regards,
EJC
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Feb 10
13
Element.observe () binding
Hey all,
I working on a project, but I am not sure I can do what I want to
do. The following works beautifully:
Event.observe(el, ''click'', function () { this.className += "
myClass"; return false; });
I have also tried doing this:
this.varname = ''test'';
Event.observe(el, ''click'', function () { alert (this.varname); }.bind
2006 Apr 05
6
Help with new EventSelectors in prototype
Hello,
I can''t seem get to work the newly inctroduced EventSelectors of protoype.
I downloaded the latest release via SVN. And included both prototype
and scriptaculous.
This is a short extract of my test:
<body>
<div id="footer">This is a footer</div>
<script type="text/javascript">
var Rules = { ''#footer:loaded'':
2006 Feb 24
8
possible Slide and Blind IE bug
Hi,
I''m new to this list, new to script.aculo.us but pretty comfortable with
javascript. I''m trying to get a combination of Effect.SlideUp and Down
and Effect.BlindUp and Down to well... it''s hard to describe, maybe have
a visit here (try in firefox first):
http://bruno.biosci.arizona.edu/occa/test.html
Click on "next month" a couple times, then click on
2006 Jun 23
16
Help please-draggable
I asked the other day about this problem but haven''t received a response.
Trying again:
I just downloaded 1.6 and can''t get a simple draggable to work, which
is weird. I know it''s not my browser since the demos are working.
Here is my simple code. I''ve also had the "new Draggable" between
the select tags. Didn''t change anything.
2006 Feb 27
3
bindAsEventListener with parameters
I would like to share a modification to bindAsEventListener() that
might be useful to some of you. It makes it possible to do
function show(event, number) {
alert(Event.element(event).id + " = " + number);
}
Event.observe("el1", "click", show.bindAsEventListener(this, 5);
Event.observe("el2", "click", show.bindAsEventListener(this, 10);
That
2006 Mar 17
2
ajax exception
Hello!
This is my first post so hello to the ROR community :)
I am implementing an online editor using the prototype.js lib.
On one of the ajax.request calls I make something weird happens. In the debugger I get this output:
===================
10:36:04:796 [DEBUG] FileBrowser.onServiceResult > inResult = success
10:36:04:812 [DEBUG] FileBrowser.onServiceResult > inResult = exception |
2006 Feb 08
2
Prototype: Position.clone()
Does the duplicate clone method of Position serve a subtle purpose
that I don''t understand? I feel kind of foolish even asking, but ...
I just don''t get it. I''ve been looking at this for a couple days now
and as far as I can tell, the first definition is useless as it gets
overlaid by the second one. I don''t see any closure trickery going on
here, either.
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
2006 Aug 11
14
Sortable callback, when dragging starts/stops
Hi *,
is there a callback or something else to get noticed, if the user starts
(stops) to drag an element of a sortable? I only found the onUpdate and
onChange callbacks, but they don''t give the information I need.
Thanks in advance,
Tim
2006 Feb 08
29
Autocomplete and Firefox
Having problems with the autocomplete on my linux box and firefox.
When I use form tags it breaks, without form tags everything works fine.
Exact copy of the example provided, but I added form tags.. The initial
search and select works but then the box sort of "locks up" and I can''t
change it at all, If I do try to type something nothing changes but a
second later the whole
2006 Apr 10
10
Prototype Ajax - How to pass my own params to onComplete ?
Sorry if this has been covered before, i can''t imagine it hasn''t, but
i''ve been unable to find any information on it.
Can i pass my own parameters to the onComplete function specified by
Ajax.Request ?
My basic setup is i have an html element triggering an event (the ajax
update).
I have additional information encoded into the element about how it
should handle
2006 Feb 10
8
Prototype Inheritance example
Hello Everyone,
I am working on a control collection for javascript/Ajax.Net. I am stuck on
the class inheritance aspects of the prototype library. If someone could
point me to an example it would be a great help. I have looked through the
controls.js of the scriptaculous library and found something like the below
code, but everytime I ran it I would get a constructor error.
Thanks for any help;
2006 Jul 10
17
Effect.SlideDown/Up() and HTML issues
Hello,
I''m hoping this is the right place to ask these kind of questions. If not,
please excuse me. Anyway, the problem I''m having is that I have a HTML table
showing some tabular data and I want to use Effect.SlideDown/Up to allow the
user to interactively show "details" for each item (<tr><td> etc) in that
list.
I''ll do some pseudo-code for
2006 Feb 17
29
Sortable Tree Addition [PATCH]
Hello, here is the initial patch for support for sortable trees.
Please as many people download this code and test with your lists and
feel free to add more list tests.
Files modified were dragdrop.js and prototype.js.
Some new options have been added. ''treeTag'' specifies the tag used to
contain children elements. ''tree'' must be set to true for this
2006 Feb 15
0
Array intersections
Hello,
I''m wondering if there''s a way to do array intersections that I
haven''t found yet.
I''ve been trying to use Array.without() for this, but it can''t compare
one Array to another. Is there a way to convert an Array to a list of
parameters for a function call (which is what Array.without() is
expecting) without resorting to eval() trickery?