JQuery uLED plugin: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
The jQuery uLED is a jQuery plugin written by Marius Stanciu - Sergiu, a plugin that can be used as a countdown, a clock or as a random numbers.
The jQuery uLED is a jQuery plugin written by Marius Stanciu - Sergiu, a plugin that can be used as a countdown, a clock or as a random numbers.


= Sample Code with NsBasic =
<pre>
<pre>
JavaScript
JavaScript

Revision as of 21:22, 26 December 2012

Description of the JQuery uLED

The jQuery uLED is a jQuery plugin written by Marius Stanciu - Sergiu, a plugin that can be used as a countdown, a clock or as a random numbers.

Sample Code with NsBasic

JavaScript

$(document).ready(function(){
   var l0 = new uLED({
      id : "led",
      type : "countdown",
      format : "ddd:hh:mm:ss",
      color : "#eee",
      bgcolor : "#000",
      size : 5,
      rounded : 1,
      led : "font3"
   }); });

End JavaScript


HTML
<div id="led"></div>  
End HTML