rejetto forum

MOD S3M XM IT player for Terayon template

Guest · 6 · 10363

0 Members and 1 Guest are viewing this topic.

xSh4r3z

  • Guest
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
« Last Edit: October 22, 2008, 10:12:21 AM by xSh4r3z »


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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.


xSh4r3z.

  • Guest
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  :-\


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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'.


Offline Giant Eagle

  • Moderator
  • Tireless poster
  • *****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
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);


Offline Bers

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
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 ?