Nelamurire tutorial statistici tab-uri
Pagina 1 din 1 • Distribuiţi
Re: Nelamurire tutorial statistici tab-uri
2. Identificati acest fragment de cod:
- Cod:
cod tutorial
- Cod:
<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
<ul id="explore-nav" style="list-style: none;">
<li id="ex-featured"><a rel="featured" href="#">Statistici forum</a></li>
<li id="ex-core"><a rel="core" href="#" class="current">Cine este conectat ? </a></li>
<li id="ex-jquery"><a rel="jquerytuts" href="#">Legenda</a></li>
<li id="ex-classics" class="last"><a rel="classics" href="#">Tab4</a></li>
</ul>
<div id="all-list-wrap">
<ul id="featured" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div class="main-content">
<div id="stats">
<p>{TOTAL_POSTS}</p>
<p>{TOTAL_USERS}</p>
<p>{NEWEST_USER}</p>
</div> </div> </li>
</ul>
<ul id="core" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;">
<div id="statistici">
<img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
<p class="right">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
{L_WHO_IS_ONLINE}
<!-- END switch_viewonline_nolink -->
</p>
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}
<br />
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
<div class="clear"></div>
</div></li>
</ul>
<ul id="jquerytuts" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div id="tab3"><p>{LEGEND} : {GROUP_LEGEND}</p></div> </li>
</ul>
<ul id="classics" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div id="tab4">Aici puteti adauga orice alt continut</div> </li>
</ul>
</div>
<br>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
<!-- END disable_viewonline -->
Re: Nelamurire tutorial statistici tab-uri
Nu merge. Altcineva?
Re: Nelamurire tutorial statistici tab-uri
1. Mergeti catre:
Panou de Administrare ~> Afisare ~> Template-uri ~> General ~> index_body ~>
2. Identificati acest fragment de cod:
Panou de Administrare ~> Afisare ~> Template-uri ~> General ~> index_body ~>
2. Identificati acest fragment de cod:
- Cod:
<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
<ul id="explore-nav" style="list-style: none;">
<li id="ex-featured"><a rel="featured" href="#" class="current">Statistici forum</a></li>
<li id="ex-core"><a rel="core" href="#">Cine este conectat ? </a></li>
<li id="ex-jquery"><a rel="jquerytuts" href="#">Legenda</a></li>
<li id="ex-classics" class="last"><a rel="classics" href="#">Tab4</a></li>
</ul>
<div id="all-list-wrap">
<ul id="featured" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div class="main-content">
<div id="stats">
<p>{TOTAL_POSTS}</p>
<p>{TOTAL_USERS}</p>
<p>{NEWEST_USER}</p>
</div> </div> </li>
</ul>
<ul id="core" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;">
<div id="statistici">
<img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
<p class="right">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
{L_WHO_IS_ONLINE}
<!-- END switch_viewonline_nolink -->
</p>
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}
<br />
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
<div class="clear"></div>
</div></li>
</ul>
<ul id="jquerytuts" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div id="tab3"><p>{LEGEND} : {GROUP_LEGEND}</p></div> </li>
</ul>
<ul id="classics" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div id="tab4">Aici puteti adauga orice alt continut</div> </li>
</ul>
</div>
<br>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
<!-- END disable_viewonline -->
- Cod:
<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
<ul id="explore-nav" style="list-style: none;">
<li id="ex-featured"><a rel="featured" href="#">Statistici forum</a></li>
<li id="ex-core"><a rel="core" href="#" class="current">Cine este conectat ? </a></li>
<li id="ex-jquery"><a rel="jquerytuts" href="#">Legenda</a></li>
<li id="ex-classics" class="last"><a rel="classics" href="#">Tab4</a></li>
</ul>
<div id="all-list-wrap">
<ul id="featured" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div class="main-content">
<div id="stats">
<p>{TOTAL_POSTS}</p>
<p>{TOTAL_USERS}</p>
<p>{NEWEST_USER}</p>
</div> </div> </li>
</ul>
<ul id="core" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;">
<div id="statistici">
<img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
<p class="right">
<!-- BEGIN switch_viewonline_link -->
<a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
{L_WHO_IS_ONLINE}
<!-- END switch_viewonline_nolink -->
</p>
<p>{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}
<br />
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
<div class="clear"></div>
</div></li>
</ul>
<ul id="jquerytuts" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div id="tab3"><p>{LEGEND} : {GROUP_LEGEND}</p></div> </li>
</ul>
<ul id="classics" style="list-style: none;">
<li style="display: block; padding: 0px; color:black;"><div id="tab4">Aici puteti adauga orice alt continut</div> </li>
</ul>
</div>
<br>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
<!-- END disable_viewonline -->
Re: Nelamurire tutorial statistici tab-uri
Bine ca mi-am salvat codul vechi intr-un notepad.
Cineva care stie sigur sa imi rezolve problema?
Cineva care stie sigur sa imi rezolve problema?
Re: Nelamurire tutorial statistici tab-uri
Acest cod trebuie inlocuit
Cu acesta
- Cod:
<ul id="explore-nav" style="list-style: none;">
<li id="ex-featured"><a rel="featured" href="#" class="current">Statistici forum</a></li>
<li id="ex-core"><a rel="core" href="#">Cine este conectat ? </a></li>
<li id="ex-jquery"><a rel="jquerytuts" href="#">Legenda</a></li>
<li id="ex-classics" class="last"><a rel="classics" href="#">Tab4</a></li>
</ul>
Cu acesta
- Cod:
<ul id="explore-nav" style="list-style: none;"> <li id="ex-core"><a rel="core" href="#">Cine este conectat ? </a></li>
<li id="ex-featured"><a rel="featured" href="#" class="current">Statistici forum</a></li>
<li id="ex-jquery"><a rel="jquerytuts" href="#">Legenda</a></li>
<li id="ex-classics" class="last"><a rel="classics" href="#">Tab4</a></li>
</ul>
Re: Nelamurire tutorial statistici tab-uri
S-au mutat butoanele dar cand dau refresh, tot Statistici forum imi apare.Trebuie sa dau click pe buton ca sa se deschida Cine este conectat..
Re: Nelamurire tutorial statistici tab-uri
Din tutorial, codul javascript executa tabul cu clasa "current", deci trebuie sa fie la cine e online clasa "current" si la statistici sa nu mai fie.
Re: Nelamurire tutorial statistici tab-uri
Nu prea inteleg )
Uite aici codul javascript:
Uite aici codul javascript:
- Cod:
$(function() {
$("#explore-nav li a").click(function() {
// Figure out current list via CSS class
var curList = $("#explore-nav li a.current").attr("rel");
// List moving to
var $newList = $(this);
// Set outer wrapper height to height of current inner list
var curListHeight = $("#all-list-wrap").height();
$("#all-list-wrap").height(curListHeight);
// Remove highlighting - Add to just-clicked tab
$("#explore-nav li a").removeClass("current");
$newList.addClass("current");
// Figure out ID of new list
var listID = $newList.attr("rel");
if (listID != curList) {
// Fade out current list
$("#"+curList).fadeOut(300, function() {
// Fade in new list on callback
$("#"+listID).fadeIn();
// Adjust outer wrapper to fit new list snuggly
var newHeight = $("#"+listID).height();
$("#all-list-wrap").animate({
height: newHeight
});
});
}
// Don't behave like a regular link
return false;
});
});
Re: Nelamurire tutorial statistici tab-uri
Le-am schimbat si intre ele si tot degeaba... .
Re: Nelamurire tutorial statistici tab-uri
Avand in vedere ca in ultimele 2 saptamani autorul nu a mai aratat interes pentru acesta problema, topicul va fi inchis si trimis in cos. Daca problema nu a fost rezolvata, va invitam sa deschideti un nou topic, in sectiunea corespunzatoare si avind un titlu explicit. => Topic trimis in cosul de gunoi |
Subiecte similare
» nelamurire in privinta footerului
» Nelamurire la forumul gratuit !
» Nelamurire "efect autocolant"
» Articol din blog pe forum-nelamurire
» Tutorial top postatori ?
» Nelamurire la forumul gratuit !
» Nelamurire "efect autocolant"
» Articol din blog pe forum-nelamurire
» Tutorial top postatori ?
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum