Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Need some help with the math in a function

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,59881
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
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!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Need some help with the math in a function - 5/6/2008 6:44:53 AM   
  Rischip


Posts: 379
Score: 2
Joined: 3/26/2007
Status: offline
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.


      

_____________________________

Rischip
Author of - The Grim Linker
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need some help with the math in a function Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts