Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bara menu !
#1
Salut!

O mica intrebare din acest tutorial] prezent pe mybb.com!

Cum pun categoriile in menu? Vezi imagine Ss este o categorie.


Quote:<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<script type="text/javascript" src="jscripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$.noConflict();
</script>
<script type="text/javascript" src="jscripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$.noConflict();
</script>
<script type="text/javascript">
jQuery(document).ready(function($){
$('.tab').click(function(){
$('.at').removeClass('at');
$(this).addClass('at');
$('.content').slideUp();
var catshow = $(this).attr('rel');
$('#'+ catshow).slideDown();
});
});
</script>

<table border="0" width="100%" class="tborder" cellpadding="4" cellspacing="0" style="margin-bottom: 3px;">
<tr align="center">
<td class="tcat at tab" title="7" style="cursor: pointer;" rel="http://testforumx.net76.net/forumdisplay.php?fid=7">index</td>
<td class="tcat tab" title="CATEGORIA 5 Y 6" style="cursor: pointer;" rel="cat_5, #cat_6">CATEGORIA 5 Y 6</td>
<td class="tcat tab" title="CATEGORIA 9, 15, 18 Y 35" style="cursor: pointer;" rel="cat_9, #cat_15, #cat_18, #cat_35">CATEGORIA 9, 15, 18 Y 35</td>
</tr></table>

{$forums}
{$boardstats}

<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>

<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->no_new_posts}</dd>

<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>


Attached Files Thumbnail(s)
   
Reply
#2
Salut. Din cate vad tu ai incercat varianta mai grea de a adauga tabbed menu la forumul tau, te-ai gandit sa incerci printr-un plugin treaba asta? Mult mai usor de facut si de administrat.

Ps. Doar un search pe google dupa tabbed menu for mybb si vei gasi ceea ce cauti.

Ps2. In unele locuri e platit iar in altele nu, deci citesti si te descurci.

Numai bine Smile
Keep walking !   http://www.mybb.ro
Reply
#3
(02-25-2012, 10:15 PM)Radu Wrote: Salut. Din cate vad tu ai incercat varianta mai grea de a adauga tabbed menu la forumul tau, te-ai gandit sa incerci printr-un plugin treaba asta? Mult mai usor de facut si de administrat.

Ps. Doar un search pe google dupa tabbed menu for mybb si vei gasi ceea ce cauti.

Ps2. In unele locuri e platit iar in altele nu, deci citesti si te descurci.

Numai bine Smile

M-am gandid, daca nu voi reusi cu aceasta varianta am sa pun un pulgin.

Ma poti ajuta? Eu gresesc undeva pe aici !
Quote:<table border="0" width="100%" class="tborder" cellpadding="4" cellspacing="0" style="margin-bottom: 3px;">
<tr align="center">
<td class="tcat at tab" title="Category 1" style="cursor: pointer;" rel="cat_1">Category 1</td>
<td class="tcat tab" title="Category 4 &amp; 6" style="cursor: pointer;" rel="cat_4, #cat_6">Category 4 &amp; 6</td>
<td class="tcat tab" title="Category 9" style="cursor: pointer;" rel="cat_9, #cat_11">Category 9</td>
</tr>
</table>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)