The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
UKBL ~ Easy Vertical Menu System Details »» | |||||||||||||||||||||||||||||||||||
UKBL ~ Easy Vertical Menu System Well you wanted Dropdowns and you got them, Now you want Vertical Menu's, Here they are DEMO : http://www.ukbusinesslive.co.uk/forum/vertical.html Default VB Colors DEMO: http://www.ukbusinesslive.co.uk/forum/vbull_vert.html Following on from the Easy Menu Tabs and the Quality Dropdowns, this is a new style of menu for sites that use side columns or even VBa Done in a plain Neutral color scheme to compliment most sites you can change the color scheme by simply changing the hex color codes in the CSS part of the code. This is suitable for ALL browser types This example has sub menus within sub menus so you can see how to edit them to add more for your site So if your happy with that, Lets begin............. Firstly we need to Download the zip file, This has the code to edit plus related graphics, so you've downloaded the code, lets start Open the code in your fave Text Editor (Notepad is ideal for this ) Find in the code Code:
/*"""""""" Custom Rule""""""""*/ ul#qm0 li .qmparent { background-image:url(http://www.ukbusinesslive.co.uk/forum/images/cssalt1_arrow_right.gif); background-repeat:no-repeat; background-position:97% 50%; then find the other gif url here Code:
/*"""""""" Custom Rule""""""""*/ ul#qm0 li:hover > a.qmparent { background-image:url(http://www.ukbusinesslive.co.uk/forum/images/cssalt1_arrow_right_hover.gif); text-decoration:underline; } Then find.... Code:
<!-- Add-On Settings --> <script type="text/JavaScript"> /******* Menu 0 Add-On Settings *******/ var a = qmad.qm0 = new Object(); // Item Bullets Add On a.ibullets_apply_to = "parent"; a.ibullets_main_image = "http://www.ukbusinesslive.co.uk/forum/images/qtbordercaps_arrow_right_gray.gif"; a.ibullets_main_image_width = 6; a.ibullets_main_image_height = 8; a.ibullets_main_position_x = -16; a.ibullets_main_position_y = -4; a.ibullets_main_align_x = "right"; a.ibullets_main_align_y = "middle"; a.ibullets_sub_image = "http://www.ukbusinesslive.co.uk/forum/images/qtbordercaps_arrow_right_gray.gif"; a.ibullets_sub_image_width = 6; a.ibullets_sub_image_height = 8; a.ibullets_sub_position_x = -12; a.ibullets_sub_position_y = -2; a.ibullets_sub_align_x = "right"; a.ibullets_sub_align_y = "middle"; Then all you need to do next is upload the gifs from the zip file to the url that you made in the steps above So thats the CSS part done, Next we need to edit our menu links, I've set the default to my forum but its easy enough to change them for yours or even if you want to add extra items, So lets start changing our menu links First Find.. Code:
<li><a class="qmparent" href="javascript:void(0)" title="My Control Panel">My Control Panel</a> <ul> <li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editavatar" title="Edit Avatar">Edit Avatar</a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editsignature" title="Edit Signature">Edit Signature</a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editoptions" title="Edit Options">Edit Options</a></li> <li><span class="qmdivider qmdividerx" ></span></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/subscription.php?do=viewsubscription" title="List Subscriptions">List Subscriptions</a></li> </ul></li> Code:
<li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editavatar" title="Edit Avatar">Edit Avatar</a></li> Do that for all the links and by then you'll have your own Vertical Menu Tabs. To see how the menu from a sub menu works, you need to find the Calendar Link in the Code It starts like this Code:
<li><a class="qmparent" href="javascript:void(0)" title="Calendar">Calendar</a> Code:
<li><a class="qmparent" href="javascript:void(0)" title="Todays Post">Todays Post</a> <ul> <li><a href="http://www.ukbusinesslive.co.uk/forum/search.php?searchid=167" title="Todays Post">Todays Post</a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/search.php?do=getnew" title="New Post">New Post</a></li> <li><span class="qmdivider qmdividerx" ></span></li> <li><a class="qmparent" href="javascript:void(0)" title="Calendar">Calendar</a> <ul> <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php" title="Calendar">Calendar</a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php?do=add&type=single&c=1" title="Add Single Event">Add Single Event</a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php?do=add&c=1" title="Ranged Event">Ranged Event</a></li> <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php?do=add&type=recur&c=1" title="Recurring Event">Recurring Event</a></li> </ul></li> Please note as i don't use side columns or VBa, I cannot provide support in these areas. To change the colors of the menu to suit your site, simply change the hex color code at the begining of the CSS part of the code, I like using this hex editor for this http://www.2createawebsite.com/build/hex-colors.html Please click installed, for 100% support UPDATE 08.02.09 You can now download the VBulletin Default Color Menu, This is exactly the same as the original except that the colors have been edited to Match the VBulletin Default theme Enjoy Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
|||
|
|||
Hi Allan,
Will be doing that for you in a moment, bear with me here you go Allan http://www.ukbusinesslive.co.uk/forum/vertical.html Check out the menu from the sub menu, on "Todays Post" "Calendar" just going to add this to the first Post also |
#13
|
||||
|
||||
Ok, thanks
|
#14
|
|||
|
|||
:
Quote:
Just made the vertical menus the same Default Color as VBulletin, for all you guys using the default VBulletin theme Just going to Install the zip file to the first post |
#15
|
|||
|
|||
Hi Uk...
I'm half way through editing. How do I get rid of the yellow box with text when you hover link? thx |
#16
|
|||
|
|||
Quote:
Code:
<li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php?do=add&c=1" title="Ranged Event" >Ranged Event</a></li> |
#17
|
|||
|
|||
Yeah I know its early here.... trying to stay awake listening and keeping tabs on the bushfires here in victoria , australia
thanks uk |
#18
|
|||
|
|||
Quote:
Its pretty hot down there, i take it?? |
#19
|
|||
|
|||
43 degrees Celsius - 110 Fahrenheit
bit cooler now I have one last drama if you could help that would be great. In firefox its all good, in ie the arrows are on the left out of the container, problably my fault I'm trying to track it down but works perfect in ff thx again |
#20
|
|||
|
|||
You need to make sure that the code in the "Custom Rule" sections are not altered except to change the URL of your arrows, Just check both of them, one is directly below the other.
Code:
/*"""""""" Custom Rule""""""""*/ ul#qm0 li .qmparent { background-image:url(http://www.ukbusinesslive.co.uk/forum/images/cssalt1_arrow_right.gif); background-repeat:no-repeat; background-position:97% 50%; Code:
// Item Bullets Add On a.ibullets_apply_to = "parent"; a.ibullets_main_image = "http://ukbusinesslive.co.uk/forum/images/qtbordercaps_arrow_right_gray.gif"; a.ibullets_main_image_width = 6; a.ibullets_main_image_height = 8; a.ibullets_main_position_x = -16; a.ibullets_main_position_y = -4; a.ibullets_main_align_x = "right"; a.ibullets_main_align_y = "middle"; a.ibullets_sub_image = "http://ukbusinesslive.co.uk/forum/images/qtbordercaps_arrow_right_gray.gif"; a.ibullets_sub_image_width = 6; a.ibullets_sub_image_height = 8; a.ibullets_sub_position_x = -12; a.ibullets_sub_position_y = -2; a.ibullets_sub_align_x = "right"; a.ibullets_sub_align_y = "middle"; Hope that helps |
#21
|
|||
|
|||
Thanks uk for the great support.
I tried the code in a html page within vbulletin (easy pages and Logician's WebTemplates) in ie and it works fine.. so the problem lies within the vbadvanced module. Since I'm going to use your VMS in ultimate side colums , there wont be a problem in ie. Any idea as to why VMS wont display properly in a vbadvanced block in ie for me ? thankyou |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|