The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
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. |
#12
|
||||
|
||||
When you say you are lost, the best thing to do is post your code so people can point you in the right direction.
|
#13
|
|||
|
|||
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 |
#14
|
||||
|
||||
The basic structure of a table is:
HTML Code:
<table> <tr> <td> </td> </tr> </table> |
#15
|
|||
|
|||
Thanks i understand that, but how do i apply the article?
Like i have above? |
#16
|
||||
|
||||
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. |
#17
|
|||
|
|||
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 --> |
#18
|
||||
|
||||
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> 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> |
#19
|
|||
|
|||
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 --> |
#20
|
||||
|
||||
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> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|