The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
UKBL- Easy Menu Tabs Details »» | |||||||||||||||||||||||||||||||
UKBL- Easy Menu Tabs I've been playing around with creating some Menu Tabs for the top of the forums, These ones do not mess up your CSS or use Javascript and you can have it set up and running on your forums in minutes. Credits: Christopher Ware ~ Thanks DEMO: http://www.ukbusinesslive.co.uk/forum/demo.html Members Site Live Demo's: http://www.gamelobby.com/Forum/ http://www.itproservices.net/forums/...php?styleid=10 I've done this in a neutral color, so it'll be fine for light colored forums, I will add some darker ones and a black one later if requested So what do you do??? Installation is sooooo simple your gonna love this, First you need to open the html file with notepad or similar, and make a few edits, Mainly the location of the 2 gif's and the links to the urls or onsite links. so in Note pad look for this.. Code:
background:url("tableft1.gif") no-repeat left top; Code:
background:url("http://i4875.photobucket.com/albums/rr1/ukbusinesslive/tableft1.gif") no-repeat left top; Code:
background:url("tabright1.gif") no-repeat right top; So thats it with the gif edits, you still need to scroll further down to the menu edits here Code:
<ul> <!-- CSS Tabs --> <li id="current"><a href="http://www.ukbusinesslive.co.uk/topsite/"><span>Forums Topsite</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/group.php?"><span>Social Groups</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/online.php?"><span>Who's Online</span></a></li> <li><a href="http://astore.amazon.co.uk/ukbuli-21"><span>UKBL Bookstore</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/usercp.php"><span>Your CP</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/memberlist.php"><span>Member List</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/"><span>UK Business Live</span></a></li> if you want extra tabs just add another line like this Code:
<li><a href="http://www.ukbusinesslive.co.uk/forum/memberlist.php"><span>Member List</span></a></li> For Dark Colored Sites If your Site is Black or has a Black Background you'll want black tabs like this Then you'll have to Download the Black_ Tabs.zip This include a new code that you need to edit as well as the 2 Black Gifs to get the correct colour. Instructions are the same as above Please Click install if you like it If you want to see a nice collection of downloadable Menu Tabs, Veiw My Post in the Graphics forum, and download what you need https://vborg.vbsupport.ru/showthrea...79#post1704379 vBAdvanced Integration Ther seem to be a slight problem with users that use vBAdvanced Integration Quote:
Code:
</style> </head> <body> <div id="tabsH"> <ul> <!-- CSS Tabs --> <li id="current"><a href="http://www.ukbusinesslive.co.uk/topsite/"><span>Forums Topsite</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/group.php?"><span>Social Groups</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/online.php?"><span>Who's Online</span></a></li> <li><a href="http://astore.amazon.co.uk/ukbuli-21"><span>UKBL Bookstore</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/usercp.php"><span>Your CP</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/memberlist.php"><span>Member List</span></a></li> <li><a href="http://www.ukbusinesslive.co.uk/"><span>UK Business Live</span></a></li> </ul> </div> </body> </html> Enjoy VBa Members To Open in new Browser Window To get the link to open in a new browser window, what you do is add the target="_blank" attribute to your link tag, like this in your Menu Links area <li><a href="http://www.ukbusinesslive.co.uk/" target="_blank"><span>UK Business Live</span></a></li> If you do that to the ones that you want to open in a new window, then you don't navigate away from your site Changing individual Tab Font Colors You can add some html markup between the <span> where the tab name is Just change the first <Span> Value to Code:
<span style="color:Green"> Code:
<li><a href="http://www.ukbusinesslive.co.uk/topsite/"><span style="color:Green">Forums Topsite</span></a></li> Hope that helps, just change the color Green, for a color of your choice You could use a tab with a different color text to point to your Paypal Account and call it donations Worth a try Tab Color Changes on Hover Quote:
Dependant on what tab design you are using, find the following in the code Code:
#tabs1 a:hover { background-position:0% -42px; } Code:
#tabs1 a:hover span { color:#000000; background-position:0% -42px; } Just change this color hex to whatever hex color you want Enjoy Download Now
Show Your Support
|
Comments |
#82
|
|||
|
|||
Thanks for this but id="current is not working!
On my site is only the first tab highlighted but not the selected! |
#83
|
||||
|
||||
Why is this happening..?
I have tried everything listed in almost every post in this thread. I used to use this mod a long time ago on another skin, but now i just cant figure out why it is extending all the way to the edges.. Thanks PS. also any way to move it lower.? |
#84
|
||||
|
||||
Quote:
I got the tabs to look ok, but the background is float:left & i cant get it to center, because float:center is not a CSS code.!! |
#85
|
||||
|
||||
I managed to get those problems sorted, but in the process i may have caused another issue.
I put the code in my ad banner template, & it is shifted to the side on a few different screens, & anytime if you are using FireFox.? Any help is appreciated. Thanks |
#86
|
|||
|
|||
i think you need to save the HTML then upload same as the location of images.
|
#87
|
||||
|
||||
Could someone please help me with the CSS on this mod, I haven't got a clue. I am wanting to make the font size smaller on the tabs, I could swear I have changed every single number in this code but nothing makes the text size smaller. Thanks.
Code:
/* ***** tabs in header ***** */ body { margin:0; padding:0; font: bold 11px/1.5em Verdana; } h2 { font: bold 14px Verdana, Arial, Helvetica, sans-serif; color: #000; margin: 0px; padding: 0px 0px 0px 15px; } img { border: none; } #tabs1 { float:left; width:100%; font-size:93%; line-height:normal; } #tabs1 ul { margin:0; padding:0px 0px 0px 1px; list-style:none; } #tabs1 li { display:inline; margin:0; padding:0; } #tabs1 a { float:left; background:url("http://www.marineaquariumsa.com/images/tableft1.gif") no-repeat left top; margin:0; padding:0 1px 0 4px; text-decoration:none; } #tabs1 a span { float:left; display:block; background:url("http://www.marineaquariumsa.com/images/tabright1.gif") no-repeat right top; padding:5px 15px 4px 6px; color:#627EB7; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ #tabs1 a span {float:none;} /* End IE5-Mac hack */ #tabs a:hover span { color:#627EB7; } #tabs1 a:hover { background-position:0% -42px; } #tabs1 a:hover span { color:#000000; background-position:100% -42px; } #tabs1 #current a { background-position:0% -42px; } #tabs1 #current a span { background-position:100% -42px; } |
#88
|
||||
|
||||
Isn't the text size controlled by your VB's style and not the menu code... I think that is your problem being able to adjust the size. You might have to add in more code to the tabs to give you individual control.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|