Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting scroll bar position

 
vishal pradhan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone tell me how should i set scroll bar position after postback in struts using anchor tag in URL.
I was using but this is not working in iPad.
I want to get solution so that this will work on both platform that is ipad and Win OS.

Thanks in anticipation
 
Joe Ess
Bartender
Posts: 9300
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This doesn't sound like a Struts problem. This is a browser compatibility problem. I'll change the title and move it to a more applicable forum.
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understand the comments in this bug correctly, you should try using document.documentElement.scrollTop.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic