By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,504 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,504 IT Pros & Developers. It's quick & easy.

showModalDialog() Jumping to Bottom of Popup's Body

P: n/a
I'm using showModalDialog() to popup a window with some long text,
followed by a couple of form elements. The content of the popup
scrolls, since the content is longer to than the window. However, when
it first opens, it is positioned at the bottom of the modal window's
content, so one has to scroll to see the beginning of the content. It
happens to be positioning the window so the bottom of the submit
button is at the bottom of the popup.

Does anyone have any idea how to get the dialog to have the uppermost
text positioned where it should be (at the top)?

I tried popping up the url with ...#top at the end, and adding an
anchor to the start of the popup content, but had no luck.

Thanks,
Jamie
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
No bites on this thread, so let me shorten it...

I've got a popup window (details below), and whenever it opens up, it
jumps to a submit button at the bottom of the page's content.
Therefore, a visitor has to scroll up to read the uppermost content.

Any idea why this is happening, and how to prevent it?

Thanks,
Jamie

On Wed, 03 Sep 2003 09:09:19 -0400, Jamie Jackson
<wa***************@bigfoot.com> wrote:
I'm using showModalDialog() to popup a window with some long text,
followed by a couple of form elements. The content of the popup
scrolls, since the content is longer to than the window. However, when
it first opens, it is positioned at the bottom of the modal window's
content, so one has to scroll to see the beginning of the content. It
happens to be positioning the window so the bottom of the submit
button is at the bottom of the popup.

Does anyone have any idea how to get the dialog to have the uppermost
text positioned where it should be (at the top)?

I tried popping up the url with ...#top at the end, and adding an
anchor to the start of the popup content, but had no luck.

Thanks,
Jamie


Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.