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 |
#72
|
||||
|
||||
Ok I guess I solved my problem by adding a <br /> to your header code at the bottom:
Code:
</ul> </div> </body> <br /> </html> I then had to change the border-bottom code to: border-bottom:2px solid #0B198C; This matches the default theme perfect which your color code does not. Now my next question is how do I get the tabs to be aligned next to the right margin rather than the left side? Secondly, the first left tab seems to be higlighed in a darker blue even when the mouse is not rolled over it. How can that be fixed so it matches the other tabs? |
#73
|
|||
|
|||
Hi and thanks for the quick reply with that fix
The First tag is always a set color, show people the first one is normally the home tag, But if you don't want that set a static color then you look in the first line of that tags code and just remove Code:
id="current" |
#74
|
||||
|
||||
I will try and remove the first static tab color. It would be best to have the active tab that you switched to be a new color so you can easily see what new page your on. In my mind that is a must change to this mod.
How do I get the tabs to be placed by the right side margin? |
#75
|
||||
|
||||
Aaa my bad I see it now in the css to move the tabs to the right by increasing the % value here: #tabs1 ul { I set mine to 640%. Of course it depends on how many tabs you make. Great Work!
Can we say MOTM? |
#76
|
|||
|
|||
Glad you got it working right
|
#77
|
|||
|
|||
I'm having issues getting this working correctly in Google Chrome. Here's what it looks like for Chrome users:
Do you have any suggestions on a fix? EDIT: Just for future reference, I fixed it by adding a simple HTML Code:
<br clear="all" />
|
#78
|
||||
|
||||
Quote:
Looks fine in Firefox (although I saw your tab @ bottom w/ Firefox open) Looks fine in Internet Explorer Looks fine in Safari (Note I left Chrome off the list ) But keep in mind many will use it but not all scripts or codes are compatible amongst ALL browsers expecially IE which does not code the way they SHOULD. S-MAN |
#79
|
|||
|
|||
Quote:
|
#80
|
|||
|
|||
Is it possible to get drop down menus with the drop down arrow to work with these tabs and if so, how?
Thanks! |
#81
|
|||
|
|||
I have problem with IE and Chrome. Pictures will tell you everything.
Chrome IE Edit: I did what ConfusedCartman said and fix problem in chrome but in IE I still have that bug. The problem in IE is that he put it above $spacer_open but I don't understand why just IE and how to fix this problem. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|