Current time: 04-18-2014, 06:12 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 17 Votes - 4.53 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Tabbed forum with jQuery (multi categories in one tab)
11-29-2011, 05:10 PM (This post was last modified: 11-29-2011 06:50 PM by smit.)
Post: #124
RE: [Tutorial] Tabbed forum with jQuery (multi categories in one tab)
I dont want that sliding effect

what I have to change in code .

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>

I think you gona change this plz I m still confused . Sad

I done this

Code:
$('.content').slideUp();
var catshow = $(this).attr('rel');
$('#'+ catshow).slideDown();

to

Code:
$('.content');
var catshow = $(this).attr('rel');
$('#'+ catshow);

but now it stop working Toungue

Please help me . Thank you
Sorry members I found my mistake & now it is working great Smile

But now new problem .

When I open my site it shows whole forum & when I click on any tab it get normal .

Tell me how to stop showing whole forum in starting ???
Atlast all errors are removed now Smile

http://hackforum.zymichost.com/
Can any 1 tell me how to change color of selected tab ????
Sorry for that Q I solved that too Smile
+1 rep too u bro Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Tutorial] Tabbed forum with jQuery (multi categories in one tab) - smit - 11-29-2011 05:10 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication