Mr_Shaw
asked on
pageXoffset
i just test a part of my script
<script type="text/javascript">
document.write(window.page XOffset)
</script>
and the result which was written to the page was 'undefined'.
is pageXoffset not valid?
<script type="text/javascript">
document.write(window.page
</script>
and the result which was written to the page was 'undefined'.
is pageXoffset not valid?
Use document.body.scrollLeft or document.body.scrollTop instead, replacing document.body as and when needed with another element.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.