View Full Version : Size ??
If you have a MP3 Album, and you want to show the complete size for the whole album on yor web page, how do you do that ??
What is the code if there are any ??
S-T (Life Goes On) ??? ??? ???
andrei_c
09-25-2003, 02:17 AM
No, this cannot be done in current builds. This will be fixed in next beta.
andrei_c
09-25-2003, 02:51 AM
On a second thought, I think you can use the following javascript code as temporary workaround.
Put this code between album tags:
<script language=javascript><!--
calcsize(<!----><!---->
<!--[tracksize/]-->+<!----><!---->0);
//--></script>
In addition, put this code inside <head> tag of your HTML:
<script language=javascript><!--
function calcsize(size){ document.write((size/1048576).toPrecision(4)+' MB'); }
//--></script>
It worked for me :)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.