Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


WebComponent: Progress Bar

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> WebComponent: Progress Bar
  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 >>
 WebComponent: Progress Bar - 1/6/2008 12:59:53 PM   
  TNO


Posts: 1036
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Probably 2-3 times a month we see questions about progress bars. In response, here's a progress bar to implement in your webpages/HTML Applications:

The biggest benefit here is not relying on the <object> tag and assuming that the ActiveX Component is installed.

Put this is a separate library (vbsProgress.vbs in this example)


      

A sample page:

      

And finally the API:

API:
Progress.init() <--do this before using the progress bar so it loads the bar to the page <body onload="Progress.init()"> or similar.
Progress.show() <--Show the progress bar
Progress.hide() <--hide the progress bar
Progress.progress(part,whole) <--update progress

< Message edited by TNO -- 1/6/2008 1:05:36 PM >


_____________________________

Consolidated Script Component: The Acid Test

A universe of complexity...
 
 
Revisions: 2 | Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> WebComponent: Progress Bar 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