Discussion Locked

Can someone help

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have included some Java code to display random advertising banners on my website, but i keep getting the following error message:
Line 82
Char 34
Error expected ')'
code 0

I have worked out its something to do with the line describing width& height, but I cann't figure out what the actual error is. Any help would be appreciated,
cheers all
chris
:-)

2 replies

by chrisms

document.write('
')
document.write('');
document.write(' width=')
document.write(width=' + width +'' height=' + height + '');
document.write('border="0">
');
document.write('');
document.write('
');

thanks again

by syadm

Im no programmer but there seems to be some stuff missing here.
End of line 3 misses a ;
Line 4 should have a ' after the (
The rest of line 4 seems jumbled up with '' nestled.
There may be more to it but this is what
i see. Hope it helps.
Rgds. / Tom

This discussion is closed to new replies.