Hello,
is there a possibility to add options on element.implement.

(function(){ //encapsulate this logic so we don't pollute the global
namespace

  Element.implement({

    raptorize: function(options) {
        //the defaults
        var defaults = {
            enterOn: 'click', //timer, konami-code, click
            delayTime: 5000 //time before raptor attacks on timer mode
            };
        var options = $.extend(defaults, options);  //???????????????
        if(options.enterOn == 'timer')
....

Reply via email to