frameit("SOURCE OF THIS EXAMPLE PAGE","000000",8);
$text='<?
//This is a handy function to give the existing table the round corners
function frameit($text,$color,$s) {
if ( !$s )
$s=8;
$table="<table width=100 border=0 cellpadding=0 cellspacing=0 bgcolor=#$color>
<tr>
<td align=left valign=top> <img src=corner.html?lt=1&s=$s&ci=$color&co=eeeeee> </td>
<td> <img src=onepix.html> </td>
<td align=right valign=top> <img src=corner.html?rt=1&s=$s&ci=$color&co=eeeeee> </td>
</tr>
<tr><td colspan=3 nowrap> $text </td> </tr>
<tr>
<td align=left valign=bottom> <img src=corner.html?s=$s&lb=1&ci=$color&co=eeeeee> </td>
<td> <img src=onepix.html> </td>
<td align=right valign=bottom> <img src=corner.html?s=$s&rb=1&ci=$color&co=eeeeee> </td>
</tr>
</table>";
print $table;
}
// Call the function
frameit("Plain text");
frameit("<b>format text</b>","bbbbbb",10);
frameit("$forms");
frameit("$existing_table");
?>';
frameit("$text", "ffffff",16);
?>
frameit(" ", "0000ff",6); ?> |
frameit(" ", "ff0000",6); ?> |
frameit(" ", "cc0000",6); ?> |
frameit(" ", "ffff33",6); ?> |
frameit(" ", "00ff66",6); ?> |
| Home | Download Source | Download onepix Source | Email |
|