Thank you!
I've taken both of your suggestions:
I loaded just the .js file in Firefox (And in IE) by using the file's complete URL and I also inserted the "alert" statement into the first line... It all works out, but only after I take out the first line of the script!
I decided after posting the intial request for help to do a little testing, and it turns out that once I remove the first line of script in the file, everything works great. Here's the line:
Code:
document.write("<center><table><tr height='25'><td></td></tr><tr><td><img src='../images/universal/banner.gif'></td></tr></table>")
When that line is in the javascript file, nothing in the code executes. In fact, when that line is present, I cannot load the .js file with the complete URL (The page is blank - Same URL!) and when I look at the source of the page, there's nothing there!
Does anyone know what's up?
Thanks for your help,
Andrew
Code:
document.write("<center><table><tr height='25'><td></td></tr><tr><td><img src='../images/universal/banner.gif'></td></tr></table>")
Last edited by mtairhead : 05-18-2005 at 09:40 AM.
Reason: Correcting the [code] tags
|