• Страница 1 из 1
  • 1
Модератор форума: ๖ۣۜRanDomschik  
Генератор статуса МАЙЛ.РУ
Scotch™
  • Дата: Пятница, 15-Май-2009, 01:02:22
  • Сообщение # 1
  • Администратор
  • 507 Сообщений:
  • 25 Награды:
Репутация: 49
Code
<!-- Статус Агент@mail.ru modified by Vanofuture -->  
<input id="email" type="text" style="width:140px ">  
<input type="submit" onClick="statusimage_bbcode();statusimage();" class="but" value="Получить код!">  
<table><tr>  
<td style="display:none;" id="status_div">  
<h3>Ваш html код:</h3>  
<textarea readonly id="stcode" cols="20" rows="3"></textarea>  
<script>  
function statusimage()  
{  
var a = document.getElementById('email').value;  
if(a.indexOf('@mail.ru')!=-1 || a.indexOf('@bk.ru')!=-1 || a.indexOf('@list.ru')!=-1 || a.indexOf('@corp.mail.ru')!=-1 || a.indexOf('@inbox.ru')!=-1){  
document.getElementById('status_div').style.display = '';  
document.getElementById('stcode').value='<a href="http://www.mail.ru/agent?message&to='+a+'"><img src="http://status.mail.ru/?'+a+'" width="13" height="13" title="Статус в Агент@mail.ru" border="0"></a>';  
} else {  
alert('Неправильный E-mail!')  
}  
}  
</script>  
</td>  
<td style="display:none;" id="status_div_bbcode">  
<h3>Ваш BB-код:</h3>  
<textarea readonly id="stcode_bbcode" cols="20" rows="3"></textarea>  
<script>  
function statusimage_bbcode()  
{  
var a = document.getElementById('email').value;  
if(a.indexOf('@mail.ru')!=-1 || a.indexOf('@bk.ru')!=-1 || a.indexOf('@list.ru')!=-1 || a.indexOf('@corp.mail.ru')!=-1 || a.indexOf('@inbox.ru')!=-1){  
document.getElementById('status_div_bbcode').style.display = '';  
document.getElementById('stcode_bbcode').value='[img]http://status.mail.ru/?'+a+'[/img]';  
}  
}  
</script>  
</td></tr></table>  
<!-- Статус Агент@mail.ru -->


 
ph0enixx
  • Дата: Суббота, 10-Окт-2009, 21:16:32
  • Сообщение # 2
  • Пользователи
  • 1 Сообщений:
  • 0 Награды:
Репутация: 0
Братец опиши по подробнее ! что куда вставлять
 
  • Страница 1 из 1
  • 1
Поиск: