[Help] how to add java script adds to johncms 5.0.0

Тема закрыта
150
.
babybeel
how can i add this code
any can help me please :|

<!-- example -->
<script type="text/javascript"> 
    nuffnang_bid = "example";
    document.write( "<div id='example'></div>" );
    (function() {
        var nn = document.createElement('script'); nn.type = 'text/javascript';    
        nn.src = 'example';    
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(nn, s.nextSibling);
    })();
</script>
<!-- example-->


reply please?
this is compatible for JohnCMS 5.0.0? or html adds only is compatible?
.
Люди берегите воду - пейте пиво...
babybeel,
echo '<script type="text/javascript"> 
    nuffnang_bid = "example";
    document.write( "<div id=\'example\'></div>" );
    (function() {
        var nn = document.createElement(\'script\'); nn.type = \'text/javascript\';    
        nn.src = \'example\';    
        var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(nn, s.nextSibling);
    })();
</script>';
.
i will try this thanks you so much
Всего: 3