Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-15-2012, 05:48 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Navbar Help

OK i have a new site and theme which is here - http://www.casualgamingleague.com/forums/index.php

The navbar with "Home", UserCP", Etc is in not in the navbar template
Its in the Header template

I want to add some menus in this navbar with drop downs on each

Anyone know how i would add this ?

My template for this section is :

HTML Code:
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width: 248px;" rowspan="3"><a href="index.php"><img src="gameden/misc/header_logo.jpg" alt="" width="248" height="171" border="0"></a></td>
        <td style="height: 34px; background-image:url(gameden/misc/links_above.jpg); background-repeat:no-repeat;"><div class="smallfont" align="right">
				</div></td>
      </tr>
      <tr>
        <td style=" background-image:url(gameden/misc/links_bg.gif);">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
		  <td style="padding-top: 1px;" align="left"><img src="gameden/misc/links_left.gif" alt="" /></td>
            <td style="padding-top: 1px;"><div align="center"><a href="index.php"><img src="gameden/misc/links_home.gif" alt="" border="0" /></a></div></td>
             <if condition="$show['member']"></if>
            <td style="padding-top: 1px;"><div align="center"><a href="usercp.php"><img src="gameden/misc/links_usercp.gif" alt="" border="0" /></a></div></td>

             <if condition="$show['guest']">
            <td style="padding-top: 1px;"><div align="center"><a href="register.php"><img src="gameden/misc/links_register.gif" alt="" border="0" /></a></div></td>
</if>
            <td style="padding-top: 1px;"><div align="center"><a href="memberlist.php"><img src="gameden/misc/links_members.gif" alt="" border="0" /></a></div></td>
            <td style="padding-top: 1px;"><div align="center"><a href="calendar.php"><img src="gameden/misc/links_calendar.gif" alt="" border="0" /></a></div></td>
            <td style="padding-top: 1px;"><div align="center"><a href="faq.php"><img src="gameden/misc/links_faq.gif" alt="" border="0" /></a></div></td>
            <td style="padding-top: 1px;"><div align="center"><a href="search.php"><img src="gameden/misc/links_search.gif" alt="" border="0" /></a></div></td>
			<td width="100%" align="right"><img src="gameden/misc/links_right.gif" alt="" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td style="height: 97px; background-image:url(gameden/misc/header_under.jpg); background-repeat:no-repeat;"></td>
      </tr>
    </table>

<!-- content table -->
Reply With Quote
  #2  
Old 08-15-2012, 07:03 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did it come like that with the skin?
Reply With Quote
  #3  
Old 08-15-2012, 07:44 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes mate, Not changes at all apart from the temp logo and that was via FTP
Reply With Quote
  #4  
Old 08-15-2012, 10:25 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want to add dropdowns you'd have to use css, take a look here http://www.htmldog.com/articles/suckerfish/dropdowns/
Reply With Quote
  #5  
Old 08-16-2012, 02:08 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not have a clue on how to change CSS as ive never had to and i dare say i would never get used to it as my brain lacks this skill,ha

I had a look at the links and it confused me so i still have no idea on how to achieve this with what i want
Reply With Quote
  #6  
Old 08-16-2012, 02:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right in the vB3 articles area: How To Add Drop Down Menus To Your Navbar
Reply With Quote
  #7  
Old 08-16-2012, 02:45 PM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive already had a look at that Lynne as it was my first point of call but as it shows that is for the navbar template where my navbar is in my header template so i have no clue what to add and where
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:28 PM.


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.04045 seconds
  • Memory Usage 2,230KB
  • 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_html
  • (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