Thanks, Wulf, this is an excellent idea.
I wound up doing something similar:

Effect.Highlight.prototype.initialize = function(element) {
    this.element = $(element);
    if (!this.element) throw(Effect._elementDoesNotExistError);
    var options = Object.extend({ startcolor: '%s' }, arguments[1] || { });
    this.start(options);
  };

and did JavaScriptSupport.addScript(scr, "#FFFFFF");

Thus, the highlight is white and doesn't appear, unless I explicitly override
it with a mixin that passes the startcolor argument.


On Oct 14, 2011, at 8:07 AM, Wechsung, Wulf wrote:

> That occurred to me as well ... if you use a layout, wouldn't it be enough to 
> run 
> 
> Effect.prototype.Highlight = function() { }
> 
> OnLoad to prevent all highlight effects everywhere in your app ...
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to