MSNtv bug. Please reload the page
Scope Scoop

Written by Sally



Audioscopes are a great way to learn Byte Budget. And once you learn how to do this simple script you'll wonder why you did not learn it sooner.

Like all javascript we start and end with the script tag. Then we make our audioscope a "variable".

var a = "<audioscope bgcolor=#000066 border=0 rightcolor=dcdcdc leftcolor=white rightoffset=2 leftoffset=-2 gain=5 height=5 width=300><br>";

Notice the entire HTML is enclosed in quotes but none are used inside the tags. A semicolon follows all variables containing HTML.

Now we tell the browser to write the variable eight times.

with(document){ write(a+a+a+a+a+a+a+a+); }

This is the result.





Back to the Tribune

Counted
2510