This commit is contained in:
Krivchikov Dmitry 2015-02-15 16:52:54 +03:00
parent 88efaa3c85
commit 435e01d9f2
1 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
<div class="glyphicon glyphicon-user" id="loginButton" onclick="$('#loginModal').modal('show');" title="Войти для добавления точки"></div> <div class="glyphicon glyphicon-user" id="loginButton" onclick="$('#loginModal').modal('show');" title="Войти для добавления точки"></div>
<?php endif; ?> <?php endif; ?>
<a href="https://vk.com/wikipoints" target="_blank"><img src="/img/vkBigLogo.png" style="margin-left: 185px; margin-top: 0px; position: absolute; display: none;" id="vkBigLogo" /><div class="glyphicon" style="line-height: 0;" title="WikiPoints вКонтакте"><img src="/img/b.png" style="margin-left: -4px; margin-top: 0px; height: 20px;" /></div></a> <a href="https://vk.com/wikipoints" target="_blank"><img src="/img/vkBigLogo.png" style="margin-left: 285px; margin-top: 0px; position: absolute; display: none;" id="vkBigLogo" /><div class="glyphicon" style="line-height: 0;" title="WikiPoints вКонтакте"><img src="/img/b.png?v=2" style="margin-left: -5px; margin-top: 0px; height: 20px;" /></div></a>
</div> </div>
<div id="box"> <div id="box">
<span id="boxClose" onclick="closeBox();">&times;</span> <span id="boxClose" onclick="closeBox();">&times;</span>
@ -110,11 +110,11 @@
$(document).ready(function () { $(document).ready(function () {
if (!$.cookie('doNotShowVkLogo')) { if (!$.cookie('doNotShowVkLogo')) {
setTimeout(function () { setTimeout(function () {
$('#vkBigLogo').show().animate({'margin-left': "-185px"}, 1000); $('#vkBigLogo').show().animate({'margin-left': "-185px"}, 1500);
}, 10000); }, 10000);
setTimeout(function () { setTimeout(function () {
$('#vkBigLogo').animate({'margin-left': "185px"}, 1000, function () { $('#vkBigLogo').animate({'margin-left': "285px"}, 1500, function () {
$('#vkBigLogo').hide(); $('#vkBigLogo').hide();
$.cookie('doNotShowVkLogo', true); $.cookie('doNotShowVkLogo', true);
}); });