Sliding category on punbb !
5 posters
Page 1 of 1
Sliding category on punbb !
Base what code did you use to slide the category in your forum ?
razvy3- Forumember
- Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7
Re: Sliding category on punbb !
I would like to know this also.
Raze- Forumember
- Posts : 406
Reputation : 12
Language : English, HTML, CSS
Re: Sliding category on punbb !
So how can i make it for punbb ?
razvy3- Forumember
- Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7
razvy3- Forumember
- Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7
Re: Sliding category on punbb !
For PunBB
Go to Admin Panel > Display > Templates > General > index_box
Find these :
then paste this under it :
After that, find this :
Then replace it by this :
Go to Admin Panel > Display > Templates > General > index_box
Find these :
- Code:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
then paste this under it :
- Code:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("h2.catoggle").click(function(){
$(this).parent().parent().next(".main-content").slideToggle("slow");
});
});
</script>
After that, find this :
- Code:
<div class="page-title">{catrow.tablehead.L_FORUM}</div>
Then replace it by this :
- Code:
<div class="page-title" ><b>{catrow.tablehead.L_FORUM}</b><h2 class="catoggle">+/-</h2></div>
Re: Sliding category on punbb !
Can it be placed to the right instead of under the category name?mark1111 wrote:For PunBB
Go to Admin Panel > Display > Templates > General > index_box
Find these :
- Code:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
then paste this under it :
- Code:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("h2.catoggle").click(function(){
$(this).parent().parent().next(".main-content").slideToggle("slow");
});
});
</script>
After that, find this :
- Code:
<div class="page-title">{catrow.tablehead.L_FORUM}</div>
Then replace it by this :
- Code:
<div class="page-title" ><b>{catrow.tablehead.L_FORUM}</b><h2 class="catoggle">+/-</h2></div>
Raze- Forumember
- Posts : 406
Reputation : 12
Language : English, HTML, CSS
Re: Sliding category on punbb !
solved !
razvy3- Forumember
- Posts : 61
Reputation : 1
Language : Romana 10 , engleza 7
Re: Sliding category on punbb !
Solved -> Locked
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» [PunBB]Category image next to name
» Need help with Category name text position (PunBB)..
» Sliding Username Help
» Table position in category, and how to hide category border and name, and reduce size of category to my table
» Please HELP!
» Need help with Category name text position (PunBB)..
» Sliding Username Help
» Table position in category, and how to hide category border and name, and reduce size of category to my table
» Please HELP!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum