Click to See Complete Forum and Search --> : javascript for Safari
appkel
11-27-2003, 04:07 PM
Anyone familiar with javascript with Safari?
"document.body.clientheight" is fine on IE but not on Safari, solution?
Thanks in advance.
fredmv
11-28-2003, 01:56 AM
Originally posted by appkel
document.body.clientheight
That syntax doesn't look correct. Are you sure you didn't mean clientHeight? Remember that JavaScript is case sensitive and that can really make all the difference. If that still doesn't work after correcting that, refer to some documentation and see what the equivalent property is under Safari.
James L.
11-28-2003, 02:13 AM
Can you show the code you are trying to use it in?
appkel
11-30-2003, 05:22 PM
Thank you for your help.
You are right. it should be document.body.clientHeight. But it is still not working for Safari. I have found a replacement: document.body.scrollHeight.
Thanks again.