I wanted to put list of misc links on the right side of my page. Since there are many pages and it would need to be updated frequently, I wanted an external file.
I tried a number of methods using arrays and <iframes> or <divs> and nothing seemed to work well with browsers other than IE (granted I'm a hack when it comes to javascript).
Then I tried this in between the <div> tags (CSS):
<SCRIPT LANGUAGE="JavaScript" SRC="page.js"></SCRIPT>
In my page.js, I have a series of
document.write("..."
statements. This of course works in all browsers. Is there a hangup I am not seeing? Is there a better way?
I tried a number of methods using arrays and <iframes> or <divs> and nothing seemed to work well with browsers other than IE (granted I'm a hack when it comes to javascript).
Then I tried this in between the <div> tags (CSS):
<SCRIPT LANGUAGE="JavaScript" SRC="page.js"></SCRIPT>
In my page.js, I have a series of
document.write("..."
statements. This of course works in all browsers. Is there a hangup I am not seeing? Is there a better way?