The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Coded out a new page but when I have this navbar link selected, the highlighting doesnt work. What code do i need to add or modify? The mess up is in the red box
|
#2
|
|||
|
|||
![]()
looks like navtab select has transparent or is defined wrong somehow
goto stlyevars and look in navtab sections play with that area |
#3
|
|||
|
|||
![]()
When I made this page i just copied all the code from the What's New tab so shouldn't everything be the same? What Im thinking is that something in the code is saying that when "Whats new" is selected...when it should be when "Giveaways" is slelected.
|
#4
|
||||
|
||||
![]()
did you follow this article when you made your page - https://vborg.vbsupport.ru/showthread.php?t=228112
|
#5
|
|||
|
|||
![]() Quote:
|
#6
|
||||
|
||||
![]()
What do you mean "you kept the styles the same"? And I don't understand what the page code has to do with the navtab except that you said "i just copied all the code from the What's New tab" which just doesn't make sense to me since the tab code is in a template, not a php page.
You created the navtab, correct? So what is your code for it and what did you do to code it to make it "selected" when you are on that page? |
#7
|
|||
|
|||
![]() HTML Code:
<li class="selected"> <a class="navtab" href="giveaways.php">Giveaways</a></li> My last reply was talking about the page itself, not the navbar. For the page I just took ALL the source code from another page on the site. |
#8
|
||||
|
||||
![]()
That code that you added for a navtab isn't going to work. You are saying it is always selected? It isn't. You need to do conditions like they do in the navbar.
There are a few articles in the vB4 section on how to create navtabs and several mods to do this. I'd suggest taking a look at them and seeing how it's supposed to be done. |
#9
|
|||
|
|||
![]()
No it works fine, I copied the code from another tab and with that code comes all the conditions. My only problem before was that in that code i copied, the new tab was put as "hidden" not "selected" so i changed it.
Em i making sense? if not ask |
#10
|
||||
|
||||
![]()
So it works now?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|