$(document).ready(function() { $('#btn1666').hover(function(){ $(this).remove();
$.getJSON('https://www.googledrive.com/host/0B5...........................Nnc', function(data) {for(var i=0;i<data.users.length;i++){.......................
......
$(document).ready(function(){
if ($('#t').css('display') == 'block') {
////
} else {
/// ваш код примерно так {$('#ms').css({'bottom':'2%'} );
}
});
<script type="text/javascript">
$(document).ready(function() { $('#btn1666').hover(function(){
$.ajax({ url: "canal22.php",cache: false,success: function(html){ $("#con").html(html); }
}); }); }); </script><div id="con"><a href="#коллекция" id="btn1666">коллекция каналов и роликов</a></div>
$(document).ready(function() {var bodyHeight = $("body").height(); var vwptHeight = $(window).height();
if (vwptHeight > bodyHeight) {
$("#player").css({'bottom':'8%', 'position':'fixed'});} });
<div id='player'></div>
#player { display: block; height: 35%; width: 35%; z-index: 2; }