MyBB Support
How to get shadetabs(tabbedmenu) to work on mybb 1.8?
Submitted by Niko, 16-11-2015, 12:08 AM, Thread ID: 12801
Thread Closed
RE: How to get shadetabs(tabbedmenu) to work on mybb 1.8?
16-11-2015, 01:03 AMHarry Wrote:16-11-2015, 12:27 AMNiko Wrote:16-11-2015, 12:10 AMSexual Wrote: Forum takes a while to load, let me see your css, and stuff.
I am using the default css that loads with it. Which was meant for 1.6i am willing to give you perms to check it if you would like
16-11-2015, 12:09 AMHarry Wrote: Have you tried to edit the coding yourself and try things? Without following tutorials.
Im currently in the process of learning css so i dont know what to do. I was hoping someone on here would be able too
EX of what it looks like http://i.imgur.com/T4pg0er.png
Not like that on my screen? Tried clearing your cache?
Umm the board is closed. Cleared cache and everything nothing worked16-11-2015, 01:03 AMHarry Wrote:16-11-2015, 12:27 AMNiko Wrote:16-11-2015, 12:10 AMSexual Wrote: Forum takes a while to load, let me see your css, and stuff.
I am using the default css that loads with it. Which was meant for 1.6i am willing to give you perms to check it if you would like
16-11-2015, 12:09 AMHarry Wrote: Have you tried to edit the coding yourself and try things? Without following tutorials.
Im currently in the process of learning css so i dont know what to do. I was hoping someone on here would be able too
EX of what it looks like http://i.imgur.com/T4pg0er.png
Not like that on my screen? Tried clearing your cache?
So basically someone helped me and they made custom tabs. But for some reason they nor me can figure out why they dont work. The tabs are there but they dont work.
Here is what he did
Im not sure what you did but someone sent me this Here is the method I used for shadetabs, and it worked for me.
First, you're going to need to go to this link and see the basic instructions with what to download:http://www.dynamicdrive.com/dynamicindex...ontent.htm
Next, instead of reading what they tell you to do, listen to what I tell you to do.
Open up your HeaderInclude, and place this somewhere inside it.
Code:
Code:
Code:
<link rel="stylesheet" type="text/css" href="tabcontent.css" />
<script type="text/javascript" src="tabcontent.js">
/***********************************************
* Tab Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Please keep this notice intact
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
Next, You will see six things, one is .css, one is a .js, and the other four are images. Don't worry about the images.
Click on both .css and .js.
Go into the theme options of the theme you are using, and add a new stylesheet labeled: tabcontent.css then place the css you clicked on previously.
Open up Notepad, and paste the js into it, and then save it as tabcontent.js and place it in your jscripts folder.
Go to your Forum Bit Template Set > forumbit_depth1_cat and do the following:
Code:
Code:
Code:
Place <div id="tabmenu_{$forum['fid']}"> at the very beginning of all the code, and put </div> at the very end. This way it will make the code go through the whole forum section.
Now, go to your theme templates, and open up Index > index.
Paste the following code immediately after {$forums}
Code:
Code:
Code:
<script type="text/javascript">
var myflowers=new ddtabcontent("menutabs") //enter ID of Tab Container
myflowers.setpersist(true) //toogle persistence of the tabs' state
myflowers.setselectedClassTarget("link") //"link" or "linkparent"
myflowers.init()
</script>
Now, in the same template set, right under {$header}, place the following:
Code:
Code:
Code:
<ul id="menutabs" class="shadetabs">
<li><a href="#" rel="tabmenu_1" class="selected">Tab 1</a></li>
<li><a href="#" rel="tabmenu_2">Tab 2</a></li>
<li><a href="#" rel="tabmenu_3">Tab 3</a></li>
<li><a href="#" rel="tabmenu_4">Tab 4</a></li>
</ul>
Now onto how to edit everything. Remember when we placed the div classes? <div id="tabmenu_{$forum['fid']}"> for example. Well, when you see how it says, rel="tabmenu_#". That means whatever category you want showing in this tab, will show there. So change it as you work on a bit. If you want 2 categories, add this line beside the rel: rev="tabmenu_#" with the # being the tab you want shown.
First, you're going to need to go to this link and see the basic instructions with what to download:http://www.dynamicdrive.com/dynamicindex...ontent.htm
Next, instead of reading what they tell you to do, listen to what I tell you to do.
Open up your HeaderInclude, and place this somewhere inside it.
Code:
Code:
Code:
<link rel="stylesheet" type="text/css" href="tabcontent.css" />
<script type="text/javascript" src="tabcontent.js">
/***********************************************
* Tab Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Please keep this notice intact
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
Next, You will see six things, one is .css, one is a .js, and the other four are images. Don't worry about the images.
Click on both .css and .js.
Go into the theme options of the theme you are using, and add a new stylesheet labeled: tabcontent.css then place the css you clicked on previously.
Open up Notepad, and paste the js into it, and then save it as tabcontent.js and place it in your jscripts folder.
Go to your Forum Bit Template Set > forumbit_depth1_cat and do the following:
Code:
Code:
Code:
Place <div id="tabmenu_{$forum['fid']}"> at the very beginning of all the code, and put </div> at the very end. This way it will make the code go through the whole forum section.
Now, go to your theme templates, and open up Index > index.
Paste the following code immediately after {$forums}
Code:
Code:
Code:
<script type="text/javascript">
var myflowers=new ddtabcontent("menutabs") //enter ID of Tab Container
myflowers.setpersist(true) //toogle persistence of the tabs' state
myflowers.setselectedClassTarget("link") //"link" or "linkparent"
myflowers.init()
</script>
Now, in the same template set, right under {$header}, place the following:
Code:
Code:
Code:
<ul id="menutabs" class="shadetabs">
<li><a href="#" rel="tabmenu_1" class="selected">Tab 1</a></li>
<li><a href="#" rel="tabmenu_2">Tab 2</a></li>
<li><a href="#" rel="tabmenu_3">Tab 3</a></li>
<li><a href="#" rel="tabmenu_4">Tab 4</a></li>
</ul>
Now onto how to edit everything. Remember when we placed the div classes? <div id="tabmenu_{$forum['fid']}"> for example. Well, when you see how it says, rel="tabmenu_#". That means whatever category you want showing in this tab, will show there. So change it as you work on a bit. If you want 2 categories, add this line beside the rel: rev="tabmenu_#" with the # being the tab you want shown.
Anyone can help me? I am still having trouble with this
Still need help for this
Users browsing this thread: 2 Guest(s)