a0921313520 / dyndatetime

Automatically exported from code.google.com/p/dyndatetime
0 stars 0 forks source link

IE7: 'popup on long form' problem #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In IE7 with long forms and thus a 'scrolled page' the calenderpopup is 
positioned wrong when the page is scrolled down.
2. see: http://sourceforge.net/tracker/index.php?
func=detail&aid=2036871&group_id=75569&atid=544285 for the bug in the 
calendar.js of dynarch.com and a possible (not working!) resolution.
3. I made the neccesary mod's (see attachment)

What is the expected output? What do you see instead?
The calenderpopup should be positioned to be always in view.

What version of the product are you using? On what operating system?
0.2 on all

Please provide any additional information below.
I made the proper adjustmants thanks to 'nobody' (see 2.).
I attached the code (jquery.dynDateTime02a.js)

Original issue reported on code.google.com by i...@a2hankes.nl on 1 Jan 2009 at 7:01

Attachments:

GoogleCodeExporter commented 8 years ago
Here's how I fixed it:

  if (document.body.scrollLeft)
    br.x += document.body.scrollLeft;
  br.x += window.scrollX;
  if (document.body.scrollTop)
    br.y += document.body.scrollTop;
  br.y += window.scrollY;

Original comment by blo...@gmail.com on 24 Feb 2009 at 6:48

GoogleCodeExporter commented 8 years ago

Original comment by thetoolman on 22 Oct 2009 at 10:33

GoogleCodeExporter commented 8 years ago
Confirmed bug & fix (jquery.dynDatetime02a.js).  Added diff into
jquery.dynDateTime.min.js

Original comment by leprasm...@gmail.com on 1 Feb 2010 at 8:49

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you, it just worked!

Original comment by miguel.o...@gmail.com on 17 Jan 2012 at 8:12