OK,
I have a diagram which calls mouseover texts to display HTML
i.e
HTML
<Area coords="x,y,z,a" onmouseover="textFunc()">
JS
function textFunc() {
document.all.divdisplay.innerHTML=("<p>Hi</p>"
;
}
This works fine but the text I am displaying is a duplicate of effort as the text already exists in separate HTML files...
ideally I want to do something like this
function textFunc() {
document.all.divdisplay.innerHTML= someHTMLFile.htm
}
This doesn't seem to work though.... help...
I have a diagram which calls mouseover texts to display HTML
i.e
HTML
<Area coords="x,y,z,a" onmouseover="textFunc()">
JS
function textFunc() {
document.all.divdisplay.innerHTML=("<p>Hi</p>"
}
This works fine but the text I am displaying is a duplicate of effort as the text already exists in separate HTML files...
ideally I want to do something like this
function textFunc() {
document.all.divdisplay.innerHTML= someHTMLFile.htm
}
This doesn't seem to work though.... help...