[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-28 Thread Brandon Aaron
First ... sorry this thread got so off-topic...

I can give you a couple of use-cases. :)  Lets say you have an element on
the page that needs to animate but only once it is > 75% viewable. Another
good use is if you have a widget that uses lots of system resources, you can
pause or disable it while it is out of view.

--
Brandon Aaron

On 9/27/07, Guy Fraser <[EMAIL PROTECTED]> wrote:
>
>  Brandon Aaron wrote:
>
> Speaking of that ... I've got a plugin ... unreleased/undocumented at the
> moment ... called viewable. It gives you a percentage of the element that is
> viewable.
>
> http://brandonaaron.net/jquery/plugins/viewable/test/test.html
>
>
> That's pretty cool. How are you using it?
>


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-28 Thread Guy Fraser
Brandon Aaron wrote:
> Speaking of that ... I've got a plugin ... unreleased/undocumented at 
> the moment ... called viewable. It gives you a percentage of the 
> element that is viewable.
>
> http://brandonaaron.net/jquery/plugins/viewable/test/test.html

That's pretty cool. How are you using it?


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Brandon Aaron
Speaking of that ... I've got a plugin ... unreleased/undocumented at the
moment ... called viewable. It gives you a percentage of the element that is
viewable.

http://brandonaaron.net/jquery/plugins/viewable/test/test.html

--
Brandon Aaron

On 9/27/07, Guy Fraser <[EMAIL PROTECTED]> wrote:
>
>
> Frank Tudor wrote:
> > Code anticipation would score bonus points.
>
> While my tired brain was wondering what you meant by that, it came up
> with a completely unrelated idea - we could modify/extend the lazy image
> loader plugin [1] so that code blocks "below the fold" would not get
> syntax highlighted until the user starts scrolling down the page. I
> often end up with pages that have dozens of small code blocks with
> descriptive paragraphs in between them. This would make the initial page
> render more quickly and as the user scrolls down more code blocks get
> syntax highlighted automagically.
>
>
> [1] http://www.appelsiini.net/2007/9/lazy-load-images-jquery-plugin
>


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Guy Fraser

Frank Tudor wrote:
> Code anticipation would score bonus points.

While my tired brain was wondering what you meant by that, it came up 
with a completely unrelated idea - we could modify/extend the lazy image 
loader plugin [1] so that code blocks "below the fold" would not get 
syntax highlighted until the user starts scrolling down the page. I 
often end up with pages that have dozens of small code blocks with 
descriptive paragraphs in between them. This would make the initial page 
render more quickly and as the user scrolls down more code blocks get 
syntax highlighted automagically.


[1] http://www.appelsiini.net/2007/9/lazy-load-images-jquery-plugin


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Frank Tudor
Thanks Ben... That would be awesome!

