vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
|
#3
| |||
| |||
| 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 |
|
#5
| |||
| |||
| I tried that and do not know how to fix it. All I know is that its the coding that is causing the error..... :( |
|
#6
| |||
| |||
| 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> |
| Thread Tools | |
| |
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 |