Quote:
|
ahh thanks alot :)
|
I got it working for 1 link but now i want to make one for the FAQ too
Code:
Plugin PHP Code |
This is not valid for the faq page:
PHP Code:
|
Thanks Lynne, Everything worked great... execution controls order of tab.
|
Quote:
|
I cant believe we have to go through all this to add simple links to a navbar. What the hell? I dont know how to do all this. Make my own plugin, your kidding right? Now I'm gonna have to pay someone to add a few links to my navbar, unlike 3.8 where it was as easy as a simple template edit/addition. Unreal. I'm starting to see why people are going back to the old vb forums.
|
Quote:
|
I wasnt blaming Lynne, she actually helped me yesterday with another issue. Just frustrated because on 3.8 I could edit anything in templates very easily and now in vb4 it's like you need a college course. They say in another thread "find this code" in navbar template and I look and its not even there in my code. I cant win today, starting to dislike vb4 bigtime.
|
Lynne - thank you for this and I have played around with it and with some small changes to suit my needs it works well.
But I would like to add that I am having an issue with this whole new navbar setup for v4 especially given that the navbar is the most changed component, in my opinion, in vb. I use a navbar that is very similar to the new v4 one except with the added functionality of being able to hover on a tab and access the submenu of that tab for a set millisecond time before it bounces back to the currently selected tab. To do this I have to set the criteria for its use when using v3.8.5: Code:
<script type="text/javascript"> As you can see it is a "dogs breakfast" of an array and trying to convert this to a more vb way using your great tutorial here is really, for me, going from one "dog's breakfast" to another. So I raise this question...there must be a better way for everyone to manage their v4 navbar? Could a global variable be created and: - each time a user clicks a tab or submenu item the global variable is set to a number to correspond to the tab id - the page changes to the linked page - the tab that corresponds to the global variable is then made "selected" Very little code would be needed to facilitate this, you wouldn't need to worry about "THIS SCRIPT" or any other definition of what page is being displayed, very simple to include a setting of the global variable on clicking, and then reading the variable on page display etc. Is this an option? Would it make the navbar easier to manage? Would it improve performance? :confused: |
All times are GMT. The time now is 12:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|