Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 985161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:07:32+00:00 2026-05-16T05:07:32+00:00

I have a link: <a class=fg-button ui-state-default fg-button-icon-left assistButton pbcType=download title=Click for download information><span

  • 0

I have a link:

<a class="fg-button ui-state-default fg-button-icon-left assistButton" pbcType="download" title="Click for download information"><span class="ui-icon ui-icon-document"></span>File</a>

And I have some jQuery:

$(".assistButton").click(function(){
        $('#dialog').css('color', '#000000');
        $("#dialog").dialog({ 
            bgiframe: true,
            position: 'center',
            width: $(window).width()-80,
            height: $(window).height()-80,
            title: 'Some title',
            modal: true,
            buttons: { "Close": function() { $(this).dialog("destroy"); }}
        });
})

This works (the dialog opens properly) until you scroll down the screen. Once you scroll down the screen the dialog does not appear, the screen does go gray since it is a modal dialog.

I was under the assumption that

position: 'center',

would center it in the screen but I guess it’s centered left to right, not top to bottom…?

When in IE it works fine, when in firefox on Windows or OS X it does not work.

What am I missing? I’ve found a few others (http://dev.jqueryui.com/ticket/4539 as an example), around the web but nothing has worked so far.

Edit:
In firefox it opens but it is “above the fold” and I cannot scroll up to it. It’s there, I just can’t see it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:07:33+00:00Added an answer on May 16, 2026 at 5:07 am

    The jQuery UI 1.8.3 or 1.8.4 (due to a mis-build 1.8.3 == 1.8.4) release made some changes in this department, most notably this one:

    DIALOG
    The dialog plugin has also been updated to allow full usage of the position utility. Setting the dialog’s position with a string or array is still possible, but will be removed in a future version.

    The positioning was overhauled to use the base position utility shared amongst the widgets so the code to handle things like a scrolled page is handled much more cleanly now. In the one problem page we had with your bug, the 1.8.4 release fixed it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For edit home status of category I have a link: <span class=\ha\ title=\Active in
I have the following code <td><a href=# id=dialog_link-19 class=ui-state-default ui-corner-all>Click here</a></td> <td><a href=# id=dialog_link-25
I have a link error where the linker complains that my concrete class's destructor
I have written a class using std::tr1::regex, and I don't know how to link
Suppose I have <table> <tr> <td><a class='ilink'> link text </a></td> <td></td> <td></td> <tr> <tr>
I have the following link. On click, I'd like to check the item.primary_company field
I have couple of input fields with the class link. All of them should
The title sounds confusing.. but im sure this is possible! I have one button,
I have code like this: <div class=ui-widget> <ul style=list-style-type: none; padding-left: 0; id=menuList> <li>
I'm having some questions about changing the class/state of a link back to normal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.