vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Team: Hot or Not? Ready for Traffic Explosion? vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! vBSEO Helps Forum Earn $100/day from Google AdSense Discover the Power of "Long Tail Search" Crawlability Inc. Files for SEO Technology Patent
se sw

I Need a Little Help With My Header Coding

This is a discussion on I Need a Little Help With My Header Coding within the General Discussion forums, part of the vBulletin SEO Discussion category; After weeks... I have finally figured out the problem with the yellow error box I get on IE. The problem ...

Go Back   vBulletin SEO Forums > vBulletin SEO Discussion > General Discussion

Enhancing 80 million pages.

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-14-2006, 09:06 AM
Senior Member
 
Real Name: james
Join Date: Aug 2006
Posts: 239
I Need a Little Help With My Header Coding

After weeks... I have finally figured out the problem with the yellow error box I get on IE.

The problem exists in the coding of my header. I had this made by a third party and since I do not know coding I have serious trouble figuring out what is wrong. I managed to fix a little bit here and there but would like to receive some help on this. Here is my coding:

HTML Code:
<!-- logo --> <a name="top"></a> <table border="0"  
width="$stylevar[outertablewidth]" cellpadding="0"  
cellspacing="0" align="center"> <tr> <td 
align="$stylevar  [left]" > 
<link href="styles/style.css" type="text/css" 
rel="stylesheet"/>
<script 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>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" 
bottommargin="0" 
onLoad="MM_preloadImages('http://www.traderslaboratory.com/forums/images/header/images/pressed_Home.jpg'
,'http://www.traderslaboratory.com/forums/images/header/images/pressed_TradersForum.jpg','http://www.traderslaboratory.com/forums/images/header/images/pressed_PremiumService.jpg','http://www.traderslaboratory.com/forums/images/header/images/pressed_Register.jpg','http://www.traderslaboratory.com/forums/images/header/images/pressed_Contact.jpg')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="http://www.traderslaboratory.com/forums/images/header/images/BG_14.jpg">
  <table width="777" border="0" cellspacing="0" cellpadding="0">
    <tr>
   <td valign="top"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/BG_01.jpg"></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top" align="left"><a href="http://www.traderslaboratory.com" 
onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_Home','','http://www.traderslaboratory.com/forums/images/header/images/pressed_Home.jpg',1)"><img src="http://www.traderslaboratory.com/forums/images/header/images/LInk_home.jpg" 
name="Link_Home"border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a href="http://www.traderslaboratory.com/forums/" 
onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_TradersForum','',http://www.traderslaboratory.com/forums/images/header/images/pressed_TradersForum.jpg',1)"><img src="http://www.traderslaboratory.com/forums/images/header/images/LInk_traderforum.jpg" name="Link_TradersForum" border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a href="http://www.traderslaboratory.com/index.php?page=Sponsors" onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_PremiumService','','http://www.traderslaboratory.com/forums/images/header/images/pressed_PremiumService.jpg',1)"><img src="http://www.traderslaboratory.com/forums/images/header/images/LInk_PremiumService.jpg" name="Link_PremiumService" border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a 
href="http://www.traderslaboratory.com/forums/register.php" onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_Register','','http://www.traderslaboratory.com/forums/images/header/images/pressed_Register.jpg',1)"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/LInk_Register.jpg" name="Link_Register" border="0"></a></td>
   <td valign="top"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a href="http://www.traderslaboratory.com/forums/sendmessage.php" onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_Contact','','http://www.traderslaboratory.com/forums/images/header/images/pressed_Contact.jpg',1)"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/LInk_Contact.jpg" name="Link_Contact" border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/Interactive_Traders_13.jpg"></td>
    </tr>
  </table> 

Please help me with this.. thank you.
__________________
#1 Interactive Traders Forum
www.TradersLaboratory.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-14-2006, 09:25 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,379
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Can you describe the problem so we can check for that .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 11-14-2006, 10:17 AM
Senior Member
 
Real Name: james
Join Date: Aug 2006
Posts: 239
The problem is my website www.traderslaboratory.comm that gives off a yellow error box on the bottom left on IE.

I tried to find the coding error and i ran a testboard today. The problem exists in the header. I would like to know what part of the coding in the header is causing this. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 11-14-2006, 10:26 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,379
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
You can use firefox java script debug mod in order to find what causes that error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 11-14-2006, 11:12 AM
Senior Member
 
Real Name: james
Join Date: Aug 2006
Posts: 239
I tried that and do not know how to fix it. All I know is that its the coding that is causing the error..... :(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 11-14-2006, 03:34 PM
Senior Member
 
Real Name: james
Join Date: Aug 2006
Posts: 239
I made some fixes to the coding but still can not seem to figure out whats wrong.

Please help :(


HTML Code:
<!-- logo --> <a name="top"></a> <table border="0"  width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar  [left]" > 
<link href="styles/style.css" type="text/css" rel="stylesheet"/>
<script 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>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" 
onLoad="MM_preloadImages('http://www.traderslaboratory.com/forums/images/header/images/pressed_Home.jpg','http://www.traderslaboratory.com/forums/images/header/images/pressed_TradersForum.jpg','http://www.traderslaboratory.com/forums/images/header/images/pressed_PremiumService.jpg','http://www.traderslaboratory.com/forums/images/header/images/pressed_Register.jpg','http://www.traderslaboratory.com/forums/images/header/images/pressed_Contact.jpg')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="http://www.traderslaboratory.com/forums/images/header/images/BG_14.jpg">
  <table width="777" border="0" cellspacing="0" cellpadding="0">
    <tr>
   <td valign="top"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/BG_01.jpg"></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top" align="left"><a href="http://www.traderslaboratory.com" 
onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_Home','','http://www.traderslaboratory.com/forums/images/header/images/pressed_Home.jpg',1)"><img src="http://www.traderslaboratory.com/forums/images/header/images/LInk_home.jpg" 
name="Link_Home"border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a href="http://www.traderslaboratory.com/forums/" 
onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_TradersForum','','http://www.traderslaboratory.com/forums/images/header/images/pressed_TradersForum.jpg',1)"><img src="http://www.traderslaboratory.com/forums/images/header/images/LInk_traderforum.jpg" name="Link_TradersForum" border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a href="http://www.traderslaboratory.com/index.php?page=Sponsors" onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_PremiumService','','http://www.traderslaboratory.com/forums/images/header/images/pressed_PremiumService.jpg',1)"><img src="http://www.traderslaboratory.com/forums/images/header/images/LInk_PremiumService.jpg" name="Link_PremiumService" border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a 
href="http://www.traderslaboratory.com/forums/register.php" onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_Register','','http://www.traderslaboratory.com/forums/images/header/images/pressed_Register.jpg',1)"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/LInk_Register.jpg" name="Link_Register" border="0"></a></td>
   <td valign="top"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><a href="http://www.traderslaboratory.com/forums/sendmessage.php" onMouseOut="MM_swapImgRestore()" 
onMouseOver="MM_swapImage('Link_Contact','','http://www.traderslaboratory.com/forums/images/header/images/pressed_Contact.jpg',1)"><img 
src="http://www.traderslaboratory.com/forums/images/header/images/LInk_Contact.jpg" name="Link_Contact" border="0"></a></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/BG_02.jpg"></td>
   <td valign="top"><img src="http://www.traderslaboratory.com/forums/images/header/images/Interactive_Traders_13.jpg"></td>
    </tr>
  </table> 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Header Change LPH2005 Template Modifications 0 10-15-2006 01:38 PM
Welcome Header offline General Discussion 6 07-25-2006 09:48 PM
Unable to add cookies, header already sent rmjvol Troubleshooting 2 07-20-2006 11:51 AM
Site map/archive link in header, does it help? dutchbb General Discussion 5 10-29-2005 06:33 PM


All times are GMT -4. The time now is 07:06 PM.


Powered by vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.