•  johans
  • 51.8% (Neutral)
  • YAF Lover Topic Starter
I have found an issue with YAF.Controls.Pager, and how the GoTo popup is shown. When the Forum control is wrapped in an tag that has a "Position: Relative;" css tag, the pager popup is displayed at the wrong position.
I created an JSBin example ( showing the problem, and what i hope / think is an solution.

The html code contains the pager code from my current implementation, and around it a few wrapping divs.
The css (at the bottom) has a tag called .main that contains the "position: relative;" code.
The js code is extracted from the Pager.cs code, and just formatted.

Default the code should break. You can verify that commenting "position: relative;" in the .main class will make the code work again. Put "position: relative;" back in again, and use ".position()" instead of ".offset()" in function Query.fn.getBox().



About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved