Thanks for the replies: the code snippets are never going to be more
than 100 lines on a single page. I've actually just written a (very
basic, not robust at all I think) MooTools regex-based C syntax
highlighter (I will put it up so somewhere at some point maybe), and I
don't even see a flash of the un-highlighted code (in Safari/Firefox)
for a piece of code 100 lines long.

I can see the benefits of doing it server side, especially for larger
codes though. (And of course there is the whole dependence of
presentation on Javascript which I'm not such a fan of come to think
of it).

Michal.


On Nov 19, 11:55 am, hellspawn <[EMAIL PROTECTED]> wrote:
> What other js do you have in that page? - I mean what load is put on
> the browser ?
> How big the snippet will be? -  experiment with 5k-500k or more
> That will be reflected in user's experience
>
> If he needs to wait for the js 10 seconds to make the pretty code.....
>
> So I think the user's experience should be the one that makes you
> decide :)

Reply via email to