On Jun 28, 2006, at 9:41 PM, Damjan wrote:
It does have some nice features. I'd like to see all the CSS-selector
emulation in MochiKit, but adding properties to or proxying DOM
objects is not something I want MochiKit to do.
Yes, that's the single greatest feature of jQuery, the CSS and
I've also found this,
var items = document.evaluate(/rss/channel/item, res.responseXML,
null, XPathResult.ANY_TYPE, null);
items is an iterator so you iterate it like this:
while (item = items.iterateNext()) { blah; blah; item;}
But I think this is a Mozilla only feature.
On Jun 29, 2006, at 1:08 AM, Damjan wrote:
I've also found this,
var items = document.evaluate(/rss/channel/item, res.responseXML,
null, XPathResult.ANY_TYPE, null);
items is an iterator so you iterate it like this:
while (item = items.iterateNext()) { blah; blah; item;}
But I think
Hi,
I'm trying to use the SVN trunk version of MochiKit, but I'm a bit
lost, because there is a full documentation of the various objects, but
unless I missed it, there is no general overview on the packaging
system, on what should be included in HTML pages, on how to solve the
dependencies and
http://legolas.on.net.mk/ajax-tree/mochi-dynamic.html
My first take of a dynamic, json powered, expandable tree.
What do you say?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this
This doesn't work either.
Does anybody have any success getting MochiKit and Dojo to play
together at all? I can't include them in EITHER order. Dojo can't seem
to import Mochikit successfully and including MochiKit before Dojo
breaks Dojo.
The documentation says this works... HELP!
I am still trying to wrap my head around how things work
in MochiKit, and after spending 20 minutes banging my head against the wall, humbly
seek some assistance. I want to check all keys pressed, so I attach to that
event like this:
connect(window.document, onkeyup, HandleOnKeyUp);
On Jun 29, 2006, at 2:23 PM, Jason Bunting wrote:I am still trying to wrap my head around how things work in MochiKit, and after spending 20 minutes banging my head against the wall, humbly seek some assistance. I want to check all keys pressed, so I attach to that event like this:
Peter Mularien [EMAIL PROTECTED] writes:
I've done something very similar to this (capturing Enter keypresses).
The things you have to be careful of - (1) pressing enter to submit a
form is very standard browser behavior - so if you change it you will
be (potentially) disrupting your users,
Roger Demetrescu [EMAIL PROTECTED] writes:
Hi Godoy ! :)
I usually use a container which intercepts Enter key press.:
form action=foobar
span onkeydown=if (event.keyCode == 13){return false;}
input type=text name=value1 /
input type=text name=value2 /
function showPointDetails()
{
// This function needs the overlay from showMapPointInfo()
// but it's a callback function.
// How to get the overlay in here at the time of the callback?
// I want to attach an openInfoWindowHTML to it
// Fetch goodies regarding the
Scott Chapman [EMAIL PROTECTED] writes:
//myPoints.addCallbacks(showPointDetails,pointsFetchFailed);
myPoints.addCallback(showPointDetails, something);
myPoints.addErrback(pointsFetchFailed);
And you'll get 'something' as the first value in myPoints.
--
Jorge Godoy [EMAIL
In order to add additional parameters to the callbacks, you need to
use addCallback and addErrback separately, or create a closure
yourself (e.g. via partial or defining showPointDetails within the
showMapPointInfo function).
You want something like myPoints.addCallback(showPointDetails,
On Jun 29, 2006, at 3:25 PM, Bob Ippolito wrote:
In order to add additional parameters to the callbacks, you need to
use addCallback and addErrback separately, or create a closure
yourself (e.g. via partial or defining showPointDetails within the
showMapPointInfo function).
You want
It's working! Man this AJAX/Google Map stuff is COOL!
Thanks all!
Scott
Bob Ippolito wrote:
On Jun 29, 2006, at 3:25 PM, Bob Ippolito wrote:
In order to add additional parameters to the callbacks, you need to
use addCallback and addErrback separately, or create a closure
yourself (e.g.
15 matches
Mail list logo