# Prototype and Position of the Popups!

**URL:** <https://www.ruby-forum.com/t/prototype-and-position-of-the-popups/190631>\
**Category:** Rails\
**Created:** [June 24, 2010, 9:54am UTC](https://www.ruby-forum.com/t/prototype-and-position-of-the-popups/190631 "2010-06-24T09:54:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 24, 2010, 9:54am UTC](https://www.ruby-forum.com/t/prototype-and-position-of-the-popups/190631/1 "2010-06-24T09:54:43Z")

</div>

Greetings

I have a major problem with my popups. I am using the prototype library  
and almost all my popups are opened  
ALWAYS at the top and the middle of the screen of every page.

The problem is that I have some pages where you need to scroll down in  
order to open the popup but it always opens  
at the top which is realyl confusing for the user.

I do not get any javascript error so I cannot figure out what the  
problem is. Any suggestion ?

Thank you !
