Simple Like That > Web Apps > JavaScript

Link Application Type Application Code Features
Opening Page in a New Window Passive onLoad, open()
     
Redirecting to Another Page Passive location.replace(url)
     
Detecting Browsers Passive navigator.*
     
Document Object Passive document.title, document.writeln()
     
Simple Sequential Code Interactive (runtime input) String manipulation: concatenation (+)
prompt(), alert()
 
String Format Passive String formatting: fontcolor(), bold(), italics(), strike(), blink()
 
String Prototype User Defined Method String.prototype.*, new String(""), document.write()
     
Decision Statement Passive (boolean_expression) ? true_result : false_result
[similar to Excel's =If(boolean_expression, true_result, false_result)]
     
Quadratic Equation Interactive (runtime input) if-else if - else, numeric expressions, Math.sqrt(), alert()
     
Repetetive Structure (for) Passive for(), Array(), document.writeln()
     
Repetetive Structure (while) Passive while(), Array(), document.writeln()
     
Split String Passive function, for(), Math.random(), Array, split()
     
Sorting Arrays Interactive (runtime commands)  Array(), sort(), sort(compare)
     
Swapping Images Active (on mouse over)  Array(), onMouseOver, onMouseOut, document.images[]
     
Image Transition (IE only) Passive onload, image.filters.blendTrans.Apply(), image.filters.blendTrans.Play(), image.src