PDA

View Full Version : Please review & guide me



Peter65
August 21st, 2002, 12:01
This is my first website I designed. I have used only php's include() function and included html or .php pages inside. It works fine with IE6 and Netscape. But some of my friends who use IE5 or IE5.5 complaints, they get some specific line error or ')' missing error. I check the file, but I don't find anything except few htmp </td> tags.

Can someone guide me to get rid of this error?

Thanks

Hobo
August 21st, 2002, 12:05
maybe try the wedesign/html forum :confused2

carlito
August 26th, 2002, 06:44
URL maybe? :o

Salam
August 28th, 2002, 03:15
Originally posted by Peter65
This is my first website I designed. I have used only php's include() function and included html or .php pages inside.
...

First of all, in line 6 & 7 you must close the meta tags .
You are merging many html files in 1 file , and all of htmls have
their own <html><head> & ... .
Make a header file for <html><head> & ...
and another file for footer (...</body></html> )
and delete this parts from other files .

(http://www.abudhabicme.com/new/intro.php ?)

Peter65
August 28th, 2002, 11:00
Originally posted by Salam

First of all, in line 6 & 7 you must close the meta tags .
You are merging many html files in 1 file , and all of htmls have
their own <html><head> & ... .
Make a header file for <html><head> & ...
and another file for footer (...</body></html> )
and delete this parts from other files .

(http://www.abudhabicme.com/new/intro.php ?)

Thanks a lot salam.

It was mainly becos of my stupid mistake of not closing the meta tags.

I also realized that too many <body> & <html> comes in by ways of include() function. I rectified it and it loads faster than before.

I think I still have some problem, because I have added two functions in onLoad, don't know whether it is acceptable.

Salam
August 29th, 2002, 03:38
You are using forbidden characters in names :

function MM_preloadhttp://www.abudhabicme.com/new/images() { //v3.0
var d=document; if (d.http://www.abudhabicme.com/new/images ){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadhttp://www.abudhabicme.com/new/images.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];}}
}
.
.
.
<body ...
onLoad="MM_preloadhttp://www.abudhabicme.com/new/images ...>