Skin: Dazzle

Vezi subiectul anterior Vezi subiectul urmator In jos

Skin: Dazzle

Mesaj Scris de Admin la data de Sam 20 Aug - 6:15

Temă: Dazzle
Autor: Audentio
Versiune: punbb
Adapdat de: RolandoHM
Demo Forum (Dacă aveţi):
Imagini:

Download:
Coduri JavaScript
Cod:

  $(function(){$("a.gen.user[href^='/u'] ,.contenedor a[href^='/u'],.tcr a.gensmall[href^='/u'] ,.tcl.tdtopics a[href^='/u'] ,.user-ident .username  a[href^='/u']").hover(function(){var b=$(this).parent().height()-35,c=$(this).position().left-20,b=$(this).position().top-b,name=$(this).text(),id=$(this).attr("href").slice(2);$("#user-hoverbox").remove();$(this).after('
    <div id="user-hoverbox" style="left: '+c+"px; top: "+b+'px;">
    <div id="user-hoverbox-inner">
    <a href="/u'+id+'"><i class="icon-user"></i> User Profile</a>
    <a href="/privmsg?mode=post&u='+id+'"><i class="icon-comments"></i> Send Private Message</a>
    <a href="/profile?mode=email&u='+id+'"><i class="icon-envelope-alt"></i> E-mail</a>
    <a href="/spa/'+name+'"><i class="icon-file-alt"></i> Find all posts</a>
    <a href="/sta/'+name+'"><i class="icon-folder-open"></i> Find all threads</a>
    </div>
    </div>
    ');t=setTimeout(function(){$("#user-hoverbox").hide()},3E3);$("#user-hoverbox").mouseover(function(){clearTimeout(t)});$("#user-hoverbox").mouseleave(function(){$(this).remove()});return!1})});

  jQuery(document).ready(function() {
    jQuery(".loginlink").toggle(function(){
    jQuery(".user-dropdown-box").slideToggle('fast');
    }, function(){jQuery(".user-dropdown-box").slideUp('fast');});});

 
 jQuery(document).ready(function(){var p=0,amd='http://i.imgur.com/uhr3VJe.png',noneamd='http://i.imgur.com/illaBi9.png';jQuery('.main-head.mybb').each(function(){jQuery(this).next().attr('id',p);jQuery(this).next().css('display',my_getcookie('cat-'+jQuery(this).next().attr('id')));jQuery(this).append('<img src="'+amd+'" id="toggle-right" style="cursor:pointer;float: right;margin-top: -15px;"/>');jQuery(this).find('#toggle-right').click(function(){var i=jQuery(this).closest('.main-head.mybb').next();if(i.css('display')=='none'){i.slideToggle();jQuery(this).attr('src',amd);my_setcookie('cat-'+jQuery(this).closest('.main-head.mybb').next().attr('id'),'block',1,0)}else{i.slideToggle();jQuery(this).attr('src',noneamd);my_setcookie('cat-'+jQuery(this).closest('.main-head.mybb').next().attr('id'),'none',1,0)}});p++})});

avatar
Admin
Administrators

Reputation : 32
Posts : 797
Puncte : 1455

Vezi profilul utilizatorului http://forums.rpgwars.net

Sus In jos

Vezi subiectul anterior Vezi subiectul urmator Sus


 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum