MyBB Support

Tabs show all forums at once

Submitted by Azzurra, , Thread ID: 9469

Thread Closed
29-08-2015, 02:26 AM
#1
Here's what I have...

Code:
<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>
<td class="tcat at tab" title="Home" style="cursor: pointer;" rel="cat_3, #cat_65"><i class="fa fa-home"></i></td>
<td class="tcat tab" title="Social Engineering" style="cursor: pointer;" rel="cat_7"><i class="fa fa-credit-card"></i>
Social Engineering</td>
<td class="tcat tab" title="Leaks" style="cursor: pointer;" rel="cat_16"><i class="fa fa-cubes"></i>
Leaks</td>
<td class="tcat tab" title="Web" style="cursor: pointer;" rel="cat_21"><i class="fa fa-css3"></i>
Web Resources</td>
<td class="tcat tab" title="Graphics" style="cursor: pointer;" rel="cat_31"><i class="fa fa-file-image-o"></i>
Graphics</td>
<td class="tcat tab" title="Groups" style="cursor: pointer;" rel="cat_37"><i class="fa fa-users"></i>
Groups</td>
<td class="tcat tab" title="Groups" style="cursor: pointer;" rel="cat_39"><i class="fa fa-money"></i>
Market</td>
</tr>
</table>

RE: Tabs show all forums at once

#2
js problem!
share your headerinclude
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |



Users browsing this thread: 1 Guest(s)