Computer Science Canada

Nice Graphic Window

Author:  Homer_simpson [ Fri Aug 22, 2003 12:16 am ]
Post subject:  Nice Graphic Window pretty nice aint it? =Þ

if u wanna use one of those in yer own site just download this attachment and put it in \images\ directory... then use these 2 functions to draw the window...

function window2begin($x,$y,$w,$h,$titlex,$title){
echo"<font class='windowtitle' style='position:absolute;left:".($x+$titlex).";top:".($y+5).";z-index:10;color:FFFFFF;filter:glow(strength=4,color=FFFF00);'>".$title."</font>
<table border='0' width='100' height='1' cellspacing='0' cellpadding='0' bgcolor='999999' style='position:absolute;left:".$x.";top:".$y.";'>
    <td width='100' height='25'><img border='0' src='images/window2tr.gif' width='13' height='23'></td>
    <td width='100%' height='25'><img border='0' src='images/window2tc.gif' width='100%' height='23'></td>
    <td width='100' height='25'><img border='0' src='images/window2tl.gif' width='13' height='23'></td>
    <td style='background-attachment: fixed; background-image: url(images/window2cl.gif); background-repeat: repeat' width='13' height='1'></td>
    <td width='100' height='1'><table width=".$w." height=".$h."><tr><td>";
function window2end(){
    <td style='background-attachment: fixed; background-image: url(images/window2cr.gif); background-repeat: repeat' width='13' height='1'></td>
    <td width='100' height='1' ><img border='0' src='images/window2bl.gif' width='13' height='20'></td>
    <td width='100' height='1' style='background-attachment: fixed; background-image: url(images/window2bc.gif); background-repeat: repeat'></td>
    <td width='100' height='1'><img border='0' src='images/window2br.gif' width='13' height='20'></td>

u put the text u want in the window(contents in between the 2 functions)
function window2begin($x,$y,$w,$h,$titlex,$title);
function window2end();

$x is x position
$y is y position
$w is width
$h is height
$titlex is the titile position alignment the bigger the value the more further to right
$title is the title

Author:  Amailer [ Fri Aug 22, 2003 12:28 am ]
Post subject: 

1: That url don't wrk
2: ( i dled the stuff and all and checked the script and all ) Its pritty cool :}

Author:  Homer_simpson [ Fri Aug 22, 2003 4:08 pm ]
Post subject: 

TY Very Happy
the url is a webserver( that's hosted on my comp so my comp probably was off when u tried... Confused