rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: xSh4r3z on October 22, 2008, 07:07:13 AM

Title: MOD S3M XM IT player for Terayon template
Post by: xSh4r3z on October 22, 2008, 07:07:13 AM
Hi guys, are new on the forum and I gather the occasion to greet all and particularly rejetto.   
   
I use for a long time hfs with the Terayon template... I have wanted to follow here the contained indications: http://www.rejetto.com/forum/index.php?topic=6087.msg1036294#msg1036294   
applying her to my template, and particularly I have included the form spawnMODBox(target,content,name) in terayon_previewbox.js but nothing to be done ... I don't succeed in making to read the forms audio xm s3m it mod   
   
   
How do I have to do?, con you help me please?.   
Thanks in advance and sorry for my bad english!.



http://www.rejetto.com/forum/index.php?topic=6251.0
Title: Re: MOD S3M XM IT player for Terayon template
Post by: TSG on October 24, 2008, 03:32:01 AM
I do not have the time at the moment, but you would have to do something similar to what they did there. The javascript was changed in the latest builds to repair bugs.
Title: Re: MOD S3M XM IT player for Terayon template
Post by: xSh4r3z. on October 25, 2008, 03:00:41 PM
Quote from: xSh4r3z
up ;)


nessuna soluzione???



www-dot-quippy-dot-de/mod.php


/* Initialise preview box. */
function initPreviewBox(target,file) {
   ext = file.substring(file.lastIndexOf("."),file.length);
   ext = ext.toLowerCase();
    if (disable == false) {
        disable = true;
        setTimeout("disable=false;", 350);
      if(target != boxOpen) {
         if(boxOpen!=null) boxFade(boxOpen,"out");
         if(ext.match(".jpg|.jpeg|.png|.bmp|.tif|.tiff")) spawnIMGBox(target,file);
         else if(ext.match(".flv|.mp3")) spawnRAWRBox(target,file);
         
                        else if(ext==".mod|.it|.xm|.s3m |.nst") spawnMODBox(target,file,file);
                        else if(ext==".swf") spawnSWFBox(target,file);
         else if(ext=="search") spawnSEARCHBox(target,file);
      } else {
         boxFade(boxOpen,"out");
      }
    }
}


help me please  :-\
Title: Re: MOD S3M XM IT player for Terayon template
Post by: TSG on October 29, 2008, 10:40:02 AM
uhm, bumping the post wont help.

We are not going to spend time on this, I was hoping somebody else might know a solution, but it seems you are alone in finding a solution for this.

If you have it ready to fire the MOD box, you now need the 2 functions to organise the content of the box. 'spawnMODBox' and 'setMODBox'.
Title: Re: MOD S3M XM IT player for Terayon template
Post by: Giant Eagle on October 29, 2008, 07:02:01 PM
The one red line you have in the quote, replace it with the following:

Code: [Select]
else if(ext.match(".mod|.it|.xm|.s3m|.nst")) spawnMODBox(target,file,file);
Title: Re: MOD S3M XM IT player for Terayon template
Post by: Bers on December 09, 2008, 04:51:14 PM
Hi guys, are new on the forum and I gather the occasion to greet all and particularly rejetto.   
   
I use for a long time hfs with the Terayon template... I have wanted to follow here the contained indications: http://www.rejetto.com/forum/index.php?topic=6087.msg1036294#msg1036294   
http://www.rejetto.com/forum/index.php?topic=6251.0

you have full code to your adaptation JavaMOD ?