General discussion


Can someone help

By ChrisMS ·
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

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Sorrrrrry, the code is....

by ChrisMS In reply to Can someone help

document.write('<a href="' + url + '" target="_blank">');
document.write('<img src="'+ graphic + '"> width=')
document.write(width=' + width +'' height=' + height + '');

thanks again

Collapse -

Missing stuff

by syadm In reply to Sorrrrrry, the code is... ...

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

Back to Desktop Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums