Home Unanswered Active Tags New Question

Scroll position not working in iframe

Hi Dan,

I have placed the control in a iframe and set the scroll position to 7:00.

When in the iframe this doesnt work, but when I go direct to the URL the scroll position works fine and starts at 7:00.

Thanks
Asked by Anonymous 4 years ago.
Replies
Sorry for the delay.

I've created a simple test page and it seems to be working fine in IE7 and FF2.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<header>
</header>
<body>
<iframe src="http://www.daypilot.org/demo/Calendar/" width="1000" height="600"></iframe>
</body>
</html>

What's the browser you are using? Are there any JavaScript errors during loading?
Comment posted by Dan Letecky 4 years ago.
HI Dan,

I am using IE7 and there are no JavaScript errors when building.

This is for the scheduler if that makes any difference.
Comment posted by Anonymous 4 years ago.
I've tried the scheduler in IE7 as well and it works:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<header>
</header>
<body>
<iframe src="http://www.daypilot.org/demo/Scheduler/" width="1000" height="600">
</iframe>
</body>
</html>

Can you test this HTML with the demo URL and with your URL? If you were able to describe the steps to reproduce the bug it would help me a lot.
Comment posted by Dan Letecky 4 years ago.
I found the problem.

We are using the extjs tab control and building the Scheduler inside this.

The javascript from extjs must be screwing with the scoll positioning of the control.

looks like we will be getting rid of the extjs tabs then.
Comment posted by Anonymous 4 years ago.

hi..

I wants to know that how to get browser scroll position inside an Iframe.

Please help.

regards dsingh

Comment posted by dsingh 2 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java