0

Ok, I have 3 external pages I am loading in three locations on the page. So, I have the following in the head:

function allfunctions(){
clientSideInclude('center', 'http://127.0.0.1/cgi-bin/blosxom.cgi');
clientSideInclude('right', 'http://127.0.0.1/right.html');
clientSideInclude('left', 'http://127.0.0.1/left.html');
}

Then, I load with:

<body onLoad="allfunctions();">

The body contains some tables, and in each they look like:

<span id="left"></span>
<span id="center"></span>
<span id="right"></span>

Now, this is great and each pages loads fine, but what happens is that NO javascript code will run. So, the right.html page has a few javascript commands and they do not load, same with left.html. Everything else loads fine though, I don't see what I can be missing. Any thoughts?

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by kc130
0

Open the page on FireFox and click Tools > Error Console and see what errors you get. I guess it is because the script in embedded in the span and fail to fire. Try write the scripts on the main page ... but that kinda defeat your purpose.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.