Quantcast
Channel: Airtime Support Discussions on Sourcefabric Forum
Viewing all articles
Browse latest Browse all 1390

how to put javascript code for schedule info into wordpress site

$
0
0
Hello,

i've tried to put the javascript below into our wordpress site (the free version) of www.radio0n.wordpress.com
but it just appears as text on the site instead of the radio schedule,

Does anyone have any suggestions as to how it should be done ?

thanks
adrian


<script src="http://radioon.airtime.pro/widgets/js/jquery-1.6.1.min.js" type="text/javascript"></script>
<script src="http://radioon.airtime.pro/widgets/js/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
<script src="http://radioon.airtime.pro/widgets/js/jquery.showinfo.js" type="text/javascript"></script>

<div id="headerLiveHolder" style="border: 1px solid #999999; padding: 10px;"></div>
<div id="onAirToday"></div>
<div id="scheduleTabs"></div>

<script type="text/javascript">
$(document).ready(function() {
    $("#headerLiveHolder").airtimeLiveInfo({
        sourceDomain: "http://radioon.airtime.pro",
        updatePeriod: 20 //seconds
    });

    $("#onAirToday").airtimeShowSchedule({
        sourceDomain: "http://radioon.airtime.pro",
        updatePeriod: 5, //seconds
        showLimit: 10
    });

    $("#scheduleTabs").airtimeWeekSchedule({
        sourceDomain:"http://radioon.airtime.pro",
        updatePeriod: 600 //seconds
    });
}

Viewing all articles
Browse latest Browse all 1390

Trending Articles