banner design

kProto is a collection of 3 handy Prototype based classes & extensions. Here they are:

 

Marquee - examples

It is a Prototype extension (& requires Script.aculo.us) that enables you to display a series of messages with ease.

Using the extension, it is possible to create message sliders, image galleries (or sliders similar to the portal websites) & more.

Prototype Message Extension

With a list of options, the extension is very flexible.

It supports:

  • start, stop, next, previous actions
  • delay
  • animation when a message appears & another animation when it disappears
  • before-after options to fire any function between events
  • & several transition effects.

 

Growler - examples

 It is a class for displaying unobtrusive messages like OS X Growl.

Growler can be styled with CSS & very suitable for displaying activity-info messages.

Prototype Growl

It has several options:

  • In & out speed of the message
  • life of it (after howmany seconds it willl disappear)
  • functins to be fired before any event 6 more.

 

Package - examples

This class allows developers to dynamically create namespaces. These namespaces can be used to better organize your code. They also help to reduce the amount of code that pollutes the global namespace.

Package also allows any javascript and css file to be included dynamically without being namespaced whether local or cross domain.