var fDesc=new Array(); fDesc[0] = "Destiny Data Systems Seven Segment Display is a JavaScript widget emulating the LED or LCD displays commonly used on electrical and electronic equipment to display numerical information.

All you need to do is include the .js file in your page, add an <svg> element, and create a SevenSegmentDisplay object in your code. You can then set the following properties:

NumberOfDigits
NumberOfDecimalPlaces
DecimalPointType (Fixed or Floating)
Value
BackgroundColor
LitSegmentColor
UnlitSegmentColor
or choose a built in ColorScheme"; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }