vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Header tables causing problems... (https://vborg.vbsupport.ru/showthread.php?t=86951)

Steve W. 05-29-2003 06:58 AM

Header tables causing problems...
 
Have a look at http://rockpop.goldenpie.com/forums/...hp?threadid=24 and you'll notice that the content of the thread is placed underneath the table defined in the header. On all other pages, the page content goes inside this table, but for threadshow, it goes outside, cause a horrid mess! I don't know if it has something to do with it trying to redefine the start of the table?

Can any shed some light on this please?

Tony G 05-29-2003 08:42 AM

Can't do much without some code to see. What templates did you edit to achieve that side thing? Header & Footer?

Steve W. 05-29-2003 08:48 AM

Yeah, I started the code in the header and closed it in the footer...

Quote:

Originally Posted by Header Code
<!-- logo and buttons -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body onLoad="MM_preloadImages('{imagesfolder}/head_1_on.jpg','{imagesfolder}/head_2_on.jpg','{imagesfolder}/head_5_on.jpg','{imagesfolder}/head_9_on.jpg','{imagesfolder}/head_10_on.jpg','{imagesfolder}/head_3_on.jpg','{imagesfolder}/head_6_on.jpg','{imagesfolder}/head_7_on.jpg','{imagesfolder}/head_8_on.jpg','{imagesfolder}/head_4_on.jpg')">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="770" align="left"><smallfont><img src="{imagesfolder}/header_logo.jpg" width="423" height="48"></smallfont></td>
<td width="100%" align="center" background="{imagesfolder}/header_title_fill.gif"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="33" align="left" background="{imagesfolder}/header_menu_bg.gif"><font face="Verdana, Arial, Helvetica, sans-serif"><smallfont><a href="index.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('usercp','','{imagesfold er}/head_1_on.jpg',1)"><img src="{imagesfolder}/head_1_off.jpg" alt="User CP" name="usercp" width="76" height="33" border="0"></a><a href="register.php?s=$session[sessionhash]&action=signup" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('register','','{imagesfo lder}/head_2_on.jpg',1)"><img src="{imagesfolder}/head_2_off.jpg" alt="Register" name="register" width="85" height="33" border="0"></a><a href="calendar.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('calender','','{imagesfo lder}/head_5_on.jpg',1)"><img src="{imagesfolder}/head_5_off.jpg" alt="Calender" name="calender" width="93" height="33" border="0"></a><a href="memberlist.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('members','','{imagesfol der}/head_9_on.jpg',1)"><img src="{imagesfolder}/head_9_off.jpg" alt="Members" name="members" width="91" height="33" border="0"></a><a href="links.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('links','','{imagesfolde r}/head_10_on.jpg',1)"><img src="{imagesfolder}/head_10_off.jpg" alt="Links" name="links" width="57" height="33" border="0"></a><a href="features.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('features','','{imagesfo lder}/head_3_on.jpg',1)"><img src="{imagesfolder}/head_3_off.jpg" alt="Features" name="features" width="90" height="33" border="0"></a><a href="misc.php?s=$session[sessionhash]&action=faq" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('faq','','{imagesfolder}/head_6_on.jpg',1)"><img src="{imagesfolder}/head_6_off.jpg" alt="FAQ" name="faq" width="44" height="33" border="0"></a><a href="search.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('search','','{imagesfold er}/head_7_on.jpg',1)"><img src="{imagesfolder}/head_7_off.jpg" alt="Search" name="search" width="74" height="33" border="0"></a><a href="member.php?s=$session[sessionhash]&action=logout" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('logout','','{imagesfold er}/head_8_on.jpg',1)"><img src="{imagesfolder}/head_8_off.jpg" alt="Logout" name="logout" width="73" height="33" border="0"></a><a href="index.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','{imagesfolder }/head_4_on.jpg',1)"><img src="{imagesfolder}/head_4_off.jpg" alt="Head" name="home" width="60" height="33" border="0"></a></smallfont></font></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="770" align="left"><smallfont><img src="{imagesfolder}/header_regular.jpg" width="660" height="38"></smallfont></td>
<td width="100%" align="center" background="{imagesfolder}/wrap_header.gif"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="208" align="left" valign="top" background="{imagesfolder}/wrap_side.gif"><smallfont><img src="{imagesfolder}/side_regular.jpg" width="208" height="403"></smallfont></td>
<td width="100%" align="center" bgcolor="#F4F2F2">

And it's closed in the footer with...

Quote:

Originally Posted by Footer Code
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="208" align="left" valign="top" background="{imagesfolder}/wrap_side.gif"><smallfont><img src="{imagesfolder}/wrap_side.gif" width="208" height="38"></smallfont></td>
<td width="100%" align="center" valign="top" bgcolor="#F4F2F2">
<!-- CONTENT TABLE END -->
<!-- /content area table -->
<normalfont></normalfont>
<p align="center"><smallfont>
<!-- Do not remove this copyright notice -->
Powered by: vBulletin Version $templateversion<br>
Copyright &copy;2000 - 2002, Jelsoft Enterprises Limited.<br>
<b> <a href="$contactuslink">Contact Us</a> - <a href="$homeurl">$hometitle</a>
<!-- - <a href="$privacyurl">Privacy Statement</a> -->
</b><br>
<!-- Do not remove this copyright notice -->
$copyrighttext </smallfont></p>
<p align="center"><smallfont></smallfont></p></td>
</tr>
</table>
</center>



All times are GMT. The time now is 01:50 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.01612 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete