View Single Post
  #192  
Old 01-21-2013, 05:34 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by microbob View Post
1) So, as I understand it, I am going to leave the main headings [Green-colored code] where they currently are located (i.e., as in my previous post) in the Navbar template.
If that's where you want them, in a separate navbar, then they can technically go wherever you want. So long as everything is nested properly, they'll show up wherever you want them. Even outside the default navabar. It seems to be in it's own main div container, so you should be good as long as you've nested it properly in the overall HTML.

Quote:
2) Now, do I continue with additional heading entries using the menu code below, but where I change the heading from New York to New Jersey and rename "custommenu" to "custommenu1" [BLUE-colored code]?
Quote:
3) Where do I place this code so it shows up in the TOP-MENU in the Navbar template?
For these, the actual content of dropdown menus, these will all go in the same location as the fist one you made. That's mainly so you can find them again, and so they don't interfere with anything else. Their location is not the important part, however. Their unique identifiers are. The ID is what tells the the item clicked on which menu to display. So for example, you could just call the New York navbar link newyork:

Code:
<td id="newyork" class="vbmenu_control"><a href="#">New York</a><script type="text/javascript">vbmenu_register("newyork");</script>
</td>
See the two instances of newyork? That was where the two instances of custommenu were. This particular link is now going to execute JavaScript that's going to look for a div with the prefix newyork in its ID when someone clicks on it. So the actual menu content's id would be the one below:

Code:
<div class="vbmenu_popup" id="newyork_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">New York</td></tr>

<tr><td class="vbmenu_option"><a href="http://www.caught-the-skunk.com/index.php?pageid=new-york-supporters">NY Caught-The-Skunk.com Supporters</a></td></tr>

</table>
<div>
So, you give each of your cities/menu something unique to identify them by. So long as don't use any special characters or spaces, you can call them whatever you want.

Quote:
5) Is there (1) </table> followed by (1) </div> after I'm entered all this information?
Each menu item is a div with a table inside of them, so yes. Anything opened (<tag>) will have to be properly closed (</tag>). Similar to before:

Code:
<div>
    <table>
       <tr><td>menu item</td></tr>
       <tr><td>menu item</td></tr>
    </table>
</div>
Quote:
6) Finally, I want to make each of the headings look like a button in menu bars. Is this something you can help me with? vBulletin default is ok. Don't want his image; just want the button effect. Here is the example:

https://vborg.vbsupport.ru/showthread.php?t=245441
Actually, you can still follow his tutorial, just pick the image you want to use. Open up the Style Manager as he directs and look for the Edit CSS option. Then look for the block that handles the vbmenu_control class. Because it's CSS, you can do, well, all kinds of things to the menu. But just try out as he's directed, and you should get a really good idea of what you want to do from there. Also check W3Schools for their CSS tutorials and reference guide. Their very explanatory, but very brief. Easy to quickly grasp CSS from their tutorials in my opinion.

Quote:
I want to thank you for this help. It is greatly appreciated!!! I'm just an average Joe struggling with these little changes but learning along the way.

Bob
Your welcome. I just pretend I know what I'm talking about. Wait until you interact with someone who REALLY knows what he's talking about here.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01269 seconds
  • Memory Usage 1,786KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete