MyBB Community Forums

Full Version: Adding Drop Down Menus Tabs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
first of all the first link u gave me... well i cannot complete the task without subcribing,,, and thats how they get you -__-
second the second link well.... it sucks, the tut i have no idea how to understand and what to do with what he gives me... im a noob remember, read it you will understand what i mean

is there any others?
Actually hold on... i finally looked at the code that the first guy gave me and he was on the right track, i looked at it and i understand it but unfortunatly it doesnt work... idk why Sad but it just doesnt have the drop down part to it but the menu tab part is added at least
URL to the page you are adding the code I provided?
Huh? Now I'm lost... I was talking about the code other guy provided
Oh wait yes you my my bad... The code you ga e me
Doesn't work or there's something missing I don't know
Oh no never mind it was u
so is it working or not? if not, can you post the URL where you are trying to use the drop downs so we can look at it and try to help you? otherwise we can not help you since we do not know what it wrong
Oh sorry ummmm it's at tutorios.com on the index page on the tab menu...
try this

<div id="headsub">
			<div class="menu" style="padding-bottom: 3px;">
				<ul>
					<li><a href="http://www.tutorios.com/index.php">Home</a></li>
					<li><a href="http://www.tutorios.com/">Forums</a></li>
					<li><a href="http://www.tutorios.com/tutorials">Tutorials</a></li>
					<li><a href="http://tutorios.com/mydownloads.php">Downloads</a></li>
					<li><a href="http://tutorios.com/YOUR_FALLBACK_PAGE.php" target="_blank" id="drop">Link Text</a>
						<div id="drop_popup" class="popup_menu" style="display: none;">
							<div class="popup_item_container">
								<a href="http://tutorios.com/FIRST_LINK.php" class="popup_item" target="_blank">FIRST LINK TEXT</a>
							</div>
							<div class="popup_item_container">
								<a href="http://tutorios.com/SECOND_LINK.php" class="popup_item" target="_blank">SECOND LINK TEXT</a>
							</div>
						</div>
						<script type="text/javascript">
						// <!--
							if(use_xmlhttprequest == "1")
							{
								new PopupMenu("drop");
							}
						// -->
						</script>
					</li>
                    <li><a href="http://www.tutorios.com/contact">Contact Us</a></li>
					<span style="float: right;">
						<li><a href="http://tutorios.com/usercp.php">User CP</a></li>
					</span>
				</ul>
			</div>
</div>
Again it didnt work Sad under is the attachment of a picture of what it looks like in the tabs when I use the code you gave me. Also below is the complete code that I put into it. Ummm I know I didnt change anything to it because I wanted to make sure its not becasue of me that its not working.

<hr class="hidden" />
			<div id="panel">
			<navigation>{$welcomeblock}
</div>
		<div id="header" style="height: 64px;">
			<div class="logo" style="margin-left: 11px; padding-bottom: 2px;"><a href="{$mybb->settings['bburl']}/index.php"><div class="logo">{$mybb->settings['bbname']}</div></a></div>
		</div>
<div id="headsub">
<ul>
                     <li><a href="http://www.tutorios.com/index.php">Home</a></li>
                     <li><a href="http://www.tutorios.com/">Forums</a></li>
                     <li><a href="http://www.tutorios.com/tutorials">Tutorials</a></li>
                     <li><a href="http://tutorios.com/mydownloads.php">Downloads</a></li>
                     <li><a href="http://tutorios.com/YOUR_FALLBACK_PAGE.php" target="_blank" id="drop">Link Text</a>
                         <div id="drop_popup" class="popup_menu" style="display: none;">
                             <div class="popup_item_container">
                                 <a href="http://tutorios.com/FIRST_LINK.php" class="popup_item" target="_blank">FIRST LINK TEXT</a>
                             </div>
                             <div class="popup_item_container">
                                 <a href="http://tutorios.com/SECOND_LINK.php" class="popup_item" target="_blank">SECOND LINK TEXT</a>
                             </div>
                         </div>
                         <script type="text/javascript">
                         // <!--
                             if(use_xmlhttprequest == "1")
                             {
                                 new PopupMenu("drop");
                             }
                         // -->
                         </script>
                     </li>
                     <li><a href="http://www.tutorios.com/contact">Contact Us</a></li>
                     <span style="float: right;">
                         <li><a href="http://tutorios.com/usercp.php">User CP</a></li>
                     </span>
                 </ul>
             </div>
</div>

<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("Drop");
    }
// -->
</script>
                                        <li><a href="http://www.tutorios.com/contact">Contact Us</a></li>
<span style="float: right;">
					<li><a href="{$mybb->settings['bburl']}/usercp.php">User CP</a></li>
{$modcplink}
{$admincplink}
</span>
				</ul>
			</div>
</div>
<div id="container">
		<a name="top" id="top"></a>
			
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
			<br />
can you revert back to what it was before my last suggestion? the popup menu in the list for the menu is breaking it apparently.
Pages: 1 2 3