return to tranceaddict TranceAddict Forums Archive > Main Forums > Chill Out Room

 
Having porblems with HTML code: error
View this Thread in Original format
rockster77
i'm not much of a programmer...i built a web page but it had 1 error. i can't figure out what the error is. can someone help debug the code.

here's the code:


edit: it won't work if i post the code...i'll upload the page somewhwere.
rockster77
here's the link:

http://htmlcodeerror.100free.com/

the error is on line 27, character 1, it's a syntax error.....but i don't know what all this means.

also.....i used a mouseover effect of the buttons but the gifs don't seem to preload.

if i don't sound like i know what i'm talking about.....it's because i'm new to this stuff. thanks in advance for the help.

rocky.
Bick
I don't know a whole lot either, but I had a look through it and I have a question...

((Subsitute ^'s with code brackets))


^SCRIPT language="JavaScript"^
function FT_PreloadImages()
{
if (document.images) {
if (typeof(document.FT) == 'undefined') {
document.FT = new Object();
}
document.FT.loaded_images = new Array();
var argc = FT_PreloadImages.arguments.length;
for (i=0; i document.FT.loaded_images[i] = new Image();
document.FT.loaded_images[i].src = FT_PreloadImages.arguments[i];
}
}
}
function msover(img,ref,desc) { if (document.images) { document.images[img].src = ref; window.status = desc; } return true; }
function msout(img,ref) { if (document.images) { document.images[img].src = ref; window.status = ""; } return true; }
//--^
^/SCRIPT^


I think the problem is with the second last line shown here. You don't have the start of that line anywhere in the above (( //--^ )) The start of that line should be (( ^!-- )) place it just below the first line shown here. I hope that helps.
AnotherWay83
thats strange, im using IE6 and the page shows up just fine...what r u talking about...didn't c any errors...

peace
rockster77
quote:
Originally posted by AnotherWay83
thats strange, im using IE6 and the page shows up just fine...what r u talking about...didn't c any errors...

peace


i'm using IE 6 also. if you look in the bottom left-hand corner of the browser, it says "Done, but with errors on the page." if you click that it tells you where the errors are. it's ok though...i figured out the problem. thanks anyway.
rockster77
wooo hooo !!!! just hit 500 posts. it's about time. i've only been here for almost 2 years. also...i just checked my profile...and i have 1 referral....but i'm not sure what it is and how i got it.
CLICK TO RETURN TO TOP OF PAGE
 
Privacy Statement