Thread: Miscellaneous Hacks - Floating Side Menu
View Single Post
  #99  
Old 12-07-2007, 01:09 AM
nautiqeman nautiqeman is offline
 
Join Date: Jan 2003
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
You placed the code in the wrong place in your header template. Remove what you added to the header template.

Then...in your header template find
Code:
<!-- logo -->
Before it add
Code:
<style type="text/css">
                            /*Menu Links*/

/*NOTE: anything not specified for the #(menu id's) a selector and its pseudo classes
may be inherited in some browsers from other 'a' element styles (if any) on the page*/

#tszmenu a { /*Menu3 Links*/
color:black;
background-color:white;
text-decoration:none;
text-indent:1ex;
}
#tszmenu a:hover {
color:black;background-color:#FFFF99;
}
#tszmenu a:active	{color:black;text-decoration:none;}
#tszmenu a:visited	{color:black;text-decoration:none;}


                           /*End Menu Links*/
</style>
<script src="/forums/mmenu.js" type="text/javascript"></script>
<script src="/forums/menuItems.js" type="text/javascript">

</script>
Let me know what happens...keep me posted.
moved it and it still doesn't show up on the site: www.thesternzone.com/forums

Here is the header template code:

Code:
<style type="text/css">
                            /*Menu Links*/

/*NOTE: anything not specified for the #(menu id's) a selector and its pseudo classes
may be inherited in some browsers from other 'a' element styles (if any) on the page*/

#tszmenu a { /*Menu3 Links*/
color:black;
background-color:white;
text-decoration:none;
text-indent:1ex;
}
#tszmenu a:hover {
color:black;background-color:#FFFF99;
}
#tszmenu a:active	{color:black;text-decoration:none;}
#tszmenu a:visited	{color:black;text-decoration:none;}


                           /*End Menu Links*/
</style>
<script src="mmenu.js" type="text/javascript"></script>
<script src="menuItems.js" type="text/javascript">

</script>
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
 <tr>
  <td width="205"><a href="/"><img src="$stylevar[imgdir_misc]/logo2.png" border="0" alt="" /></a><br /></td>
  <td valign="bottom" align="right">

<table border="0" cellpadding="0" cellspacing="0">
 <tr>
  <td><img src="$stylevar[imgdir_misc]/menu_left.gif" border="0" alt="" /></td>
  <td><a href="index.php"><img src="$stylevar[imgdir_misc]/menu_main1.gif" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
  <td><a href="register.php"><img src="$stylevar[imgdir_misc]/menu_register1.gif" border="0" alt="" /></a></td>
</if>
<if condition="$show['member']">
  <td><a href="usercp.php"><img src="$stylevar[imgdir_misc]/menu_usercp1.gif" border="0" alt="" /></a></td>
</if>
  <td><a href="memberlist.php"><img src="$stylevar[imgdir_misc]/menu_members1.gif" border="0" alt="" /></a></td>
  <!--<td><a href="calendar.php"><img src="$stylevar[imgdir_misc]/menu_calendar1.gif" border="0" alt="" /></a></td>-->
  <td><a href="search.php"><img src="$stylevar[imgdir_misc]/menu_search1.gif" border="0" alt="" /></a></td>
  <td><a href="faq.php"><img src="$stylevar[imgdir_misc]/menu_faq1.gif" border="0" alt="" /></a></td>
<if condition="$show['member']">
  <td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"><img src="$stylevar[imgdir_misc]/menu_logout1.gif" border="0" alt="" /></td>
</if>
  <td><img src="$stylevar[imgdir_misc]/menu_right.gif" border="0" alt="" /></td>
 </tr>
</table>

  </td>
 </tr>
</table>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


$welcomeheaders

<br>

<table width="98%" class="tcat" border="0" align="center" cellpadding="0" cellspacing="5" class="border">
  <tr>
    <td align="center"><a href="/forums/index.php">Forums</a></td>
    <td align="center"><a href="/forums/search.php?do=getnew">New Posts</a></td>
    <td align="center"><a href="/forums/private.php">Inbox</a></td>
    <td align="center"><a href="http://www.sirius.com/servlet/ContentServer?pagename=Sirius/Page&c=FlexContent&cid=1174328309443" target="_blank">Listen Online</a></td>
    <td align="center"><a href="vbookie.php">Casino Artie</a></td>
    <td align="center"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td>
    <td align="center"><a href="/forums/misc.php?do=topposters">Top Posters</a></td>
    <td aligh="center"><a href="/forums/misc.php?do=cfrules">Site Rules</a></td>
   </tr>
</table>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01053 seconds
  • Memory Usage 1,800KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete