Andrea Ercolino wrote:
> Scott Sauyet wrote:
>> Does anyone know how I can trigger Chili to run on a particular element 
>> after the page has been loaded?

> Your request is very interesting: I'm going to add that feature to the next
> release of Chili.

Nice to hear.

> Meanwhile, if you feel confident with javascript, you could expose the
> function 'makeDish', which is now inside a closure. You could then use it
> directly on the element to highlight. In a static setup you could write: 
> 
> makeDish( $( '#myPHPSnippet' )[0], ChiliBook.recipes[ 'php.js' ] );

I'm relatively confident in my JS abilities, and I will probably look at 
this soon.  For the moment I found a different JS highlighting tool to 
use.  It's not JQuery based, and I'm not thrilled with it, but it works 
and I'm busy working on other parts of the project right now.

When I get back to it, I'll let you know how it turns out.

Thanks for your help,

   -- Scott Sauyet


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to