MP3tunes Sideload Documentation

Provided below are step-by-step instructions for partners to integrate sideload functionality into their websites.

  1. Include this JavaScript block between the <head>...</head> tags of each page on the site that need Sideload links. This pulls in the JavaScript functions needed to do the actual Sideload.

    <script language="JavaScript" type="text/javascript" src="http://www.mp3tunes.com/sideload.js"></script>
    
     
  2. Add sideload buttons for music files. Replace url_to_file with the url where the music file is located. Replace url_to_image with the url where a sideload image is located. By default, the partner token 9999999999 may be used. More about partner tokens

    <a href="javascript:Sideload('url_to_file','9999999999');" class="slignore" onmouseover="self.status='Sideload Track to MP3tunes.com Locker'; return true;" >
    <img src="url_to_image" border="0" width="x" height="y" alt="" />
    </a>
    
     
  3. Use the attribute class="slignore" to hide regular links to music files from the Sideload for Internet Explorer and Sideload for Firefox plugins.

    <a href="url_to_file" class="slignore">...</a>

    If regular links already have a class attribute, add slignore to the attribute separated by a space.

    <a href="url_to_file" class="existing_class slignore">...</a>