Displaying 20 results from an estimated 1100 matches similar to: "Drag-N-Drop Event Sinking With Remote Call"
2005 Aug 15
6
Possible to scroll window when user drags a draggable?
It doesn''t seem to be possible, but perhaps somebody knows a trick. I
have some lists that get too long and users can''t drag from list 10,
for example, to list 1. Is there a way to get the browser window to
scroll as they drag the item up?
Thanks!
Tom
2005 Aug 07
8
Ajax forms and redirects
Here is an example that seems perfect for Ajax that I have not seen
implemented nor can figure out how to do it. I am hoping someone can
give me some pointers.
On the sign-up page, I would like to do my validations (password
length, username uniqueness,etc ) Ajax-style. But if all validates,
then redirect to the success page. The combining of redirection to a
new page with Ajax is throwing me.
2005 Aug 10
3
Limit to the number of draggables?
I''m wondering if there''s a max number of draggables. I have a
situation where there are something like 60-80 draggable items and
they work fine on the test server with only a handful of items, but in
production with the full load they no longer work. It''s possible
there''s something else different -- somehting with style sheets or
something, but I wanted to see
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 Apr 15
11
evalScripts in IE
My Ajax.Updater is set for evalScripts and it receives this:
<script language="JavaScript">complete();</script>
It works in FF but not IE. Is the above code the proper way to return
scripts?
Thanks!
2005 Jul 25
8
My try on nested sortables
Hello,
please take a look at http://test.reasonmaker.com/sort/ where I made
some hacks to allow for nested sortables. I need a hierarchical,
sortable list, so I hacked away.
It generally works quite nicely, but:
( - The code needs my debug stuff and failed attempts removed )
- The code needs to be adapted to also work with vertical sortables.
It probably breaks vertical sortables.
2006 Nov 05
4
Why Struts2 use dojo instead of Scriptaculous?
Hi,
I''m using prototype/Scriptaculous in my open source project JSControlsTags
http://jscontrolstags.sourceforge.net/
I''m Struts user and in the new version Struts2, the framework integrate AJAX
with dojo
and not with Prototype/Scriptaculous. I asked in the Struts forum, why
Struts2 integrate
by default dojo and not scriptaculous.
Here Struts answer :
------------------------
2006 Feb 17
2
Sorting Multiple Arrays
Hey Cats,
I''m having a problem. I''m working with an object that contains a bunch
of arrays:
var myObject = {
"data": [
{"line": [1,"aoo","far"]},
{"line": [2,"boo","ear"]},
{"line": [3,"coo","dar"]},
{"line":
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
2005 Aug 02
3
IE 6 SP1 crashes on pages with Scriptaculous
Hi everyone, just joined the list (through the link on
scriptaculous site).
I''m using Scriptaculous 1.1b1 on a particular web site and I''ve
been told that it consistently crashes IE 6 SP1 (on WinXP) - everytime
my friend tries to access one of the page employing those scripts, IE
dies with:
"Application Error 0x0eefade occured in the application at 0x77e738b2..."
2006 Apr 27
14
cleanWhitespace and parentNode
Hey cats,
I seem to have ran into a problem in IE trying to use parentNode with
the cleanWhitespace method.
doing something like:
var div = $(''mydiv'');
Element.cleanWhitespace(div);
works really great, but try doing:
var div = $(''mydiv'');
Element.cleanWhitespace(div.parentNode);
or
var div = $(''mydiv'');
div = div.parentNode;
2006 Mar 17
12
Exception in Javascript console in Firefox 1.0.7
Has anyone else seen this?
Error: uncaught exception: [Exception..."Component returned failure
code: 0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)
[nsiXPCComponents.lookupMethod]" nsresult: "0x80570009
(NS_ERROR_XPC_BAD_CONVERT_JS)" location:"JS frame ::
chrome://global/content/XPCNativeWrapper.js :: anonymous :: line 91"
data: no]
I got that output to the
2005 Aug 13
4
Timing out ajax requests?
Has someone come up with a generic way to handle ajax requests that
exceed a certain time?
In my concrete case, I have several select boxes for drilling down a
hierarchy. When the user clicks an option, the next deeper level is
retrieved. To avoid multiple concurrent requests, I disable the select
box. As the request may take too long or cause an error, I set a
timeout that re-enables the
2005 Aug 31
11
Documentation generator?
I''m looking for a documentation generator for JavaScript code that can
handle the coding style used in prototype.js and script.aculo.us. Any
recommendations for such a tool?
In a similar vein, does it make a noticeable difference in production
when comments are removed and several script files are combined into a
single one?
Michael
--
Michael Schuerig Most people
2005 Aug 22
8
Observing changes to a text field
I''ve noticed that using several TimedObservers (prototype.js) on a page
to watch for changes to text fields (haven''t tried forms) can have a
non-negligible effect on the CPU cycles used by the browser process.
Nothing dramatic, to be sure, but unnecessary.
Autocompleter.Base (controls.js) follows a smarter strategy to watch for
changes. Currently this functionality is tied
2016 Sep 02
2
Problem with "[SimplifyCFG] Handle tail-sinking of more than 2 incoming branches"
Hello,
I’m getting some failures on our internal testing happening after this commit.
I dug a little bit into it and it ended up begin caused by the fact that this optimization is sinking some instructions that shouldn’t be sunk
In particular we have some loads that need to have a constant address to be selected, because they load from a “special address space”.
What the optimization is doing
2005 Aug 09
7
trunk restructuring, new util.js
Hi all,
The latetest trunk revision 1983 features are more streamlined
directory layout and a new util.js file, that acts as a collector for
stuff that doesn''t fit in elsewhere.
To get a grip at the new Builder functionality look at the test in
test/unit/builder_test.html (works only with Firefox).
Note the "klass" instead of "class", this circumvents a
2016 Sep 02
2
Problem with "[SimplifyCFG] Handle tail-sinking of more than 2 incoming branches"
Probably the issue is solvable in some Codegen prepare pass.
That said I still believe some kind of control on if we would like to implement this or not could be useful.
Just a question. Why implementing it in SimplifyCFG and not as a separate pass like JumpThreading or something like that? The transformation itself doesn’t seem to fit much in SimplifyCFG.
> On 2 Sep 2016, at 13:35, Michael
2013 Nov 12
0
[LLVMdev] sinking address computing in CodeGenPrepare
The reason for this is to allow folding of address computation into loads and stores. A lot of modern arch, e.g. X86 and arm, have complex addressing mode.
Evan
Sent from my iPad
> On Nov 12, 2013, at 8:39 AM, Junbum Lim <junbums at gmail.com> wrote:
>
> Hi All,
>
> In CodeGenPrepare pass, OptimizeMemoryInst() try to sink address computing into users' block by
2013 Nov 12
2
[LLVMdev] sinking address computing in CodeGenPrepare
I wonder why CodeGenPrepare breaks GEP into integer calculations (ptrtoin/add/inttopt) instead of directly sinking the address calculation using GEP into user's block.
Thanks,
Jun
On Nov 12, 2013, at 12:07 PM, Evan Cheng <evan.cheng at apple.com> wrote:
> The reason for this is to allow folding of address computation into loads and stores. A lot of modern arch, e.g. X86 and arm,