Экспорт:
Папки
/root/polzovateli/var_null/yaziki-programmirovaniya/javascript/rnd/sonnik
Не экспортировать закрытые директории
Преобразовывать заметки в html
Экспортировать
Применить |
| 2015-07-28 15:12:18 |
<script>
function getRandomArbitary(min, max)
{
return Math.random() * (max - min) + min;
}
$('body').append('<div id="fuck" style="position:fixed; border:0px solid red; z-index:5000; top:0px; left:0px; width:1000px; "><img src="http://alitinform.ru/pic/1.png" ></div><div id="fuck2" style="position:fixed; border:0px solid red; z-index:5000; top:0px; left:0px; width:1000px; "><img src="http://alitinform.ru/pic/1.png" ></div>');
function go_fuck(fuck)
{
var x_1 = getRandomArbitary(-1000, 1000);
var y_1 = getRandomArbitary(-1000, 1000);
var d_1 = getRandomArbitary(0, 2);
$(fuck).css('left', x_1);
$(fuck).css('top', y_1);
if(d_1 > 1)
{
$(fuck).css('display', 'block');
}
else
$(fuck).css('display', 'none');
}
window.interval_quotation = window.setInterval(function(){
go_fuck($('#fuck'));
go_fuck($('#fuck2'));
}, 10000);
window.interval_quotation = window.setInterval(function(){
var set_top = getRandomArbitary(0, 1000);
var set_speed = getRandomArbitary(10, 700);
$('html,body').animate({scrollTop:set_top}, set_speed,function()
{
});
}, 15333);
</script>
function getRandomArbitary(min, max)
{
return Math.random() * (max - min) + min;
}
$('body').append('<div id="fuck" style="position:fixed; border:0px solid red; z-index:5000; top:0px; left:0px; width:1000px; "><img src="http://alitinform.ru/pic/1.png" ></div><div id="fuck2" style="position:fixed; border:0px solid red; z-index:5000; top:0px; left:0px; width:1000px; "><img src="http://alitinform.ru/pic/1.png" ></div>');
function go_fuck(fuck)
{
var x_1 = getRandomArbitary(-1000, 1000);
var y_1 = getRandomArbitary(-1000, 1000);
var d_1 = getRandomArbitary(0, 2);
$(fuck).css('left', x_1);
$(fuck).css('top', y_1);
if(d_1 > 1)
{
$(fuck).css('display', 'block');
}
else
$(fuck).css('display', 'none');
}
window.interval_quotation = window.setInterval(function(){
go_fuck($('#fuck'));
go_fuck($('#fuck2'));
}, 10000);
window.interval_quotation = window.setInterval(function(){
var set_top = getRandomArbitary(0, 1000);
var set_speed = getRandomArbitary(10, 700);
$('html,body').animate({scrollTop:set_top}, set_speed,function()
{
});
}, 15333);
</script>