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

Reply
 
Thread Tools Display Modes
  #11  
Old 09-18-2009, 07:57 PM
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you think you could help me by telling me how to make sure my table stays to the right of the header?

--------------- Added [DATE]1253308780[/DATE] at [TIME]1253308780[/TIME] ---------------

Yeah im dead lost on this one i get one link that fails and just pops me to the top well near it and no drop down.
Reply With Quote
  #12  
Old 09-18-2009, 08:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you say you are lost, the best thing to do is post your code so people can point you in the right direction.
Reply With Quote
  #13  
Old 09-18-2009, 09:15 PM
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne,

Though i appreciate your fast replies they dont help me.

You keep talking to me as if im a master coder/programer.

So telling me to make a table and follow the article doesnt help, expecially since the article is written specificly for existing navbars and i am neither have a existing navbar nor am i even in the navbar template. So the items that the article is telling me to search for are not there for me to use the article against.

Code:
<div class="fright" id="nav">
<td>
<td id="custommenu1" class="vbmenu_control">
    <a href="#">Custom Menu1</a>
    <script type="text/javascript">
        vbmenu_register("custommenu1");
    </script>
</td><td id="custommenu2" class="vbmenu_control">
    <a href="#">Custom Menu2</a>
    <script type="text/javascript">
        vbmenu_register("custommenu2");
    </script>
</td>
</td>

<img src="http://www.yoursite.com/forum/images/onlydev/misc/nav_bottom.gif" alt="" /></div>

<div id="header"><img src="http://www.yoursite.com/forum/images/onlydev/misc/header_right.gif" class="fright" alt="" /><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.yoursite.com/forum/images/onlydev/misc/logo.gif" alt="$vboptions[bbtitle]" /></a></div>
<br />
$cyb_flashimagebanners
<br />
<!-- Header Popup -->
<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">
<a href="http://www.yoursite.com/forum/index.php">Link1</a>
<a href="http://www.yoursite.com/forum/index.php">Link2</a>
<a href="http://www.yoursite.com/forum/index.php">Link3</a>
</td>
</tr>
</table>
</div><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">
<a href="http://www.yoursite.com/forum/index.php">Link1</a>
<a href="http://www.yoursite.com/forum/index.php">Link2</a>
<a href="http://www.yoursite.com/forum/index.php">Link3</a>
</td>
</tr>
</table>
</div>
<!-- End Header Popup -->


<!-- content table -->
$spacer_open

$_phpinclude_output
Reply With Quote
  #14  
Old 09-18-2009, 09:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The basic structure of a table is:
HTML Code:
<table>
<tr>
<td>
</td>
</tr>
</table>
If you know nothing of tables, then you really should google them or have a good book on html. I like this site - HTML Tables
Reply With Quote
  #15  
Old 09-18-2009, 09:48 PM
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks i understand that, but how do i apply the article?

Like i have above?
Reply With Quote
  #16  
Old 09-18-2009, 10:56 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What you did above is just gonna be screwed up because you have no table (<table>) or row (<tr>) tags.

Your id tags are off on the popups. Read the article about that - they have to correspond to the link in the navbar.
Reply With Quote
  #17  
Old 09-18-2009, 11:08 PM
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hows this?

Code:
<div class="fright" id="nav">
<table>
<tr>
<td>
<td id="custommenu1" class="vbmenu_control">
    <a href="#">Custom Menu1</a>
    <script type="text/javascript">
        vbmenu_register("custommenu1");
    </script>
</td><td id="custommenu2" class="vbmenu_control">
    <a href="#">Custom Menu2</a>
    <script type="text/javascript">
        vbmenu_register("custommenu2");
    </script>
</td>
</td>
</tr>
</table>

<img src="http://www.yoursite.com/forum/images/onlydev/misc/nav_bottom.gif" alt="" /></div>

<div id="header"><img src="http://www.yoursite.com/forum/images/onlydev/misc/header_right.gif" class="fright" alt="" /><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.yoursite.com/forum/images/onlydev/misc/logo.gif" alt="$vboptions[bbtitle]" /></a></div>
<br />
$cyb_flashimagebanners
<br />
<!-- Header Popup -->
<div class="vbmenu_popup" id="custommenu_menu1" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">Custom Menu1</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
<a href="http://www.yoursite.com/forum/index.php">Link1</a>
<a href="http://www.yoursite.com/forum/index.php">Link2</a>
<a href="http://www.yoursite.com/forum/index.php">Link3</a>
</td>
</tr>
</table>
</div><div class="vbmenu_popup" id="custommenu_menu2" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">Custom Menu2</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
<a href="http://www.yoursite.com/forum/index.php">Link1</a>
<a href="http://www.yoursite.com/forum/index.php">Link2</a>
<a href="http://www.yoursite.com/forum/index.php">Link3</a>
</td>
</tr>
</table>
</div>
<!-- End Header Popup -->
Reply With Quote
  #18  
Old 09-18-2009, 11:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You still don't have your ids correct. This is from the article, look at the stuff in red - they must all be the same:
Code:
<td id="custommenu" class="vbmenu_control">
    <a href="#">Custom Menu</a>
    <script type="text/javascript">
        vbmenu_register("custommenu");
    </script>
</td>
Code:
<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>
</table>
</div>
Also, you have two <td> and </td> tags in your code so remove one in that part of your code like this:
Code:
<table>
<tr>
<td id="custommenu1" class="vbmenu_control">
    <a href="#">Custom Menu1</a>
    <script type="text/javascript">
        vbmenu_register("custommenu1");
    </script>
</td><td id="custommenu2" class="vbmenu_control">
    <a href="#">Custom Menu2</a>
    <script type="text/javascript">
        vbmenu_register("custommenu2");
    </script>
</td>
</tr>
</table>
Reply With Quote
  #19  
Old 09-19-2009, 12:32 AM
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i think i got what you said, the id thing i put the name in the wrong spot.

Hows this now?

Code:
<table>
<tr>
<td id="custommenu1" class="vbmenu_control">
    <a href="#">Custom Menu1</a>
    <script type="text/javascript">
        vbmenu_register("custommenu1");
    </script>
   <td id="custommenu2" class="vbmenu_control">
    <a href="#">Custom Menu2</a>
    <script type="text/javascript">
        vbmenu_register("custommenu2");
    </script>
</td>
</tr>
</table>










<!-- Header Popup -->
<div class="vbmenu_popup" id="custommenu1_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">Custom Menu1</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
<a href="http://www.yoursite.com/forum/index.php">Link1</a>
<a href="http://www.yoursite.com/forum/index.php">Link2</a>
<a href="http://www.yoursite.com/forum/index.php">Link3</a>
</td>
</tr>
</table>
</div><div class="vbmenu_popup" id="custommenu2_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">Custom Menu2</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
<a href="http://www.yoursite.com/forum/index.php">Link1</a>
<a href="http://www.yoursite.com/forum/index.php">Link2</a>
<a href="http://www.yoursite.com/forum/index.php">Link3</a>
</td>
</tr>
</table>
</div>
<!-- End Header Popup -->
Reply With Quote
  #20  
Old 09-19-2009, 01:34 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You got rid of a needed </td> tag. Also, didn't you say you want this vertical? If so, each link needs to be it's own row. Something more like this:

HTML Code:
<table>
<tr>
<td id="custommenu1" class="vbmenu_control">
    <a href="#">Custom Menu1</a>
    <script type="text/javascript">
        vbmenu_register("custommenu1");
    </script>
</td></tr>
<tr><td id="custommenu2" class="vbmenu_control">
    <a href="#">Custom Menu2</a>
    <script type="text/javascript">
        vbmenu_register("custommenu2");
    </script>
</td>
</tr>
</table>
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 11:01 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.07373 seconds
  • Memory Usage 2,294KB
  • Queries Executed 12 (?)
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
  • (6)bbcode_code
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete