April 22nd, 2003, 11:56 PM
i wanted to include a dhtml menu in my header file. i saved my header file as .js..
in my index.htm, i include my header.js..
before i added the dhtml menu in my header, everything works fine. after adding the dhtml menu, when i open index, it nv show the header part anymore.. and it shows no error...
wat is the problem then??
in my header file i have <body> and in my index file i also have <body> will tat be a problem??
April 23rd, 2003, 12:07 AM
What's a 'header file'? Can't answer this without lots more info...what's in that .js file, mainly...
April 23rd, 2003, 12:13 AM
header.js is the name of the file i want to include in index.htm...
wat's in header?? the dhtml menu...banners and logos.
April 23rd, 2003, 12:18 AM
Any document.write(....) statements in there? If HTML is being output, the script needs to be in the <body>, at the spot where you want that output to appear. And: no, one <body> tag per customer.
April 23rd, 2003, 12:49 AM
yes....everything is there.....
document write... <body>
but strange though..nothing appear....
Last edited by joyce; April 23rd, 2003 at 01:04 AM.