На сайте присутствует кнопка:
При нажатии на нее:
Ссылка в рисунке ведет на страницу регистрации. Рисунок виден только гостям.
Code
<?if(!$USER_LOGGED_IN$)?><script type="text/javascript">
$(function($) {
$("#onlinehelp img").hover(
function () {
$(this).animate({right: '0'}, {queue:false, duration: 350});
//$(this).css('right', '0');
},
function () {
$(this).animate({right: '-160px'}, {queue:false, duration: 350});
// $(this).css('right', '-160px');
}
);
});
</script>
<a id="onlinehelp" href="$REGISTER_LINK$" onclick="webChatOpen();return false;"><img alt="Регистрация" src="http://lifecool.ru/other_img/registration.png" /></a>
<style type="text/css">
#onlinehelp img {
position: fixed;
top:40px;
right: -160px;
z-index: 99999;
cursor: pointer;
display: block;
}
</style>
<?endif?>
Установка.
Разместите предложенный код в глобальном блоке (право или низ). Счастье не замедлит себя проявить 