473,508 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scrolling an iFrame in IE7

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
1 4385
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7014
by: Kirk | last post by:
Is it possible to stop horizontal scrolling whilst still maintaining vertical scrolling within an <IFRAME> ? Within each page of my site I have an IFRAME for content. For some pages there is...
44
919
by: Jim M | last post by:
I have had great success with using <iframe> with overflow-y set to auto. I can get a similar look with the <iframe> tag. BUT... In all cases I need to have fixed heights. Is there a way to...
1
1396
by: Sebastian | last post by:
Hi there I have simple webpage with iframe for the news section. I got a problem, I get the scrolling for left to right also, I just want the scrolling for up and down. How can I fix it? ...
9
10884
by: Mark Horrell | last post by:
I'm having problems getting scrollbars to appear using the 'scrolling' attribute of the 'iframe' tag, and I'm wondering if anyone can help me. I would expect the following code to produce a...
2
2943
by: P2P | last post by:
Hi I am wondering if someone know of a free cross-browsers vertical scrolling script that - is cross cross-browsers - will call the scrolling content from an external html page or from a...
0
7755
by: tequilamala | last post by:
I have an Iframe in one of the pages i am developing... the iframe is suppose to scroll up and down and the links target the iframe. the problem is that the iframe scrolls side to side on internet...
3
5946
by: jagann2007 | last post by:
Hi all, I have a webpage with an IFRAME in it. But some of the pages on my IFRAME which has forms which are really long. So, I want a script or a html code whereby I can scroll to the top of...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7382
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7042
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5052
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.