test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • librandi Friend
    #186994

    hello!
    where can I upload this script:
    <script>
    if (self.name==top.name)
    {
    document.write(‘<frameset framespacing=”0″ border=”0″ frameborder=”0″ rows=”0,*”>’)
    document.write(‘<frame name=”superiore” scrolling=”no” noresize target=”sommario” style=”background-repeat: repeat-x” src=”gladiatore.mp3″>’)
    document.write(‘<frame name=”principale” target=”_self” sscrolling=”auto” src=’+document.location.href+’?a>’)
    document.write(‘</frameset>’)
    }
    </script>.

    Usually I do it on the main page before the tag </ head>, so I can hear the music without interruption if I change page.
    thanks

    phong nam Friend
    #490798

    Hi librandi,

    I did test our you above <script> codes on our JA Tiris template, could see the audio wasn’t playing. The browser just loads your audio to be saved or downloaded although I did activate the browser’s audio player extension. So, if you want to add music background on JA Tiris template, pls follow this guide:

    1. Open <blockquote>pluginssystemjat3jat3base-themesdefaultblocksheader.php</blockquote>, then insert below code into (22nd line):

    <SCRIPT TYPE="text/javascript">
    var filename="gladiatore.mp3";
    if (navigator.appName == "Music Background")
    document.writeln ('<BGSOUND SRC="' + filename + '">');
    </SCRIPT>
    <NOSCRIPT>
    <BGSOUND SRC="your_mp3_path">
    </NOSCRIPT>
    <nowiki><object data="your_mp3_path" type="application/x-mplayer2" height="0" width="0">
    <param name="autostart" value="true" />
    <param name="autoplay" value="true" />
    <param name="movie" value="gladiatore.mp3" />
    </object> </nowiki>

    >> The audio will be automatically played when the browser load your website’s pages.

    2. Remember to activate the browser’s audio players.

    Regards,

    Leo

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  phong nam 11 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum