vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Need help with header nagivation (https://vborg.vbsupport.ru/showthread.php?t=206080)

conheomap 02-21-2009 02:08 AM

Need help with header nagivation
 
1 Attachment(s)
I am so new about Vbulletin and still trying to get a hang of it.

This is the original version of the board:
original

This is the version I would like to get:

Iwouldliketoget


I know barely anything about coding. Is there any mods for this or can someone help me out with the code?
Here are the codes in the "header". I didn't code this myself. Just copy from different places.

PHP Code:

<!-- logo -->
<
a name="top"></a>
<
center>
<
table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/head_back.gif)">
<
tr>
</
tr>
</
table>
</
center>

<!-- /
logo -->
<
table width="100%" style="background-image:url($stylevar[imgdir_misc]/link_05.jpg)" align="center" border="0" cellpadding="0" cellspacing="0">
<
tr>
<
td align="left" valign="top" width="408"><img src="$stylevar[imgdir_misc]/link_01.jpg" border="0" alt="" /></td>
<
td>&nbsp;</td>
</
tr>
</
table>

<!-- 
content table -->
$spacer_open

$_phpinclude_output 

Thank you so much.

vbplusme 02-21-2009 02:28 AM

Is the code you have posted the header for the "original"?

Here is the basic structure for a custom navbar that I use sometimes:

HTML Code:


<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"><tr>

<td class="alt1" align="center" width="20%">

<a href="" target="_blank">Link For Sale</a>
</td>

<td class="alt1" align="center" width="20%">

<a href="" target="_blank">Link For Sale</a>
</td>

<td class="alt1" align="center" width="20%">

<a href="" target="_blank">Link For Sale</a>
</td>
</td>

<td class="alt1" align="center" width="20%">

<a href="" target="_blank">Link For Sale</a>
</td>

<td class="alt1" align="center" width="20%">

<a href="" target="_blank">Link For Sale</a>
</td>
</tr>
</table>

I don't know for sure what code you have posted so I can tell you where to insert this block. To customize it to your need you would change the class="alt1" to a new class that you would add to make your display. For example,

.mynavbar
{
add you attributes here
font color
font size etc...
}

Then you would add the class definition to your Main CSS page in the bottom box.

HTH

conheomap 02-21-2009 02:47 AM

yeah it's the original. I don't know what they do, but yeah.

vbplusme 02-21-2009 02:59 AM

Ok, you will have to play around with it a little bit to make it work but it will. Logically, that menu should be inserted in the code block that displays the header image. Can you make the two images that are called available? I can try to test it to tell you which one.

Here is an alternative way to generate the menu items using <div> tags:

HTML Code:

<div align="center">
<span class="spacer"><a href="" target="_blank">Link For Sale</a></span>
<span class="spacer"><a href="" target="_blank">Link For Sale</a></span>
<span class="spacer"><a href="" target="_blank">Link For Sale</a></span>
</div>

I think you have a lot more control over where you place this block on the page than using tables.

conheomap 02-23-2009 05:31 PM

thank you after playing with it I got what I wanted :)


All times are GMT. The time now is 04:53 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.01087 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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