![]() Topic awaiting preservation: Dynamic width of element (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: :morF |
![]() OK... keeping in mind that I'm not that familiar with JavaScript itself, but I can program, so if you explain it I'll probably pick it up |
Nervous Wreck (II) Inmate From: |
![]() Something like this might work...obviously you would use your own data. Or maybe you will need to call the settimeout function for this. I can't remember. |
Maniac (V) Inmate From: Cell 666 |
![]() This might help: http://slayeroffice.com/code/progressBar/ |
Bipolar (III) Inmate From: London |
![]() I would use this to change the width of an element: code: document.getElementById('yourElementId').style.width = '55px';
code: document.getElementById('yourElementId').firstChild.nodeValue = 'Your new text here';
|
Paranoid (IV) Inmate From: France |
![]() IMHO, the important thing is the server side language. Does it allow you to load parts of the file whenever you want and retrieve the size of the file before its completely uploaded. If it does, you can output few lines of javascript to update an HTML element when you're not loading the file on the server. |