computergeek
Programmer
Hello,
I am trying to create an object that resembles a glass or tank on the window. I want to dynamically adjust the level in the glass (tank) based on a data value. Does anyone know how to do this in DHTML or whatever?
This is what I have tried so far...
<TABLE WIDTH="25%" BORDER=3 CELLSPACING=0 CELLPADDING=0>
<TD width="125" height="100" bgcolor=white>
<TABLE WIDTH="25%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TD width="125" height=<%variablepercent%>bgcolor="#99ccff">
</TD>
</TABLE>
</TD>
</TABLE>
Basically I am trying to have a cell with a white background and with a border, then I want a blue cell on top to be dynmically set based on a variable contained within my ASP page.
Any ideas on how to do this? Any DHTML code somewhere that does this?
I am using Visual Interdev 6.0
Thanks,
Computergeek
I am trying to create an object that resembles a glass or tank on the window. I want to dynamically adjust the level in the glass (tank) based on a data value. Does anyone know how to do this in DHTML or whatever?
This is what I have tried so far...
<TABLE WIDTH="25%" BORDER=3 CELLSPACING=0 CELLPADDING=0>
<TD width="125" height="100" bgcolor=white>
<TABLE WIDTH="25%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TD width="125" height=<%variablepercent%>bgcolor="#99ccff">
</TD>
</TABLE>
</TD>
</TABLE>
Basically I am trying to have a cell with a white background and with a border, then I want a blue cell on top to be dynmically set based on a variable contained within my ASP page.
Any ideas on how to do this? Any DHTML code somewhere that does this?
I am using Visual Interdev 6.0
Thanks,
Computergeek