February 2nd, 2003, 02:37 PM
I have a page, what I would like to do is the following:
Is this all possible? If so please provide a sample script and definition.
February 2nd, 2003, 02:49 PM
document.write('This is The News');
Include it like you have in your post.
Explain your problem instead of asking how to do what you decided was the solution.
February 2nd, 2003, 04:40 PM
1) Put the HTML in one long string in your .js file, assigned to somevariablename. You can use one of the convertors found here.
2) Be sure the <script....src="... tags are in the page <head>er.
3) Embed the following in your document, at the very spot where the HTML would have been hardcoded (if you'd done it the usual way):