| |
========================================
This is JavaScript Byte Budget..it's one simple grad width variable width so after you write the cell, then you must tell the browser how wide it is. You do this by writing the width in the string. This is HTML so put the width in quotes, then you must end the cell.
<script>
var t = "<center><table border=0 cellspacing=0 cellpadding=0><tr>";
var pos = "<td bgcolor=black gradcolor=gold gradangle=90 height=5 width=";
var neg = "<td bgcolor=black gradcolor=red gradangle=-90 height=5 width=";
var E = "></td>";
var et = "</tr></table></center>";
with(document){
write(t+pos+"20"+E+neg+"20"+E+et);
write(t+neg+"25"+E+pos+"25"+E+neg+"20"+E+pos+"20"+E+neg+"25"+E+pos+"25"+E+et);
write(t+pos+"20"+E+neg+"20"+E+pos+"20"+E+neg+"20"+E+pos+"20"+E+neg+"20"+E+pos+"20"+E+neg+"20"+E+pos+"20"+E+neg+"20"+E+et);
}
</script>
|
Back
| |