P ure DHTML progress bar that resembles the one seen in Window XP's startup screen. All visual aspects of the bar can be customized, and the script can be invoked multiple times to display multiple bars on the same page.
Note: This script by default doesn't perform any action other than animating the progress bar. It's up to you to create helper functions to accomplish any relevant tasks.
For example: (On a Splash Page Intro* that has images on the next page) Have the animated WIN XP Progress Bar on the Splash Page with a little caption something like; "This page will transition when all our images are loaded". Grab the below link (that will open in a new browser window to see a working example.
[ Working Example ]
* Grab the below link to see what is a "Splash Intro" and howto add one into your site.
W e have tested the code in IE5.5, IE6.0, Firefox0.9.1, Opera7.54 and Netscape7.02. This script worked well in all platforms with no variations observed.
D epending on your knowledge of HTML and java scripts, this is an easy three (3) part copy and paste code with an upload of an external .js file. The first part of the code will be inserted into the <HEAD> section of the document. This is the part that will be calling the external .js file called xp_progress.js. See below example:
<HEAD>
<script language="javascript" src="xp_progress.js">
/***********************************************
* WinXP Progress Bar- By Brian Gosselin- http://www.scriptasylum.com/
* Script featured on Dynamic Drive- http://www.dynamicdrive.com
* Please keep this notice intact
***********************************************/
</script>
</HEAD>
T he last part of the code wil be pasted anywhere within the <BODY> section you want this effect to appear. And to answer your next question, the answer is "Yes", you can add this animated progress bar in more than one location on a single page. Just add the <BODY> section of code in the various places on your page to achieve this effect. Below are where you can recongifure the different aspects of the progress bar. Play around will the different attributes until you get the effect you want.
<script type="text/javascript">
createBar(300,15,'white',1,'black','blue',85,7);
</script>
T he last thing we will explain are the parameters within the "createBar( )".
To customize the look of the progress bar, simply pass in different values into createBar():
createBar(width,height,'backgroundcolor',borderwidth,'bordercolor','blockcolor',scrollspeed,blockcount);Definitions Of createBar Terms
Note Of Importance: On any page you are going to have this effect on or any page that will link to a page this effect is on, be sure of one thing within either the linking URL or the URL this effect is on. Be sure you "Do Not" have the backslash-forward slash / (which ever you call it) at the end of the linking URL. If you do, you will get the little yellow triangle with the error message in the task bar of "Done, but with errors on page". The effect will also not be visible. If this sounds confusing, see the below example:
S elect the links above to see what we are explaining about the Correct and Incorrect URL address.
W
e hope our tutorial was easy to follow and we covered everything in detail. If you would like to add this effect into your pages, grab the respective below link and you are there. If you have any problems with this or anything else, feel free to consult our [ FAQ ] and if you can't find the answer there, [ contact us ].
[ Get Code Here ]
[ Rate This Page ]
Search Our Site By Individual letter
[ A ]
[ B ]
[ C ]
[ D ]
[ E ]
[ F ]
[ G ]
[ H ]
[ I ]
[ J-K ]
[ L ] |
Little Tips Directory [ Page 1 ] [ Page 2 ] [ Page 3 ] [ Page 4 ] [ Page 5 ] [ Page 6 ] [ Page 7 ] |
[ Index Page 1 ]
[ Index Page 2 ]
[ Index Page 3 ]
[ Index Page 4 ]
[ Index Page 5 ] [ Index Page 6 ] [ Index Page 7 ] [ Index Page 8 ] [ Index Page 9 ] [ Index Page 10 ] [ Index Page 11 ] [ Index Page 12 ] [ Index Page 13 ] [ News Letter Archives ]
[ Navigation Page ]
[ Archives Of Published Material ] |
If you are part of the ever growing number of webmasters who enjoy
sharing your knowledge with others on web design, join The
Consigliere Ltd. web ring to broaden your scope of exposure.
Join Today
This Site Was Built And Is Maintained Exclusively by
The Webmaster @ Consigliere Ltd.
Copyright © Consigliere Ltd., All Rights Reserved. 2001-