By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,319 Members | 1,963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,319 IT Pros & Developers. It's quick & easy.

restore an applet scroll position after posting

P: 1
Hi guys i m trying to find a way to restore the scroll position in an applet.
I was trying :

(document.all)?document.applets[0].scrollTop:window.pageYOffset);

document.getElementById("tryScroll").scrollTop;

document.applets[0].scrollTo(0, position);

all that in order to get the scroll position of the applet, but doesn't work.

I hope you guys have an idea how to manipulate an applet with javascript !!

Thank 's in advance
Jan 22 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
You'll need to call a Java method which scrolls the applet.
Jan 23 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.