I created a menu that pops up a certain target is clicked. The menu
remains visible until the user clicks a selection from the menu, or
moves the mouse away from the menu - implimented with onmouseleave. It
works swimmingly - almost. I messed with it for a long time because I
was so happy to see
On 10/17/06, Warren [EMAIL PROTECTED] wrote:
I created a menu that pops up a certain target is clicked. The menu
remains visible until the user clicks a selection from the menu, or
moves the mouse away from the menu - implimented with onmouseleave. It
works swimmingly - almost. I messed with
Apart from the obvious, that Bob had event.stop(); in his example
(Which you could add if you need it, but most likely you don't), there
is one peculiar detail.
Some javascript interpreters optimize closures like this, so they can
be reused if called multiple times. This would happen if you
Both you and the blog entry are confused here. That's not an
optimization, that's how scope works in JavaScript. All
implementations MUST do that. The quote he referenced is completely
irrelevant to the behavior that his code has.
Closures don't snapshot the state of the program.. they just
Noufal wrote:
Hello everyone,
Hello.
I googled for a basic mochikit tutorial and found some links to one
at argv0.net but the site and the tutorial seem to have gone off the
web.
I've done the same thing.
Does anyone have one lying around that they could point me to?
I've asked a
Hello,
In the ajax_tables example the JSON file's url is hardcoded. I tried to
adjust ajax_tables.js to allow a dynamic file but I get the following
error:
this.thead has no properties, ajax_tables.js (line 206)
What I'm doing is adding a 'url' parameter to
sortableManager.initialize and then
On 10/17/06, Chris [EMAIL PROTECTED] wrote:
Hello,
In the ajax_tables example the JSON file's url is hardcoded. I tried to
adjust ajax_tables.js to allow a dynamic file but I get the following
error:
this.thead has no properties, ajax_tables.js (line 206)
What I'm doing is adding a
Bob Ippolito wrote:
This is the same problem you had last week. Your code is doing this,
which makes no sense:
I thought about that but didn't see it as the same thing. I think I'm
getting tripped up on the syntax.
I thought initialize was already a function considering
'initialize: function
On 10/17/06, Chris [EMAIL PROTECTED] wrote:
Bob Ippolito wrote:
This is the same problem you had last week. Your code is doing this,
which makes no sense:
I thought about that but didn't see it as the same thing. I think I'm
getting tripped up on the syntax.
I thought initialize was
On 10/17/06, Chris [EMAIL PROTECTED] wrote:
Bob Ippolito wrote:
You're missing the point entirely. addLoadEvent takes a *function* as
an argument, and you're passing in the *result* of a function call.
So then it's simply a matter of the existence of () or not at the end
of the function
10 matches
Mail list logo