Re: Аватар юзера при наведении курсора на ник в статистике.
Добавлено: 31 янв 2009, 07:37
Народ сделайте все по инструкции, а потом уже пишите! 

Все о программировании, веб‑разработке и электронике.
https://web-codes.net/


Код: Выделить всё
xOffset
yOffsetКод: Выделить всё
xOffset=-25;
yOffset=-50;Код: Выделить всё
<?if($_AVATAR$)?>.......$_AVATAR$.......<?endif?>Код: Выделить всё
<?if($_AVATAR$)?>$_AVATAR$<?else?><img alt="" border="0" src="http://i024.radikal.ru/0804/24/86f6e59f34fd.gif" /><?endif?>
.
хинт ненужен!
Код: Выделить всё
<?if($_AVATAR$)?>$_AVATAR$<br /><br /><?endif?>Код: Выделить всё
<?if($_AVATAR$)?><div id="AvatarIMG">$_AVATAR$</div><?else?><div id="AvatarIMG"><img src="http://s4.ucoz.net/img/icon/er.png" border="0" /></div><?endif?>Код: Выделить всё
<script type="text/javascript">
/* Copyright AllCity ~ http://web-codes.net/ */
$('a[class^="group"]').each(function(){
$(this).after('<div style="z-index: 99999; border: 1px solid #F76928; position: absolute; background-color: #FFF999; padding: 10px; display: none;"><img src="http://s28.ucoz.net/img/ma/m/i2.gif" align="absmiddle" border="0" /> Загрузка...</div>');
var UserPageURL = this.href;
$(this).mouseover(function(){
$(this).next().load(UserPageURL + ' div#AvatarIMG', function(){var DelDIV = $('div#AvatarIMG').html(); $('div#AvatarIMG').replaceWith(DelDIV);});
$(this).next().show();
});
$(this).mouseout(function(){
$(this).next().hide();
});
});
</script>