David Harrison
06-04-2003, 04:24 PM
Oh you're all gonna hate me (more than you already do) after this one, I gotta load of questions this time.
First off get the attachment called index.txt, once downloaded save it as a .html file. Why is it that in IE6 and Netscape (7.0 is the only version I've tested it on), is it that the page is all squashed, in the tr cell (and the td cell within it) with the three buttons in, I didn't specify the height of the cells in the hope that the cells would expand and fill the space, and they did until I added the DOCTYPE which makes the browser read the HTML as transitional, what's wrong with my HTML (and don't say the table's or the font tags, I'm relearning HTML and learning XHTML and CSS slowly from a book). Also in Netscape it leaves a big gap at the top of the page (and bottom it the page is long enough), does this mean it doesn't "like" topmargin="0" bot... etc., and there's no scroll bar if the page is short, I tried using scroll="yes" but it didn't like that either how can I fix these problems.
(Sorry to put an HTML ques. in here, but you guys know you're stuff and I promise that the rest of the thread questions will be about js.)
Some time ago I asked for a script that would load a .js file inside a .js file and it works fine, here's the code:
var lscript=document.createElement("script");
lscript.src=(joketype=="clean")?"cjdump.js":"djdump.js";
document.getElementsByTagName("head")[0].appendChild(lscript);
However when I move and entire .js file into some script tags in an HTML file (sorry for the mention of it's name) it stopped working, so now I need a new script, you see if I only needed to load 1 I could do that but instead I need one of the other.
I'm sure there were more questions but I can't remember them right now so maybe I'll ask them later.
First off get the attachment called index.txt, once downloaded save it as a .html file. Why is it that in IE6 and Netscape (7.0 is the only version I've tested it on), is it that the page is all squashed, in the tr cell (and the td cell within it) with the three buttons in, I didn't specify the height of the cells in the hope that the cells would expand and fill the space, and they did until I added the DOCTYPE which makes the browser read the HTML as transitional, what's wrong with my HTML (and don't say the table's or the font tags, I'm relearning HTML and learning XHTML and CSS slowly from a book). Also in Netscape it leaves a big gap at the top of the page (and bottom it the page is long enough), does this mean it doesn't "like" topmargin="0" bot... etc., and there's no scroll bar if the page is short, I tried using scroll="yes" but it didn't like that either how can I fix these problems.
(Sorry to put an HTML ques. in here, but you guys know you're stuff and I promise that the rest of the thread questions will be about js.)
Some time ago I asked for a script that would load a .js file inside a .js file and it works fine, here's the code:
var lscript=document.createElement("script");
lscript.src=(joketype=="clean")?"cjdump.js":"djdump.js";
document.getElementsByTagName("head")[0].appendChild(lscript);
However when I move and entire .js file into some script tags in an HTML file (sorry for the mention of it's name) it stopped working, so now I need a new script, you see if I only needed to load 1 I could do that but instead I need one of the other.
I'm sure there were more questions but I can't remember them right now so maybe I'll ask them later.