On 9/27/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote:
>
> Franks,
> I put something for Dreamweaver a while ago, I think we were on 1.1.1 at
> that time, let me see if I can find those files and will hit you up off list
> if I find them.
>
> On 9/27/07, Frank Tudor <[EMAIL PROTECTED]> wrote:
> >
> > I like this idea, and pardon me if this has been asked before, but is
> > there a code higlighter for jQuery that can be used in dreamweaver?
> >
> > Code anticipation would score bonus points.
> >
> > Frank
> >
> > On 9/27/07, Steve Blades <[EMAIL PROTECTED]> wrote:
> > >
> > > Looks outstanding. Now, if it only had a syntax highlight library for
> > > ColdFusion;).
> > >
> > > On 9/27/07, Andrea Ercolino < [EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > > Very simple. Look at the new example posted in
> > > > http://noteslog.com/post/chili-19-released-today/ : It's what you're
> > > > looking
> > > > for.
> > > >
> > > > But Chili 1.9 is very fast, it colorize 3000 lines in less than 1
> > > > second !!
> > > > Maybe there is no need for the extra button...
> > > >
> > > >
> > > > Guy Fraser-2 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?
> > > > >
> > > > >
> > > >
> > > > --
> > > > View this message in context:
> > > > http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12922338
> > > > Sent from the JQuery mailing list archive at Nabble.com.
> > > >
> > > >
> > >
> > >
> > > --
> > > Steve "Cutter" Blades
> > > Adobe Certified Professional
> > > Advanced Macromedia ColdFusion MX 7 Developer
> > > _
> > > http://blog.cutterscrossing.com
> > > ---
> > > The Past is a Memory
> > > The Future a Dream
> > > But Today is a Gift
> > > That's why they call it
> > > The Present
> >
> >
> >
>
>
> --
> Benjamin Sterling
> http://www.KenzoMedia.com
> http://www.KenzoHosting.com
> http://www.benjaminsterling.com


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Pyrolupus

Hey! When're you going to update Chili Central[1] with the new link?
^_^

Pyro

[1] http://noteslog.com/chili/



[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Benjamin Sterling
Franks,
I put something for Dreamweaver a while ago, I think we were on 1.1.1 at
that time, let me see if I can find those files and will hit you up off list
if I find them.

On 9/27/07, Frank Tudor <[EMAIL PROTECTED]> wrote:
>
> I like this idea, and pardon me if this has been asked before, but is
> there a code higlighter for jQuery that can be used in dreamweaver?
>
> Code anticipation would score bonus points.
>
> Frank
>
> On 9/27/07, Steve Blades <[EMAIL PROTECTED]> wrote:
> >
> > Looks outstanding. Now, if it only had a syntax highlight library for
> > ColdFusion;).
> >
> > On 9/27/07, Andrea Ercolino < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > Very simple. Look at the new example posted in
> > > http://noteslog.com/post/chili-19-released-today/ : It's what you're
> > > looking
> > > for.
> > >
> > > But Chili 1.9 is very fast, it colorize 3000 lines in less than 1
> > > second !!
> > > Maybe there is no need for the extra button...
> > >
> > >
> > > Guy Fraser-2 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?
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> > > http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12922338
> > > Sent from the JQuery mailing list archive at Nabble.com.
> > >
> > >
> >
> >
> > --
> > Steve "Cutter" Blades
> > Adobe Certified Professional
> > Advanced Macromedia ColdFusion MX 7 Developer
> > _
> > http://blog.cutterscrossing.com
> > ---
> > The Past is a Memory
> > The Future a Dream
> > But Today is a Gift
> > That's why they call it
> > The Present
>
>
>


-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
http://www.benjaminsterling.com


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Frank Tudor
I like this idea, and pardon me if this has been asked before, but is there
a code higlighter for jQuery that can be used in dreamweaver?

Code anticipation would score bonus points.

Frank

On 9/27/07, Steve Blades <[EMAIL PROTECTED]> wrote:
>
> Looks outstanding. Now, if it only had a syntax highlight library for
> ColdFusion;).
>
> On 9/27/07, Andrea Ercolino < [EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Very simple. Look at the new example posted in
> > http://noteslog.com/post/chili-19-released-today/ : It's what you're
> > looking
> > for.
> >
> > But Chili 1.9 is very fast, it colorize 3000 lines in less than 1 second
> > !!
> > Maybe there is no need for the extra button...
> >
> >
> > Guy Fraser-2 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?
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12922338
> > Sent from the JQuery mailing list archive at Nabble.com.
> >
> >
>
>
> --
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> _
> http://blog.cutterscrossing.com
> ---
> The Past is a Memory
> The Future a Dream
> But Today is a Gift
> That's why they call it
> The Present


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Steve Blades
Looks outstanding. Now, if it only had a syntax highlight library for
ColdFusion;).

On 9/27/07, Andrea Ercolino <[EMAIL PROTECTED]> wrote:
>
>
>
> Very simple. Look at the new example posted in
> http://noteslog.com/post/chili-19-released-today/ : It's what you're
> looking
> for.
>
> But Chili 1.9 is very fast, it colorize 3000 lines in less than 1 second
> !!
> Maybe there is no need for the extra button...
>
>
> Guy Fraser-2 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?
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12922338
> Sent from the JQuery mailing list archive at Nabble.com.
>
>


