Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move an iframe's scroll bar to the right? 1

Status
Not open for further replies.

OsakaWebbie

Programmer
Joined
Feb 11, 2003
Messages
628
Location
JP
I have a table that is built (server-side) from data from a database, and often contains many columns, so it becomes quite wide. It is displayed inside an iframe. The newest data is always the right-most columns, so if possible, I would the horizontal scrollbar slid all the way to the right. (Yes, I know I'm lazy, but every single time I call that page, I have to slide the scrollbar - it gets old...) Is there a way to do that, either with Javascript or HTML itself?
 
Cool! I was skeptical, also, of it being cross-browser, since the Microsoft page said there were no standards associated with the function. But it works in both IE and Firefox, which are the main ones used with my database, and if it doesn't work with other browsers it's not a disaster - this is just a "nice-to-have". Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top