I need some help creating an if Statement in VBScript.
I am using frontpage 2000 with vbScript code.
On the top of my page, i have some text boxes where the user enters values and press the button calculate.
I would like to show the bottom part of the screen where the result of the calculations are only showed when the user clicks the "Calculate" button. Before that, the user only sees the top of the page.
I have tried different approaches but the i have decided that two of them would be the more effective ones.
1- I can cover the bottom half of the calculator with a picture and then when the button is clicked the picture disappears.
2 - the sencod option would be creating an if statement where my html code will be added after the validation of the if stament. when i try that i get an error message. it seems like html code cannot go inside VBSCRIPT.
so my questions would be. Do you know how to hide/show pictures in vbscript? Can html code be used inside vbscript section? if it is possible, how should i go about it?
if this helps:
the name of the picture is texas, the name of the form is Calculator
and the tables that i want to hide have several text boxes inside
Thanks in Advance,