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 7689897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:16:17+00:00 2026-05-31T20:16:17+00:00

The dialog creation is: $(document).ready(function () { $(.jym).dialog({ autoOpen: false, modal: true, draggable: false,

  • 0

The dialog creation is:

$(document).ready(function () {
    $(".jym").dialog({
        autoOpen: false,
        modal: true,
        draggable: false,
        resizable: false,
        closeOnEscape: false,
        height: 100,
        width: 100,            
        open: function () {
            $('.ui-dialog').css("font-size", "14px");              
        },
        show: 'puff'
    });
});

Now the font-size of the dialog window is taking the default font-size of the page which is 17.5px. But if I remove the show then it is taking 14px.

What I am doing wrong?


I am using jQuery UI 1.8.18 and jQuery 1.7.1. If I use slide, blind, explode, clip, drop, fade, effect instead of puff then it is working. Also with scale it is not working.

  • 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-31T20:16:18+00:00Added an answer on May 31, 2026 at 8:16 pm

    The “puff” effect causes the entire element to “zoom” or “scale” up in size momentarily. I believe what you’re seeing is that the style for the font size is probably being overwritten during the animation. Using .css(‘font-size” … will actually put a style=”font-size:14px” onto the element. The animation uses that same style attribute for it’s animation. So when it finishes the animation, and removes its modified font size, the element will have no font size and inherit that of the page.

    Move your font-size 14px into a CSS file instead and your problem will be fixed.

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

Sidebar

Related Questions

I need a modal dialog to gather some user input. I then need the
I want to create a thread after the creation of a dialog box in
I'm trying to write my own modal popup window using a jQuery function. However,
I have just written a Word Document creation web application using .NET 3.5 which
Dialog closes with Cancel result, no exceptions, as if you have pressed its close
A dialog I'm working on isn't displaying, using: CWnd::CreateDlgIndirect(LPCDLGTEMPLATE lpDialogTemplate,CWnd* pParentWnd, HINSTANCE hInst) The
In the new login dialog of the SQL Server 2005 Management Studio Express, what
How can I dismiss dialog in Cocoa application when user presses Esc or Enter
Vista displays the dialog Close programs to prevent information loss when the system is
I have a dialog box that allows users to set hotkeys for use in

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.