472,119 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Scrolling iframes

If one has two iframes side by side is it possible to get them both to
scroll when the user scrolls one of them? If it is possible is there a
reference that will help me in solving this.

Someone suggested I try this group.
Gary

Apr 19 '06 #1
5 1818

Gary wrote:
If one has two iframes side by side is it possible to get them both to
scroll when the user scrolls one of them? If it is possible is there a
reference that will help me in solving this.

Someone suggested I try this group.


I had a stab at this a while ago; the code and demo is here:

http://www.hotspot.freeserve.co.uk/mutual/

--
S.C.

Apr 19 '06 #2

Gary wrote:
If one has two iframes side by side is it possible to get them both to
scroll when the user scrolls one of them? If it is possible is there a
reference that will help me in solving this.

Someone suggested I try this group.
Gary


A simple example of what you want is on here:

http://msdn.microsoft.com/library/en...true#scrolling

Tim

Apr 19 '06 #3

Thanks for the replys.

Stephen: I am using iframes not fixed frames so I don't have framesets.

Tim: I am using a Unix system and the browser doesn't seem to support
jscript.
Gary

Apr 21 '06 #4
Gary said the following on 4/21/2006 1:54 PM:

Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.

<URL: http://www.safalra.com/special/googlegroupsreply/ >
Thanks for the replys.

Stephen: I am using iframes not fixed frames so I don't have framesets.
IFrames and Frames are accessed with the same syntax so whether it is
"IFrames" or "Fixed Frames" doesn't matter.
Tim: I am using a Unix system and the browser doesn't seem to support
jscript.


JScript or Javascript? JScript is MSIE only. But I think you mean
Javascript.

Then you are out of luck, completely. Unless you use some other plugin
(Flash, Java, etc.) That would let you mimic the frames view.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 21 '06 #5
Randy Webb said the following on Fri, Apr 21 2006 11:10 am

=Gary said the following on 4/21/2006 1:54 PM:
=
=Please quote what you are replying to.
=
=If you want to post a followup via groups.google.com, don't use the
="Reply" link at the bottom of the article. Click on "show options" at
=the top of the article, then click on the "Reply" at the bottom of the
=article headers.

Thank you for that information.
I was replying from work. They supply an old netscape browser,
"Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20041214".
The "show options" at the top of the article looks like it is written
over the top something else. The link doesn't work. When at work I
will manually "quote" what I am replying to.

=
=<URL: http://www.safalra.com/special/googlegroupsreply/ >
=
=> Thanks for the replys.
=
=> Stephen: I am using iframes not fixed frames so I don't have
framesets.
=
=IFrames and Frames are accessed with the same syntax so whether it is
="IFrames" or "Fixed Frames" doesn't matter.

Ok, I will try again to see if I can make the example work.
It didn't work the first time I tried it. The example states
"SynchScroll
facilitates proportional, synchronised, bi-axial scrolling of multiple
frames
in a frame set.". So after reading that I guess I gave up when it
didn't
work right away.

=
=> Tim: I am using a Unix system and the browser doesn't seem to
support
=> jscript.
=
=JScript or Javascript? JScript is MSIE only. But I think you mean
=Javascript.

His example was in JScript, note the link was to msdn.microsoft.com,
and I wanted to
thank him for his post. Yes I meant JScript.

=
=Then you are out of luck, completely. Unless you use some other plugin
=(Flash, Java, etc.) That would let you mimic the frames view.

Apr 22 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

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.