I bet you could create the conditional before triggering the chili plugin.
Like this maybe.

if(this.lenght < 1000){
  $(this).chili();
} else {
  $(this).manualChili();  //custom plugin you could create to add the manual
trigger above the code.
}

On 9/26/07, Guy Fraser <[EMAIL PROTECTED]> wrote:
>
>
> Andrea Ercolino wrote:
> > Chili is now much faster than before. Try it!
> >
>
> Is it possible to configure Chili so that if a script is bigger than a
> certain length, instead of automatically highlighting it a link is
> displayed above it to manually trigger the highlighting?
>



-- 
Joan Piedra  ||  Frontend web developer
http://www.justaquit.com/  ||  http://www.joanpiedra.com/

Reply via email to