Devil
Postări: 1235
Mesaj # 1 |
3:13 PM
18/09/2011
In CSS adaugati :
Code a.userList:link, a.userList:visited, a.userList:active {display:block; text-decoration:none; border-top:1px solid #ccc; margin-top:-1px; background:#EDEDED; padding:5px 5px;} a.userList:hover {text-decoration:none; background:#D8C9C9;} 1
Iar unde vrei sa apara :
Code <div style="margin:-6px; margin-top:6px; padding:0px; border-top:1px solid #ccc; background:#EDEDED; max-height:55px; overflow:auto; overflow-x:hidden;" id="userList"> <div style="clear:both"></div> </div> <script type="text/javascript"> $.get('/index/62',function(e){ fuu = $('cmd[p="content"]',e).text(); $('a',fuu).each(function(i){ $('#userList').prepend('<div style="margin-top:6px; margin-bottom:-16px; padding-right:6px;" align="right"><a href="/index/8" title="Profil"><img style="margin-right:4px; cursor:pointer" src="http://webo4ka.ru/Ucoz4/ctatictika_user_profil.png" border="0" /></a><a href="/index/14-0-0-1" title="PM"><img style="cursor:pointer" src="http://webo4ka.ru/Ucoz4/ctatictika_user_lc.png" border="0" /></a></div><a class="userList '+$(this).attr('class')+'" href="'+$(this).attr('href')+'">'+$(this).text()+'</a><div style="clear:both"></div>'); }); }); </script> 1 2 3 4 5 6 7 8 9 10 11 12 13
Rezultat :

|
Remus
Postări: 286
Mesaj # 2 |
5:36 PM
18/09/2011
Frumos, bravo
|
AliNuTzZz
Postări: 62
Mesaj # 3 |
9:51 PM
17/10/2011
Cum pun Acest script pe Forum? Ve rog frumos ajutatima
|
Devil
Postări: 1235
Mesaj # 4 |
9:57 PM
17/10/2011
|
OktavYan
Postări: 25
Mesaj # 5 |
7:09 PM
19/10/2011
ba da poti ... dar =)) in top part sau botom part of the website =)))
|
Devil
Postări: 1235
Mesaj # 6 |
9:11 PM
19/10/2011
OktavYan, el vrea sa puna script-ul in forum
|
OktavYan
Postări: 25
Mesaj # 7 |
9:20 AM
20/10/2011
pai da ma il pui in top part of the website si asa iti apare mereu oriunde ... :|
|