Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-09-2009, 07:09 PM
Powlo Powlo is offline
 
Join Date: Feb 2008
Location: Sunderland UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 02-09-2009, 07:47 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you follow this article it should give you the desired results. I used it and it and it works a treat.
Reply With Quote
  #3  
Old 02-09-2009, 08:03 PM
Powlo Powlo is offline
 
Join Date: Feb 2008
Location: Sunderland UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 02-09-2009, 08:15 PM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 02-09-2009, 08:19 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Powlo View Post
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
Reply With Quote
  #6  
Old 02-10-2009, 05:26 PM
Powlo Powlo is offline
 
Join Date: Feb 2008
Location: Sunderland UK
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UKBusinessLive View Post
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.
Reply With Quote
  #7  
Old 02-10-2009, 06:31 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Powlo View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11468 seconds
  • Memory Usage 2,226KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete