Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Thursday, August 04, 2011

Compressing or Decompressing of Javscript Code

If the javscript code is huge in size, it will affect the loading time of your website. So you can compress the javscript code inorder to
  • transmit JavaScript faster,
  • Reduce the number of HTTP requests etc.

How to Compress Javascript code ?

Use Packer.

Friday, July 29, 2011

Programming language Syntax highlighter in Javascript

Syntax highlighter is a fully functional code syntax highlighter written in Javascript by Alex Gorbatchev ( Syntax highlighting is the feature where the source code written in different programming languages are displayed in different colours and fonts according to the grouping in that language.
Example: Syntax highlighting for a javascript code: