Introdu in casuta de mai jos ID-ul pe care vrei sa-l verifici
JavaScript pentru a afla daca prietenul de pe Yahoo messenger este online
<script type="text/javascript" xml:space="preserve">
function check(user) { document.getElementById('resultMess').innerHTML = 'Userul <b>'+user+'</b> este '+'<img src="http://opi.yahoo.com/online?u='+user+'"/>'+ '</p>
'; }
</script> <br />
<div align="center">
<img alt="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwc3y7lAq8VZRDa2G_Ujp4cVIz3qCPg5KvMdFn1xr6wGnQHPUkAijJliO4muyKsrHIKse4pmubVBWHuk3g4UuzxDu9UgZUkZPI_4LdNMyniF7Y1aah4irywlcH_Ca7o6gkj1_2Im3irwI/" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwc3y7lAq8VZRDa2G_Ujp4cVIz3qCPg5KvMdFn1xr6wGnQHPUkAijJliO4muyKsrHIKse4pmubVBWHuk3g4UuzxDu9UgZUkZPI_4LdNMyniF7Y1aah4irywlcH_Ca7o6gkj1_2Im3irwI/" width="100" /></div>
<div align="center">
<span style="color: orangered;">Introdu in casuta de mai jos ID-ul pe care vrei sa-l verifici</span></div>
<form action="javascript:check(document.getElementById('user_id').value)" style="border: 0px none; padding: 1px; text-align: center;">
<span style="color: lightyellow;"></span> <span style="color: lightyellow;"><input id="user_id" name="user_id" onfocus="this.value=''" style="height: 25px; width: 160px;" value="" /><br /><span style="background-color: white; color: lightyellow; font-weight: 700;"><a href="javascript:%20check(document.getElementById('user_id').value)"><span style="color: red; font-size: 10pt;">VERIFICA</span></a></span></span><br />
<span style="color: lightyellow;"></span><br />
<div id="resultMess">
</div>
</form>
Ial si tu si testeazal Succes
function check(user) { document.getElementById('resultMess').innerHTML = 'Userul <b>'+user+'</b> este '+'<img src="http://opi.yahoo.com/online?u='+user+'"/>'+ '</p>
'; }
</script> <br />
<div align="center">
<img alt="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwc3y7lAq8VZRDa2G_Ujp4cVIz3qCPg5KvMdFn1xr6wGnQHPUkAijJliO4muyKsrHIKse4pmubVBWHuk3g4UuzxDu9UgZUkZPI_4LdNMyniF7Y1aah4irywlcH_Ca7o6gkj1_2Im3irwI/" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwc3y7lAq8VZRDa2G_Ujp4cVIz3qCPg5KvMdFn1xr6wGnQHPUkAijJliO4muyKsrHIKse4pmubVBWHuk3g4UuzxDu9UgZUkZPI_4LdNMyniF7Y1aah4irywlcH_Ca7o6gkj1_2Im3irwI/" width="100" /></div>
<div align="center">
<span style="color: orangered;">Introdu in casuta de mai jos ID-ul pe care vrei sa-l verifici</span></div>
<form action="javascript:check(document.getElementById('user_id').value)" style="border: 0px none; padding: 1px; text-align: center;">
<span style="color: lightyellow;"></span> <span style="color: lightyellow;"><input id="user_id" name="user_id" onfocus="this.value=''" style="height: 25px; width: 160px;" value="" /><br /><span style="background-color: white; color: lightyellow; font-weight: 700;"><a href="javascript:%20check(document.getElementById('user_id').value)"><span style="color: red; font-size: 10pt;">VERIFICA</span></a></span></span><br />
<span style="color: lightyellow;"></span><br />
<div id="resultMess">
</div>
</form>