Thread: Valid code.
View Single Post
  #3  
Old 03-05-2006, 04:02 PM
CAMS's Avatar
CAMS CAMS is offline
 
Join Date: Jan 2006
Location: Edinburgh, Scotland
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by princeton
Can you post the code that you created?

On the above page...
you have duplicate <body> tags.
you also have extra </td></tr></table> ... I'm not sure if you need them.

the extra </tr> etc is vbulletins code :S didnt find any in the header code but the other body tag is mine.. wasnt sure wer to put the preload stuff in the <body> tag that i have in the header...

tryed removing the body tag from forumhome but unsure if this removes it from every part of vb so the body tag in the header is the only one that will be ther...

heres the header code

that validates (or does when in a normal page and not vb)

Code:
<body onload="MM_preloadImages('2Evolve/images/2e_juicerollOVER_05.gif','2Evolve/images/2e_juicerollOVER_06.gif','2Evolve/images/2e_juicerollOVER_07.gif','2Evolve/images/2e_juicerollOVER_08.gif','2Evolve/images/2e_juicerollOVER_09.gif','2Evolve/images/2e_juicerollOVER_10.gif','2Evolve/images/2e_juicerollOVER_11.gif','2Evolve/images/2e_juicerollOVER_12.gif','2Evolve/images/2e_juicerollOVER_13.gif','2Evolve/images/2e_juicerollOVER_14.gif')">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
    <td width="590" height="167" valign="top"><table width="100" border="0" cellpadding="0" cellspacing="0">
<tr>
        <td width="188" height="167" valign="top"><img src="2Evolve/images/2e_juice_01.gif" alt="header" width="188" height="167" /></td>
          <td width="402" valign="top"><img src="2Evolve/images/2e_juice_02.gif" alt="header2" width="402" height="167" /></td>
        </tr>
      
    </table></td>
    <td width="393" valign="top"><table width="393" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
        <td height="148" colspan="3" valign="top"><img src="2Evolve/images/2e_juice_04.gif" alt="header3" width="393" height="148" /></td>
        </tr>
      <tr>
        <td width="134" height="19" valign="top"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','2Evolve/images/2e_juicerollOVER_05.gif',1)"><img src="2Evolve/images/2e_juice_05.gif" alt="Community Forums" name="Image4" width="134" height="19" border="0" id="Image4" /></a></td>
        <td width="128" valign="top"><a href="view.php?pg=customstyles" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','2Evolve/images/2e_juicerollOVER_06.gif',1)"><img src="2Evolve/images/2e_juice_06.gif" alt="View Vbulletin Styles" name="Image5" width="128" height="19" border="0" id="Image5" /></a></td>
        <td width="131" valign="top"><a href="forumdisplay.php?f=4" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','2Evolve/images/2e_juicerollOVER_07.gif',1)"><img src="2Evolve/images/2e_juice_07.gif" alt="Pre-Sale Questions and Help" name="Image6" width="131" height="19" border="0" id="Image6" /></a></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
    <td width="590" height="34" valign="top"><table width="100" border="0" cellpadding="0" cellspacing="0">
<tr>
        <td width="73" height="34" valign="top"><a href="main.php" target="_self" onmouseover="MM_swapImage('Image7','','2Evolve/images/2e_juicerollOVER_08.gif',1)" onmouseout="MM_swapImgRestore()"><img src="2Evolve/images/2e_juice_08.gif" alt="FrontPage" name="Image7" width="73" height="34" border="0" id="Image7" /></a></td>
          <td width="61" valign="top"><a href="usercp.php" target="_self" onmouseover="MM_swapImage('Image8','','2Evolve/images/2e_juicerollOVER_09.gif',1)" onmouseout="MM_swapImgRestore()"><img src="2Evolve/images/2e_juice_09.gif" alt="User Control Panel" name="Image8" width="61" height="34" border="0" id="Image8" /></a></td>
          <td width="91" valign="top"><a href="memberlist.php" target="_self" onmouseover="MM_swapImage('Image9','','2Evolve/images/2e_juicerollOVER_10.gif',1)" onmouseout="MM_swapImgRestore()"><img src="2Evolve/images/2e_juice_10.gif" alt="View Member List" name="Image9" width="91" height="34" border="0" id="Image9" /></a></td>
          <td width="97" valign="top" id="navbar_search"><a href="search.php$session[sessionurl_q]" target="_self" onmouseover="MM_swapImage('Image10','','2Evolve/images/2e_juicerollOVER_11.gif',1)" onmouseout="MM_swapImgRestore()"><img src="2Evolve/images/2e_juice_11.gif" alt="Search Forums" name="Image10" width="97" height="34" border="0" id="Image10" /></a>
          <script type="text/javascript"> vbmenu_register("navbar_search", true); </script></td>
          <td width="76" valign="top"id="usercptools"><a href="$show[nojs_link]#usercptools" target="_self" onmouseover="MM_swapImage('Image11','','2Evolve/images/2e_juicerollOVER_12.gif',1)" onmouseout="MM_swapImgRestore()"><img src="2Evolve/images/2e_juice_12.gif" alt="QuickLinks" name="Image11" width="76" height="34" border="0" id="Image11" /></a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script></td>
          <td width="68" valign="top"><a href="faq.php" target="_self" onmouseover="MM_swapImage('Image12','','2Evolve/images/2e_juicerollOVER_13.gif',1)" onmouseout="MM_swapImgRestore()"><img src="2Evolve/images/2e_juice_13.gif" alt="View Faq?" name="Image12" width="68" height="34" border="0" id="Image12" /></a></td>
          <td width="124" valign="top"><a href="register.php" target="_self" onmouseover="MM_swapImage('Image13','','2Evolve/images/2e_juicerollOVER_14.gif',1)" onmouseout="MM_swapImgRestore()"><img src="2Evolve/images/2e_juice_14.gif" alt="Join The Community!" name="Image13" width="124" height="34" border="0" id="Image13" /></a></td>
        </tr>
      
    </table></td>
    <td width="190"></td>
  </tr>
</table>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03086 seconds
  • Memory Usage 1,807KB
  • 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
  • (1)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