vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   creating a dropbox? (https://vborg.vbsupport.ru/showthread.php?t=147692)

Chicago_VLNU_4s 05-20-2007 11:20 AM

creating a dropbox?
 
I would like to create a drop down box. Not your ordinary drop down like the example here > http://www.javascriptkit.com/javatutors/dombos1.shtml but more like when you click "User CP" or "Help" here. If you look on that site, you will see "Javascript" double underlined and when you hover over it, a drop box shows up. Well that's what I'm some what referring to. I just want to type a paragraph or so for a certain link on my mainpage so when someone hovers over it, the drop down box shows the paragraph. Keep in mind, this isn't for vbulletin, it's for regular html.

Any help would be appriciated!

Chicago_VLNU_4s 05-23-2007 01:47 AM

some help por favor. sure it's not that hard for you coding experts :)

sonichero 05-23-2007 06:28 AM

http://www.vbulletin.com/forum/showthread.php?t=224641

Just copy and paste.

Code:

<td id="custommenu" class="vbmenu_control">
    <a href="#">Custom Menu</a>
    <script type="text/javascript">
        vbmenu_register("custommenu");
    </script>
</td>
<div class="vbmenu_popup" id="custommenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">Custom Menu</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
<tr>
            <td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
<tr>
            <td class="thead">Header Like in Quick Links</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
<tr>
            <td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>

</table>
</div>


Chicago_VLNU_4s 05-23-2007 05:38 PM

no no my friend, it's for an external page, not vbulletin :p. Thanks anyways. Help anyone

sonichero 05-23-2007 09:56 PM

not sure. You need to find the code for vbmenu_register and copy it...

Chicago_VLNU_4s 05-24-2007 01:51 AM

yeah, that was going to be my second option if nobody could assist. But if anyone could tell me where to look, I'd appriciate it!!


All times are GMT. The time now is 03:55 PM.

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.01052 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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