klooster Posted February 19, 2006 Report Share Posted February 19, 2006 I am running TNG for 2 years no problem. When I was experimenting with another backgroundcolor, I noticed below the bottom of the TNG pages the next text (did not notice is before, because of the black background and black text it did not show):var elementcw; if( document.getElementById('info1') ) elementcw = document.getElementById('info1').clientWidth; else elementcw = document.getElementById('info1').clientWidth; if( !elementcw ) { elementcw = 100; elementcwadj = 92; if( document.getElementById('info1') ) document.getElementById('info1').width = elementcw; } else elementcwadj = elementcw - 8; document.getElementById('media1').width = elementcwadj; document.getElementById('notes1').width = elementcwadj;TNG runs perfectly, no problem there. Anyone any idea where this comes from and how to fix it ??? Quote Link to comment Share on other sites More sharing options...
klooster Posted February 19, 2006 Author Report Share Posted February 19, 2006 Additional info:The text only appears when I use getperson.php. Installed new getperson.php. Still the same text shows ??? Quote Link to comment Share on other sites More sharing options...
steve30000 Posted February 20, 2006 Report Share Posted February 20, 2006 Looks like there is a problem with this line:<!-- CREATION DATE: 02-03-2004 PhP version Cees Kloosterman You need to close the comment. Otherwise, it is reading the next line (<script language="JavaScript" type="text/javascript">) as a comment instead of starting your script. Therefore the script is being displayed as text instead of acting as a javascript.Steve Quote Link to comment Share on other sites More sharing options...
klooster Posted February 20, 2006 Author Report Share Posted February 20, 2006 Looks like there is a problem with this line:<!-- CREATION DATE: 02-03-2004 PhP version Cees Kloosterman You need to close the comment. Otherwise, it is reading the next line (<script language="JavaScript" type="text/javascript">) as a comment instead of starting your script. Therefore the script is being displayed as text instead of acting as a javascript.SteveThanks Steve!Closed the comment and the text was gone.Never thought of that ! Quote Link to comment Share on other sites More sharing options...
steve30000 Posted February 20, 2006 Report Share Posted February 20, 2006 No problem. Have no idea what that code actually does but I'm assuming Darren put it there for some reason Glad to be of help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.