Results 1 to 3 of 3

Thread: Size ??

  1. #1
    Join Date
    Sep 2003
    Location
    Posts
    4

    Default 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) ??? ??? ???

  2. #2
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Size ??

    No, this cannot be done in current builds. This will be fixed in next beta.

  3. #3
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Size ??

    On a second thought, I think you can use the following javascript code as temporary workaround.

    Put this code between album tags:

    Code:
    <script language=javascript><!--
    calcsize(<!--[volume]--><!--[track]-->
    <!--[tracksize/]-->+<!--[/track]--><!--[/volume]-->0);
    //--></script>
    In addition, put this code inside <head> tag of your HTML:

    Code:
    <script language=javascript><!--
    function calcsize(size){ document.write((size/1048576).toPrecision(4)+' MB'); }
    //--></script>
    It worked for me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •