Customers SupportDocumentation


Reply
 
Thread Tools
  #1  
Old 04-09-2008, 04:59 AM
Member
 
Join Date: Sep 2008
Posts: 5
Question Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

If I wanted to add a drop down menu to the top (similar to the quick links) how would I go about doing that? Adding tabs is easy, but just don't want to spend a lot of time in CSS/javascript if there is a known way of doing it.

Thanks,
Frisco1

p.s. We are loving your Red Carbon theme purchased today.
Reply With Quote
  #2  
Old 04-09-2008, 01:04 PM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,371
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

Here's an article over at vBulletin.org which should get you on your way: http://www.vbulletin.org/forum/showt...light=drop+dow

Hope this helps
Reply With Quote
  #3  
Old 04-09-2008, 09:46 PM
Member
 
Join Date: Sep 2008
Posts: 5
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

it gets me started, but I am struggle with adding one to the top tier navigation. I can add the tab fine and even get the "menu" arrow to appear but it is not pretty. i am wondering if this is going to require more extensive css edits? here is the tab snippet I created in hte header template. The rest is the default red carbon. I do have two-tier turned on.

<li class="menupadding">
<div id="realestate" class="vbmenu_control">
<a href="#">Real Estate 2</a>
<script type="text/javascript">
vbmenu_register("realestate");
</script>
</div>

thanks!
Reply With Quote
  #4  
Old 05-09-2008, 11:00 PM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,371
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

Seems like you've got half of it working. Now you just need to create the html for the actual popup. Look in the navbar template to see the ones for the search box and the quick links. You can easily use them as an example.

Best of luck
Reply With Quote
  #5  
Old 06-09-2008, 10:48 PM
Member
 
Join Date: Sep 2008
Posts: 5
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

Quote:
Originally Posted by MaestroX View Post
Seems like you've got half of it working. Now you just need to create the html for the actual popup. Look in the navbar template to see the ones for the search box and the quick links. You can easily use them as an example.

Best of luck
So I have it "working" now, but the formatting is off and being a bit new to the whole vbulletin way templates/css/javascript work, I am struggling a bit on how to fix it. I have attached a screenshot to show you what I am talking about. Any additional pointers?

Thanks,
frisco1
Attached Thumbnails
red-carbon-adding-dropdown-menu-portal-forum-blog-menus-menuscreenshot.jpg  
Reply With Quote
  #6  
Old 07-09-2008, 12:08 AM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,371
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

In this part:

Code:
<script type="text/javascript">
vbmenu_register("realestate");
</script>
add this:

Code:
<script type="text/javascript">
vbmenu_register("realestate", true);
</script>
That should get rid of the drop down arrow which will stop the menu from getting misaligned.
Reply With Quote
  #7  
Old 07-09-2008, 02:24 AM
Member
 
Join Date: Sep 2008
Posts: 5
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

that did the trick, btw...is there a reference for that type of stuff? I never would have known there was an overload for the method.

thanks again and have a great rest of your weekend.

-frisco1
Reply With Quote
  #8  
Old 07-09-2008, 06:48 PM
MaestroX's Avatar
vBulletin Skin Zone Staff
 
Real Name: Chris A.
Join Date: May 2007
Location: UK
Posts: 1,371
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

Afraid not, it comes just out of experience. I once asked how to get rid of the drop down arrow on vBulletin.com and that's the only way I found out.

Thanks, enjoy your week
Reply With Quote
  #9  
Old 09-09-2008, 04:05 AM
Member
 
Join Date: Sep 2008
Posts: 5
Re: Red Carbon: Adding a dropdown menu to the Portal/Forum/Blog menus

If I wanted to make the top nav. tab width just a bit wider what is the CSS class/style that manages that?

Thanks,
frisco1
Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Carbon: Project Tools and Blog Icons Bash66 Custom Work Inquiries 4 14-12-2007 04:56 PM
vbadvanced portal roymogg Pre-Sales Questions 2 31-08-2007 08:09 AM


All times are GMT. The time now is 09:28 AM.