Going to Ajax Experience 11

I’ll be standing in the Google booth at the Ajax Experience conference on Friday afternoon.

I guess it is time for me to figure out what all this Ajax hype is all about.

  • http://www.challenger.se Hakan Bilgin

    “…I guess it is time for me to figure out what all this Ajax hype is all about…”

    haha…”may fools day”?

    Why aren’t you among the speakers?

  • http://erik.eae.net Erik Arvidsson

    I don’t know jack about ajax. I know a few things about JS and DHTML but those are not cool any more ;-)

    Seriously I’m not a good speaker and I’m way too shy.

  • http://codinginparadise.org Brad Neuberg

    Erik, it was great meeting and talking with you at the show!

    Best,
    Brad

  • http://Helpmeerikyouremyonlyhope Mark Williams

    Sorry that this has nothing to do with the post.

    I’m trying to find an answer to a problem and can’t seem to find one – I’m guessing you might be able to help.

    I use a number of prototyped methods in FF to simulate IE methods, which I’m sure you’ll be familiar with. For instance this one

    // to simulate IE’s .selectNodes
    Document.prototype.selectNodes = function(sExpr, contextNode) {
    var oResult = this.evaluate(sExpr, (contextNode? contextNode : this), this.createNSResolver(this.documentElement), XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
    var nodeList = new Array(oResult.snapshotLength);
    nodeList.expr = sExpr;
    for(i=0;i

  • http://www.challenger.se Hakan Bilgin

    Mark, this is one way of doing it:

    Document.prototype.selectNodes = function(XPath, XNode) {
    if(!XNode) XNode = this;
    this.ns = this.createNSResolver(this.documentElement);
    this.qI = this.evaluate(XPath, XNode, this.ns, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
    aResult = [];
    for(i=0; i 0)? this.xI[0] : null ;
    }
    Element.prototype.selectNodes = function(XPath) {
    return this.ownerDocument.selectNodes(XPath, this);
    }
    Element.prototype.selectSingleNode = function(XPath) {
    return this.ownerDocument.selectSingleNode(XPath, this);
    }

    /hbi

  • http://www.challenger.se Hakan Bilgin

    Mark, unfortunatelly the brackets messed it up…a new try:

    Document.prototype.selectNodes = function(XPath, XNode) {
    if(!XNode) XNode = this;
    this.ns = this.createNSResolver(this.documentElement);
    this.qI = this.evaluate(XPath, XNode, this.ns, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
    aResult = [];
    for(i=0; i<this.qI.snapshotLength; i++)
    aResult[i] = this.qI.snapshotItem(i);
    return aResult;
    }
    Document.prototype.selectSingleNode = function(XPath, XNode) {
    if(!XNode) XNode = this;
    this.xI = this.selectNodes(XPath, XNode);
    return (this.xI.length > 0)? this.xI[0] : null ;
    }
    Element.prototype.selectNodes = function(XPath) {
    return this.ownerDocument.selectNodes(XPath, this);
    }
    Element.prototype.selectSingleNode = function(XPath) {
    return this.ownerDocument.selectSingleNode(XPath, this);
    }

  • http://soundandcomplete.wordpress.com/ nitro2k01

    Speaking of which, are you one the dev’ers behind this: http://googleblog.blogspot.com/2006/05/making-ajax-development-easier.html#links ?

  • http://erik.eae.net Erik Arvidsson

    I’m not involved in that product.

  • Mark Williams

    Thanks Hakan, I’ll give that a go and write back here with progress.

  • http://www.skypoet.net Oliver Tse

    Erik,

    Great to see you again!
    Hopefully, you will speak in the 2007 event and who cares if you’re shy!

    Oliver

  • wintervssummer

    I very much love summer :)
    Someone very much loves winter :(
    I Wish to know whom more :)
    For what you love winter?
    For what you love summer? Let’s argue :)