I have the following script in an html page:
function goToPosition()
{
varGoTo = document.write( document.cookie ("Position") );
document.scroll To(0, varGoTo);
}
</head>
<body onload="goToPos ition()">
When I put the onload="goToPos ition()" in, I get the error message
"object doesn't support this action". I've also tried putting in after
the </body> tag as another script...no go.
I'm setting the cookie with these lines in another function:
varScroll = document.body.s crollTop; document.cookie ("Position") =
varScroll;
Any clues/suggestions greatly appreciated. I recently posted a similar
question, but rearranged how I was doing it, still no luck, so I'm
trying again.
Thanks.
Kathy
function goToPosition()
{
varGoTo = document.write( document.cookie ("Position") );
document.scroll To(0, varGoTo);
}
</head>
<body onload="goToPos ition()">
When I put the onload="goToPos ition()" in, I get the error message
"object doesn't support this action". I've also tried putting in after
the </body> tag as another script...no go.
I'm setting the cookie with these lines in another function:
varScroll = document.body.s crollTop; document.cookie ("Position") =
varScroll;
Any clues/suggestions greatly appreciated. I recently posted a similar
question, but rearranged how I was doing it, still no luck, so I'm
trying again.
Thanks.
Kathy
Comment