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

Scrolling an iFrame in IE7

P: n/a
Hello, have been using this code on an image with success in all major
browsers

onClick="parent.scroller.scrollBy(-100,0)"

also have used

onClick="parent.scroller.scrollTo(-100,0)"

until client calls today reporting failure in IE7. I assume an easy
fix and I tried accessing the frame by getElementById; I tried
window.frames[0]; I tried window.frames['framename']. Most of my
attempts work in
IE 6, FF, and Opera but not IE 7.

I google for hours...

Halp!! What does IE 7 want me to use to scroll my iframe?

Please someone?!

JG

Jun 19 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jun 18, 9:50 pm, jerrygarciuh <jerrygarc...@gmail.comwrote:
Hello, have been using this code on an image with success in all major
browsers

onClick="parent.scroller.scrollBy(-100,0)"

also have used

onClick="parent.scroller.scrollTo(-100,0)"

until client calls today reporting failure in IE7. I assume an easy
fix and I tried accessing the frame by getElementById; I tried
window.frames[0]; I tried window.frames['framename']. Most of my
attempts work in
IE 6, FF, and Opera but not IE 7.

I google for hours...

Halp!! What does IE 7 want me to use to scroll my iframe?

Please someone?!

JG

Well, I am relived but at such a cost!

The culprit was the difference in the way that IE 6 vs IE 7 handles
this:

body {
overflow:hidden;
}

IE 6 still sees the content as scrollable but IE 7 does not!

I'm going to bed.

JG

Jun 19 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.