Archive for the 'JavaScript' Category

NoobSlide - great JS slide show for your content and images

NoobSlide - highly animated and intuitive content slide show JavaScript library
NoobSlide includes 7 different styles to let you play slide show for your contents and images. It’s kind of easy to get started. After downloading, just take a look at the 7 examples for the 7 different styles included in the index.html

Continue reading ‘NoobSlide - great JS slide show for your content and images’

DhoniShow - super easy way to insert JavaScript inline picture gallery for images on your website

DhoniShow - JavaScript inline image gallery for your web pages
DhoniShow is now in its version 0.7 is a JavaScript library that shows inline image gallery on your webpage. It’s been described that it’s super easy to integrate.

Continue reading ‘DhoniShow - super easy way to insert JavaScript inline picture gallery for images on your website’

Prototype Javascript optimization to get best performance

Although Prototype comes with very convenient and short cut methods to let you create ajax applications and other JavaScript that manipulates well of the DOM structure, but there will be some significant degradation in performance in some of these methods.

Continue reading ‘Prototype Javascript optimization to get best performance’

Spring WebFlow 2.0 now includes JavaScript module

Many of you might have known Spring as a J2EE framework that simplifies J2EE development by introducing the MVC (Model View Control) development methodology in J2EE.

Continue reading ‘Spring WebFlow 2.0 now includes JavaScript module’

Canvas2Image - converts what you draw on WHATWG canvas to downloadable images on the fly

Here comes a small JavaScript library, Canvas2Image that you could include on your web page, and it allows those lines and boxes that you draw on a WHATWG canvas (made using new HTML <canvas></canvas> tag pair) to be converted into images on the fly for download.

Continue reading ‘Canvas2Image - converts what you draw on WHATWG canvas to downloadable images on the fly’

Google Gears will include Image manipulation API

Google Gears will have a set of API for manipulating images. Such as cropping, resizing and composing images etc on the client-side using JavaScript.

Continue reading ‘Google Gears will include Image manipulation API’

How well do you know Prototype? You should fully utilize it!

<script type=”text/javascript” src=”prototype.js”></script>

Juiry Zaytsev, someone who has used Prototype for almost a year for building dynamic web apps, has experienced many stupid questions raised on the Prototype discussion IRC channel. According to Juiry, that Prototype is only used at about 15% by most developers. Such as those include the 100KB Prototype.js in their web app, but what they use is only the Ajax.Request function, instead of the many short cuts and convenient functions provided by Prototype.

Continue reading ‘How well do you know Prototype? You should fully utilize it!’

Method Overloading is possible in JavaScript!

In a full-fledged Object Oriented Programming language such as Java, method overloading is the technique that you could use to create few functions or methods that having the same names but taking different arguments or parameters. Such as follows, the method findUser(), findUser(String), findUser(String, String) in Java.

public class Users
{
   public Collection findUser()
   {
      // the findUser() is a method that returns
      // all users in a java.util.Collection object

   }

   public Collection findUser(String name)
   {
      // the findUser(String) is a method that returns the users matched
      // by the specified name,
      // result returned in a java.util.Collection object

   }

   public Collection findUser(String firstMame, String lastName)
   {
      // the findUser(String,String) is a method that
      // returns the users matched by the specified
      // first and last name, results returned in a java.util.Collection object

   }
}

Continue reading ‘Method Overloading is possible in JavaScript!’

Prototype - a fantastic JavaScript Framework, simplifies Ajax coding

Prototype - a fantastic JavaScript Framework, simplifies Ajax codingWhat is Prototype? Prototype is a JavaScript framework that simplifies AJAX coding and extends the DOM structure. Prototype comes with several short-cut coding methods and modules to allow you to shorten your AJAX coding and it’s browser-safe. Prototype is now available with the latest version, 1.6 for download.

To start using Prototype in your web apps, it’s easy, just download the prototype.js file and include it in any JavaScript tag pairs shown as follows then you can start using the simplified coding in AJAX offered by Prototype.

<script src=”prototype.js” type=”text/javascript”></script>

Continue reading ‘Prototype - a fantastic JavaScript Framework, simplifies Ajax coding’