Efect cand este un mesaj nou
Pagina 1 din 1 • Distribuiţi
Efect cand este un mesaj nou
Cum pot face si eu asa?
Ultima editare efectuata de catre AlexCalin in Lun Oct 26, 2015 7:23 pm, editata de 1 ori
Re: Efect cand este un mesaj nou
Buna dimineata,
poftim:
poftim:
- Cod:
<div id="boardIndex" class="clearfix">
<div id="boxWrap">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="borderwrap">
<div class="maintitle floated clearfix">
{catrow.tablehead.L_FORUM}
<div class="contract" id="b{catrow.tablehead.ID}" onclick="toggleCategory('{catrow.tablehead.ID}');">
</div>
</div>
<div class="maincontent" id="{catrow.tablehead.ID}">
<table cellpadding="0" cellspacing="0" class="ipbtable index-box">
<thead>
<tr>
<th class="statusIcon"> </th>
<th class="forum">{L_FORUM}</th>
<th class="last post-info">{L_LASTPOST}</th>
</tr>
</thead>
<tbody>
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="row1 centered"><span class="status clearfix">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" class="icon"/>
</span>
</td>
<td class="row2 icon">
<div class="par forum-name">
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<p class="forum-desc">
{catrow.forumrow.FORUM_DESC}
</p>
</div>
<p>
<span class="topic4r stat4r">topicuri: <strong>{catrow.forumrow.TOPICS}</strong></span><span class="post4r stat4r">mesaje: <strong>{catrow.forumrow.POSTS}</strong></span><span class="sub4r stat4r">{catrow.forumrow.LINKS}</span>
</p>
</td>
<td class="row1">
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="stat4r">
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br/>
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST} </span>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
</div>
<script type="text/javascript">//<![CDATA[
$(".sub4r.stat4r").each(function() {var sub = $(this);if (!sub.is(":empty")) {sub.contents().filter(function() {return this.nodeType === 3;}).remove().end().filter("a").wrap("<li></li>");sub.wrapInner('<ul class="subLink"></ul>').append("Forumuri: <strong>" + sub.find("a").length + "</strong>");}});$(".status > img").attr("src", function() {var $descIcon = $(this).closest("td").next().find('.forum-desc > img[alt^="http://"][style="float:left"]');$descIcon.remove();return $descIcon.attr("src");});(function() {$(".forumtitle", "#boardIndex").after(function() {var a = this.href.match(/\/f(\d+)-/)[1];$(this).closest("tr").attr({"data-id": a,"class": "childForum zzBox_" + a});return ' <i data-id="' + a + '" class="zzFavourite zzLove_' + a + ' fa fa-heart fa-1"></i>'});$("#boxWrap", "#boardIndex").prepend('<div id="favouriteBox" style="display: none; border-color:#FF0052;" class="borderwrap"><div class="maintitle floated clearfix" style="background: #FF0052;"><h2>Preferate</h2><div class="contract" id="bfv" onclick="toggleCategory(\'fv\');"> </div></div><div class="maincontent" id="fv"><table cellpadding="0" cellspacing="0" class="ipbtable index-box"><thead><tr><th class="statusIcon"> </th><th class="forum">Di\u1ec5n \u0110\u00e0n</th><th class="last post-info">B\u00e0i g\u1eedi sau c\u00f9ng</th></tr></thead><tbody></tbody></table></div></div>').on("click",".zzFavourite", function() {var a = $(this),b = a.data("id"),b = $(".zzBox_" + b);a.closest("#favouriteBox").length ? (b.last().show().closest(".borderwrap").show(), b.first().remove(), $(".childForum", "#favouriteBox").length || $("#favouriteBox").hide()) : ($("#favouriteBox:hidden").show(), $("tbody", "#favouriteBox").append(b.clone()), b.hide(), a = a.closest(".borderwrap"), a.find(".childForum:visible").length || a.hide());var c = [];$(".zzFavourite", "#favouriteBox").each(function() {c.push($(this).data("id"))});my_setcookie("zzFavourite",c.join("|"), !0)});var c = my_getcookie("zzFavourite");c && $.each(c.split("|"), function(a, b) {$(".zzLove_" + b).click()})})();//]]> </script>
Subiecte similare
» Cum pun efect atunci cand primesc mesaj privat
» Efect cand dai pe Bine ai venit si Notificari
» Cand scriu un mesaj nu imi apare nimic
» Efect atunci cand duci click-ul pe un nume de subiect in index
» Cum fac cand se inregistreaza sai apara un mesaj nou
» Efect cand dai pe Bine ai venit si Notificari
» Cand scriu un mesaj nu imi apare nimic
» Efect atunci cand duci click-ul pe un nume de subiect in index
» Cum fac cand se inregistreaza sai apara un mesaj nou
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum