wamsoftware52
01-08-2008, 05:26 AM
Any help would be great... hopefully I phrase what I'm trying to do so it makes sense...
Basically I have a webpage that displays variable readings in text box fiels, I want the ability to display different images next to each text box based on what the value is.
For example is the text box value (that is automatically populated by an OPC program) = 1 then I want to see 1.jpg next to it.
If the same field = 2, then I want to see 2.jpg next to it. Even a range of numbers - maybe if the value is between 1 - 5 then show low.jpg.
I will have multiple auto populated text fields on this page, therefor I'll need multiple variable (dynamic) images to be placed.
To give a little more background; this page will give my customers readings of internal fluid levels on a piece of machinery on their property (via an OPC communication from their machine to my server). If a certain fluid is low I want to show a red "X" logo next to it, or a yellow warning sign.
If a different level is low I want to show a big red Stop sign next to it.
If a third level is good then I want a smiley face to the side of that reading.
Hopefully this all made sense and maybe somebody can even help me out.
Thanks so much!!
Basically I have a webpage that displays variable readings in text box fiels, I want the ability to display different images next to each text box based on what the value is.
For example is the text box value (that is automatically populated by an OPC program) = 1 then I want to see 1.jpg next to it.
If the same field = 2, then I want to see 2.jpg next to it. Even a range of numbers - maybe if the value is between 1 - 5 then show low.jpg.
I will have multiple auto populated text fields on this page, therefor I'll need multiple variable (dynamic) images to be placed.
To give a little more background; this page will give my customers readings of internal fluid levels on a piece of machinery on their property (via an OPC communication from their machine to my server). If a certain fluid is low I want to show a red "X" logo next to it, or a yellow warning sign.
If a different level is low I want to show a big red Stop sign next to it.
If a third level is good then I want a smiley face to the side of that reading.
Hopefully this all made sense and maybe somebody can even help me out.
Thanks so much!!