vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Creating a table within a dropdown menu (https://vborg.vbsupport.ru/showthread.php?t=204797)

Powlo 02-09-2009 07:09 PM

Creating a table within a dropdown menu
 
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..

Code:


<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 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

Quote:

Originally Posted by Powlo (Post 1739026)
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

Quote:

Originally Posted by UKBusinessLive (Post 1739037)
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

Quote:

Originally Posted by Powlo (Post 1740017)
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 ;)


All times are GMT. The time now is 09:36 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
  • Page Generation 0.01009 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete