Menu
Hi,
I got some javascript (1.2) to animate snowflakes on my webpage (in preparation for Xmas).
When I run the page I get an “Object Required” error in the following code (error line marked).
[code]
var doc_width = 800;
var doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth; **** Error here ****
doc_height = document.body.clientHeight;
}
Can anyone tell me why?
Many thanks advance.