Well, its javascript, not CSS.
This is what is suppossed to happen.
I have a javascript on another page. That javascript I call externaljavascript. All it does is put text on a webpage.
EX:
document . write (" This is just the beginning! ")
Without the spaces of course.
I save that as a txt file and place it on the server within the same folder as the html page it is suppossed to write on
Now on the webpage it is suppossed to write on... well it won't.
In the body of the webpage I put:
< SCRIPT LANGUAGE = " Javascript " TYPE=" text/javascript " scr = " gamessection2.txt">
< /SCRIPT >
(again, without the spaces)
In the book, it says it is suppossed to import the javascript and run it. When it runs, its suppossed to write the text:
This is just the beginning!
So far so bad... It must be something... a quote, a line something I am missing that I am just not seeing.
Also:
I don't know css as well as I would like (which is slowing me down in making a FireFox skin too) but I think I could do this with a div tage, but I am not sure. I think I can have a div tage 'write' something on the html document.
Basically what I am trying to do is set up my website so it is easier to edit text stories with out making a dynamic database. I write a story in a text file and the javascript calles it and puts it on the page. I can change content from one source.
Man... I really need to learn this building a website stuff faster! Eventually I will have to learn php amd MySQL.