SAAS-811: Insert extra radio page buttons onto player bar
Insert extra buttons onto player bar once the iframe has loaded
This commit is contained in:
parent
77e518eec0
commit
24bfdbaa7f
|
@ -32,7 +32,7 @@
|
|||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
setTimeout( function () {
|
||||
$("#player_iframe").load(function () {
|
||||
$("#player_iframe").contents().find('.bottom_bar').append("<div class='schedule_btn button current' data-tab='tab-1'></div>");
|
||||
$("#player_iframe").contents().find('.bottom_bar').append("<div class='about_us_btn button' data-tab='tab-2'></div>");
|
||||
$("#player_iframe").contents().find('.bottom_bar').append("<div class='login_btn button' data-tab='tab-3'></div>");
|
||||
|
@ -46,7 +46,7 @@
|
|||
$(this).addClass('current');
|
||||
$("#"+tab_id).addClass('current');
|
||||
});
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
// schedule widget tabs
|
||||
$('.tabs li').click(function(){
|
||||
|
|
Loading…
Reference in New Issue