-- 
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
---
The Past is a Memory
The Future a Dream
But Today is a Gift
That's why they call it
The Present


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Andrea Ercolino


Very simple. Look at the new example posted in
http://noteslog.com/post/chili-19-released-today/ : It's what you're looking
for.

But Chili 1.9 is very fast, it colorize 3000 lines in less than 1 second !! 
Maybe there is no need for the extra button...


Guy Fraser-2 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?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12922338
Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Joan Piedra
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/


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-26 Thread Guy Fraser

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?


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-26 Thread Olivier Percebois-Garve

Sean,
Nice plugin, love its simplicity.
on IE I cant see the text area with the insertion code for the head part.
Also I found it ennoying in your exemple that its only the link that is 
clickable, not the whole tab.

my 2 p feedback

-olivier

Sean Catchpole wrote:
That's great! Excellent plugin. I've been using it to present idTabs: 
http://www.sunsean.com/idTabs/


~Sean


On 9/26/07, * Andrea Ercolino* <[EMAIL PROTECTED] 
> wrote:




Chili is now much faster than before. Try it!

http://noteslog.com/post/chili-19-released-today/

--
View this message in context:

http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12909607
Sent from the JQuery mailing list archive at Nabble.com
.






[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-26 Thread Rick Faircloth
Very nice, Andrea. that'll be useful.

 

While I was viewing the examples, I thought of something else

that would be very useful, too, when reviewing code:

 

A plug-in to toggle (show/hide) comments in code.  I think it

would be especially useful in tutorials, as would be your color-coding.

 

I know for me, when I'm studying examples and code is heavily

commented, it's hard to see the flow of the code.  However,

I do need to be able to refer to the code.

 

I wonder if that's a good feature for your plug-in or whether

a totally different plug-in needs to be created for that.

 

I just thought that since your plug-in deals so heavily with code,

it might be a good fit.

 

Rick

 

 

 

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Benjamin Sterling
Sent: Wednesday, September 26, 2007 4:49 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

 

That is great news Andrea, thanks.

On 9/26/07, Andrea Ercolino <[EMAIL PROTECTED]> wrote:



Chili is now much faster than before. Try it!

http://noteslog.com/post/chili-19-released-today/

--
View this message in context:
http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.
html#a12909607
Sent from the JQuery mailing list archive at Nabble.com.




-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com 



[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-26 Thread Sean Catchpole
That's great! Excellent plugin. I've been using it to present idTabs:
http://www.sunsean.com/idTabs/

~Sean


On 9/26/07, Andrea Ercolino <[EMAIL PROTECTED]> wrote:
>
>
>
> Chili is now much faster than before. Try it!
>
> http://noteslog.com/post/chili-19-released-today/
>
> --
> View this message in context:
> http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12909607
> Sent from the JQuery mailing list archive at Nabble.com.
>
>


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-26 Thread John Resig

Excellent to hear! I've been using it in personal projects, so any
speed improvement is a welcome one!

--John

On 9/26/07, Andrea Ercolino <[EMAIL PROTECTED]> wrote:
>
>
> Chili is now much faster than before. Try it!
>
> http://noteslog.com/post/chili-19-released-today/
>
> --
> View this message in context: 
> http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12909607
> Sent from the JQuery mailing list archive at Nabble.com.
>
>


[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-26 Thread Benjamin Sterling
That is great news Andrea, thanks.

On 9/26/07, Andrea Ercolino <[EMAIL PROTECTED]> wrote:
>
>
>
> Chili is now much faster than before. Try it!
>
> http://noteslog.com/post/chili-19-released-today/
>
> --
> View this message in context:
> http://www.nabble.com/ANNOUNCEMENT%3A-Chili-1.9-much-faster-tf4524829s15494.html#a12909607
> Sent from the JQuery mailing list archive at Nabble.com.
>
>


-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com