All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need some help with the math in a function Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Most of this is example code of how to use the scrolling status bar. I'm going to switch this up and make it into a class, but for now I need a little help with the math in the "moveTo" Function. I'm trying to get a smooth 0-100 percent adjustment, but I have to start out the width of the table to the negative. In this case -65px.
Any help is greatly appreciated. Just save as an HTA. I know, I know, the format is junk, but right now I'm focusing on the math and the graphics. The code will get cleaned up when it goes into a class.