Changed onair animation
This commit is contained in:
@@ -113,17 +113,21 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.post_container .post_tags li a {
|
||||
background-image: linear-gradient(to right, #0d1ca3, #003cb9, #0056cb, #0070db, #0189e9, #0189e9, #0189e9, #0189e9, #0070db, #0056cb, #003cb9, #0d1ca3);
|
||||
}
|
||||
</style>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
var $onAirIcon = $('#items .onair span.fa');
|
||||
setInterval(function() {
|
||||
$onAirIcon.removeClass('fa-play');
|
||||
setTimeout(function() {
|
||||
$onAirIcon.addClass('fa-play');
|
||||
}, 500);
|
||||
}, 1000);
|
||||
var $onAir = $('.podcast_items .onair');
|
||||
setInterval(function() {
|
||||
$onAir.animate({"background-position": "100px"});
|
||||
setTimeout(function() {
|
||||
$onAir.animate({"background-position": "0"});
|
||||
}, 400);
|
||||
}, 800);
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user