post deleted
never mind; I got it working thanks to the original contributor |
did someone managed to do sub - sub menu's on the navbar like in post 13
i realy need that. |
Great article.
Any way to get the template cached, though? I have debub mode turned on, and this template is the only one that seems to be not cached. Thanks. Peter. --------------- Added [DATE]1274379546[/DATE] at [TIME]1274379546[/TIME] --------------- Hmm. I also have the problem with the navbar background not changing color when highlighted. Removing the style stuff works, but then the arrow icon dissappears. Using IE8, but also no luck in FF. Code:
<li class="popupmenu"> |
Found out how to get the caching working. I created a new plugin, linked it to the hook cache_templates, and used the following code to cache the template:
Code:
$cache = array_merge($cache, array('<template_name>')); |
Anyone got a working solution for the non-changing background colour by any chance? I have not yet managed to get that bit working.
|
Thanks worked brilliantly straight out of the box - have bookmarked it to add additional functionality to our site in the coming days this is absolutely brilliant.
|
Great tutorial works fine even in 4.04
|
1 Attachment(s)
Is there any way to make the default "Forum" navtab a dropdown, instead of adding a new tab?
I run a gaming board that hosts multiple games, guilds/clans, etc. I wish to make the Forum navtab a dropdown that i can then have the links to the various areas on the board. I followed this tutorial to create a plugin/template to help show what i am looking to do. I figure i could remove the default "Forum" tab and replace it with the new one, but i was wondering if it can just be done on the current, default tab. |
Thank you! After a little trial and error, I got this to work wonderfully on our site. I appreciate the help!
|
Lynn or anyone,
Any ideas how to make this menu stay on top of a .swf file? I have a .swf advert in ad_below_navbar and the dropdown menu slides behind the advert. Ideas welcomed. |
Quote:
|
thanks
|
THIS is Eric's Original Objective & Problem:
Quote:
Quote:
Finally, this approach PARTIALLY works: Quote:
Am I doing something wrong or does ANYONE have a solution to this? --------------- Added [DATE]1284366171[/DATE] at [TIME]1284366171[/TIME] --------------- Quote:
Anyone? --------------- Added [DATE]1284366378[/DATE] at [TIME]1284366378[/TIME] --------------- Quote:
Anyone? --------------- Added [DATE]1284366699[/DATE] at [TIME]1284366699[/TIME] --------------- Quote:
This mod would be tremendously useful if we could get these minor issues addressed. Thanks for the mod and for any help! :D Jeff --------------- Added [DATE]1284404633[/DATE] at [TIME]1284404633[/TIME] --------------- I've started a new thread HERE for anyone who wants to follow or participate in the development of the modifications above. |
For my drop down box how do I get the hover color to be the same as the normal tabs?
See here... http://biblocality.com/forums/forum.php |
Anyone figure out how to get the hover color to change at the same time keeping the arrow and getting the arrow to change color as well?
See what the problem is here... http://biblocality.com/forums/forum.php |
As a result of changing colors in style variables, my drop down boxes span the whole screen. Something went haywire with this plugin.
Actually I don't know this is the cause. All I know is that the drop down boxes span the whole screen in IE and the username is bolden and larger when using IE, but with Firefox it is still the same. This just happened when I was playing with the style variable settings. |
Can someone please help me find out what i need to do to get this to appear at the beginning of the navbar before the home/forum tabs.
|
Quote:
|
Quote:
|
Is there a way to control the execution order from outside the plugin? I have the following setting in my product script:
<setting varname="showroster_navbar_order" displayorder="20"> <datatype>posint</datatype> <validationcode><![CDATA[return ($data >= 1);]]></validationcode> <defaultvalue>5</defaultvalue> </setting> I cannot find anything that would allow me to adjust the order like the location (navtab_start, navtab_middle, and navtab_end). Those work fine, it is the ordering I cannot get to work. Any ideas? Edited: Sorry, this probably is not the correct place to ask. I've asked the question in a coder's forum instead. Thank you. |
Quote:
I must agree with NashChristian. I am unable to insert the arrow image in a satisfactory manner. Also, the margin on the right of the text seems to be more than on the left. http://forums.pakfellows.com/ Lynne (or anyone else), do you think you could please help us out with this one? :) |
Quote:
Use the following code and it will display BEFORE forum, immediately after Home tab Quote:
|
Can anybody point me in the right direction of how to do this?
https://vborg.vbsupport.ru/external/2011/04/17.jpg |
Quote:
I changed the code so sub-foums would appear by utilizing the same code for drop down, OK it was a lot of messing about and a lot of code, seriously wrecked my head at times but the end product was great! I have never tried it on VB4 but I do have a few days off next week and may do this as a mini project on my test forum! I would need a link to the skin your using in your OP. |
Wow cheers Robbie, that would be great, I've got it on the default skin on my VB4 forum, the image above is something somebody else posted on page 1 I just used it to demonstrate the effect I was after.
I was looking at this http://www.dynamicdrive.com/dynamici...menu/index.htm As a possible way to get the submenu effect. Edit: I thought it might be better to post in the programming discussion forum to stop this article going off topic, so I've posted here. https://vborg.vbsupport.ru/showthread.php?p=2187926 |
great work
|
I have a question how must i modify the code to add dropdown items to the subnavbar as you can see on the picture?
https://vborg.vbsupport.ru/external/2011/04/11.png Thanks for any help |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=232579 https://vborg.vbsupport.ru/attachmen...1&d=1262991479 |
installed.
it works very well for 4.1.2 Many thanks |
1000 Thanks for the infos! How can I make the pull-down appear without click, simply when hovering?
Thanks! Bruno |
Another interested person wondering how either
a) The arrow can be kept while having the tab highlight as other tabs do b) The pull-down menu appear on hover, instead of on click. I'd also be interested in how we can do something which I'd imagine is much more simple....just add a new tab that would function as an external link when clicked. Just want a nice quick link to places such as my Wiki. ^^; |
Works great for all my FPS games stat tracker links.
|
I have seen a lot of folks asking how to do the down arrow so that it would highlight properly, as well as the background.
Using this code: Code:
<a href="javascript://" class="popupctrl navtab">Drop Bombs ▼</a> Code:
<a href="javascript://" class="popupctrl navtab" style="background:transparent url({vb:stylevar imgdir_misc}/arrow.png) no-repeat {vb:stylevar right} center; padding-right: 15px">Drop Bombs</a> To get the down arrow use the ampersand code #9660; |
Great article, tnx!
|
thanks alot this is what i was looking for
|
So I got this working, except.. I am not totally pleased with the location I put it in.
What other options are there to the navtab_ function when using the CMS? Alternatively, if anyone could explain how I could find the alternatives myself that would be wicked :) |
It would be nice to know how to select background, text and hover colors so that they are different to the subNavBar ones.
I personally prefer this arrow: src="{vb:stylevar imgdir_misc}/menu_open.gif and its different from the one used in the subNav. |
Thank you soooo much!!
|
Hi,
I have a mystery with this drop down tab. I've had it working on my site for a while. Today, just for the heck of it I tested my site in Google Chrome. In Google Chrome, the Title wording of the tab appears below tab and the tab is blank. When I click onto the Title, the drop down menu appears. This does not happen in Internet Explorer 8. The same thing happens in Firefox. In addition when viewing my site in Google Chrome and Firefox, the tab does highlight, but doesn't highlight in Internet Explorer 8 Any ideas how to correct this mystery with Google Chrome & Firefox? Thanks. |
Nice little mod. Anyone have any ideas how to reduce the box size?
www.toxicplanet.co.uk I take it it's some global setting somewhere and unrelated to this actual mod. Cheers |
All times are GMT. The time now is 10:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|