Hi all,

I have been busy trying to get a container around the actual progressBar. All I want is a progressBar Container that's full 100% width, so you can see how much progress still has to be made

example:
+--------------------------------------------------------------------------+
|+----------------------------------+ |
| | progressbarsbar | progressBar Container |
|+----------------------------------+ |
+--------------------------------------------------------------------------+

Now, I have modified the fileprogress.js like below.


var progressBar = document.createElement("div");
progressBar.className = "progressBarInProgress";

var progressBarContainer = document.createElement("div");
progressBarContainer.className = "progressBarBack";
progressBarBack.appendChild(progressBar);

this.fileProgressElement.appendChild(progressCancel);
this.fileProgressElement.appendChild(progressText);
this.fileProgressElement.appendChild(progressStatus);
this.fileProgressElement.appendChild(progressBarBack);

This give's a nice background to the loaderbar, but as soon as the upload begins, the progressbar container disappears.

I guess, to prevent this, i have to edit the following functions:
FileProgress.prototype.reset = function ()
FileProgress.prototype.setProgress = function (percentage) {
FileProgress.prototype.setComplete = function () {
FileProgress.prototype.setError = function () {

Now, I can't get the code to work. The script doesn't work if i assume the childNode[x] is the same as the progressBar childNode (3).

When I make the progressBarContainer childNode[2] it get's displayed, but above the progressbar instead of behind it.

Can anyone help me with this problem?