Lines Matching refs:options

805   setOptions: function(options) {  argument
806 this.options = { class in Ajax.Base.setOptions
813 Object.extend(this.options, options || {});
815 this.options.method = this.options.method.toLowerCase();
816 if (typeof this.options.parameters == 'string')
817 this.options.parameters = this.options.parameters.toQueryParams();
828 initialize: function(url, options) { argument
830 this.setOptions(options);
836 this.method = this.options.method;
837 var params = this.options.parameters;
856 this.options.asynchronous);
858 if (this.options.asynchronous)
864 var body = this.method == 'post' ? (this.options.postBody || params) : null;
869 if (!this.options.asynchronous && this.transport.overrideMimeType)
892 headers['Content-type'] = this.options.contentType +
893 (this.options.encoding ? '; charset=' + this.options.encoding : '');
905 if (typeof this.options.requestHeaders == 'object') {
906 var extras = this.options.requestHeaders;
931 (this.options['on' + this.transport.status]
932 || this.options['on' + (this.success() ? 'Success' : 'Failure')]
944 (this.options['on' + state] || Prototype.emptyFunction)(transport, json);
978 (this.options.onException || Prototype.emptyFunction)(this, exception);
986 initialize: function(container, url, options) { argument
993 this.setOptions(options);
995 var onComplete = this.options.onComplete || Prototype.emptyFunction;
996 this.options.onComplete = (function(transport, param) { method
1008 if (!this.options.evalScripts) response = response.stripScripts();
1011 if (this.options.insertion)
1012 new this.options.insertion(receiver, response);
1026 initialize: function(container, url, options) { argument
1027 this.setOptions(options);
1028 this.onComplete = this.options.onComplete;
1030 this.frequency = (this.options.frequency || 2);
1031 this.decay = (this.options.decay || 1);
1041 this.options.onComplete = this.updateComplete.bind(this);
1046 this.updater.options.onComplete = undefined;
1052 if (this.options.decay) {
1054 this.decay * this.options.decay : 1);
1063 this.updater = new Ajax.Updater(this.container, this.url, this.options);
2060 return index >= 0 ? this.optionValue(element.options[index]) : null;
2068 var opt = element.options[i];
2420 var options = Object.extend({
2451 if(options.setLeft) target.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px';
2452 if(options.setTop) target.style.top = (p[1] - delta[1] + options.offsetTop) + 'px';
2453 if(options.setWidth) target.style.width = source.offsetWidth + 'px';
2454 if(options.setHeight) target.style.height = source.offsetHeight + 'px';