[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 498
  • Last Modified:

Scroll page with cursor position

I have an iframe that is 100px width and 456px wide.

I need it to scroll up if the cursor goes into the top 137px and the scroll down if the cursor goes past Y pixel 419.

I've search for an appropriate script and have tried learning javascript so I can write one myself by I think it's too advanced for me.

Would anyone be able to help me with this?
0
Mr_Splash
Asked:
Mr_Splash
1 Solution
 
scrathcyboyCommented:
You will have a great deal of problem getting a working cross-browser script for this, as most of the window position calls are MS IE specific.  Why not simply enable the scrollbars in the iframe, and let the person scroll themselves - or else, make the Iframe taller, so it will fit the entire content of the page going into it.
0
 
Mr_SplashAuthor Commented:
I've found a solution for this.

http://demos111.mootools.net/Scroller
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now