View Full Version : Creating a table within a dropdown menu
Powlo
02-09-2009, 07:09 PM
Hi, im having a few issues with a dropdown table. Im trying to create a dropdown very similar to the 'Quick Links' But every time i try and add a table it messes up my navbar. I can use <ul> <li> without issue but that doesnt give me the desired effect.
Heres what i have so far..
<td id="movie_dropdown" align="left">
<a href="#movie_dropdown"><img src="$stylevar[imgdir_misc]/movielinks_nav.gif" border="0" alt="" /></a> <script type="text/javascript">
//<![CDATA[
vbmenu_register("movie_dropdown",true);
//]]>
</script>
</td>
<div class="vbmenu_popup" id="movie_dropdown_menu" style="display:none;margin-top:3px" align="left">
</div>
Ive tried creating a table between the divs, i cant think where im going wrong.
Hope you can help.
Spank
02-09-2009, 07:47 PM
If you follow this article (https://vborg.vbsupport.ru/showthread.php?t=122523) it should give you the desired results. I used it and it and it works a treat.
Powlo
02-09-2009, 08:03 PM
Thanks spank, i tried it again but still no dice. Im not sure if its relevent but im using this in the Header template. The style im using already has the quicklinks menu in the header so i cant see why it wont let me create another one.
Any other suggestions?
Spank
02-09-2009, 08:15 PM
I dn't know what to tell ya tbh it should just work. My navbar links are also in my header template you just put everything it says to pu into the navbar template into the header template.
UKBusinessLive
02-09-2009, 08:19 PM
Thanks spank, i tried it again but still no dice. Im not sure if its relevent but im using this in the Header template. The style im using already has the quicklinks menu in the header so i cant see why it wont let me create another one.
Any other suggestions?
Why don't you try https://vborg.vbsupport.ru/showthread.php?t=203521
Pure CSS Dropdown Menus with simple HTML Menu Links ;)
Check out the Live demo http://www.aboxcafe.com/index.php
Powlo
02-10-2009, 05:26 PM
Why don't you try https://vborg.vbsupport.ru/showthread.php?t=203521
Pure CSS Dropdown Menus with simple HTML Menu Links ;)
Check out the Live demo http://www.aboxcafe.com/index.php
Thankyou very much UKBL, you've saved the day! I did look at that a little earlier but thought id go it alone.. well.. that didnt work out. So your mod has done what i wanted and more. I did have to teak it quite a bit to get it to use my images (i hope that was ok) but its looking good.
Thanks again UKBL. ;)
UKBusinessLive
02-10-2009, 06:31 PM
Thankyou very much UKBL, you've saved the day! I did look at that a little earlier but thought id go it alone.. well.. that didnt work out. So your mod has done what i wanted and more. I did have to teak it quite a bit to get it to use my images (i hope that was ok) but its looking good.
Thanks again UKBL. ;)
Glad it worked, feel free to tweak the code or edit to your hearts content, The idea is to provide the basics from which great dropdowns will be made ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.