Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • minas69 Friend
    #174346

    Hi all,

    I need to add the following javanscript code to my Ja tiris default template :
    <!DOCTYPE HTML>
    <html>
    <head>
    <title>Easy Fullscreen Background – by plusquare</title>

    <script type=”text/javascript” src=”jquery/jquery-1.6.2.min.js”></script>
    <script type=”text/javascript” src=”jquery/modernizr.custom.26584.js”></script>
    <script type=”text/javascript” src=”jquery/swfobject.js”></script>
    <script type=”text/javascript” src=”js/video_background.js”></script>

    </head>

    <body>
    <script type=”text/javascript”>
    jQuery(document).ready(function($) {
    $(“body”).video_background({ format:”472:296″,
    flv:”video/VH_videoAsset.flv” ,
    formatMobile:”472:296″,
    flvMobile:”video/VH_videoAsset.flv”,
    loop:”true”,
    autoplay:”true”,
    muted:”false”
    });

    });
    </script>

    </body>
    </html>

    What I have to do to use it as background…

    Thanks.
    mina

    Phill Moderator
    #440275

    Not sure what you mean? Ar you struggling to find out where to put that code?

    Any JS can be included by copying the page/default.php file fron the plugins directory to the templates directory. So in your case you would creat a new directory called page in templates>ja_tiris>page and put the default.php file in there. You will find the head tags in that file and put in your js.

    Bear in mind that sometimes there are peoblems mixing js scripts on the same page and doubly so if you have js optimization turned on in the template manager.

    minas69 Friend
    #440311

    Hi phil,

    I already bought this html5 code : http://codecanyon.net/item/easy-video-background/1365012

    Now I want to include this to my site as background.

    Phill Moderator
    #440312

    You will need to speak to the developers of that to ask how to use it.

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

This topic contains 4 replies, has 2 voices, and was last updated by  Phill 12 years, 9 months ago.

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