<font color="ivory">RELOAD</font>



Starter Fluid


These starter scripts are simple examples of ways we can table and scope, besides using straight HTML. They can be used to build an entire piece or pieces within a piece, for each one is complete within itsself. When you were in school, your English teacher probably circled, in red, all the punctuation errors.....then, like now...Punctuation Counts !!

========================================

This is JavaScript Byte Budget..it's one simple grad and all I've done is reverse the angles and add 2 td cells every other row. You can put HTML before AND/OR after the "script" tags. You can put any HTML in the Byte Budget strings as well; just remember that HTML has quotes before it and at the end, in the variables and even in the string. Width and height are stated.



<script>
var t = "<center><table border=0 cellspacing=0 cellpadding=0><tr>";

var pos = "<td bgcolor=black gradcolor=gold gradangle=90 height=5 width=20></td>";

var neg = "<td bgcolor=black gradcolor=red gradangle=-90 height=5 width=20></td> ";

var et = "</tr></table></center>";

with(document){
write(t+pos+neg+et);
write(t+neg+pos+neg+pos+neg+pos+et);
write(t+pos+neg+pos+neg+pos+neg+pos+neg+pos+neg+et);

}
</script>


Code using more variables.
Width VariableH&W Variables


========================================
PHP Byte Budget..

Your server must allow PHP Scripting to use this:

Any HTML may be echoed before OR/AND after or between strings. You can put any HTML in the Byte Budget strings as well; just remember that HTML has quotes before it and at the end, in the variables and even in the string. Width and height are stated.



<?php

$t = "<center><table border=0 cellspacing=0 cellpadding=0><tr>";

$pos = "<td bgcolor=black gradcolor=gold gradangle=90 height=5 width=20></td>";

$neg = "<td bgcolor=black gradcolor=red gradangle=-90 height=5 width=20></td> ";

$et = "</tr></table></center>";

//print table,positive angle, negative angle, close table

echo $t,$pos,$neg,$et;

echo $t,$neg,$pos,$neg,$pos,$neg,$pos,$et;

echo $t,$pos,$neg,$pos,$neg,$pos,$neg,$pos,$neg,$pos,$neg,$et;

?>


Code using more variables.
Width VariableH&W Variables


========================================

This is a While Loop. It says that times is five. So "while" there are less than five, echo(print) this till you reach five. HTML may be added as an echo but it MUST be before AND/OR after The { }. Whatever is put between them will be "looped" five times.



<center>
<?php
$times = 5;
$x = 0;
while ($x < $times)
{
echo "<audioscope bgcolor=black border=0 rightcolor=silver leftcolor=gold rightoffset=2 leftoffset=-2 gain=-45 height=20 width=300>";
++$x;
}
?>
</center>


========================================

Width is five and the variable $width is used as the width instead of a number. While the width is less than or equal to 50 print or echo this scope as many times as you need to, to make the width 50. Add five to the width every time you echo it.













<center>
<?php
$width = 5;

while ($width <= 50 ) {
$width = $width + 5;
echo "<audioscope bgcolor=black border=0 rightcolor=silver leftcolor=gold rightoffset=2 leftoffset=-2 gain=-45 height=20 width=$width><br>";
}
?>
</center>


Big to Small Code
========================================

Toots Sitemap Testy