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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:28:55+00:00 2026-05-24T16:28:55+00:00

i want that when LightFace will be shown then a busy image should come

  • 0

i want that when LightFace will be shown then a busy image should come and display at the center of the modal box. i found there is no way to show LightFace with busy image programatically when content will be loading in the background. so i used a trick but did not work. in my case busy image shows in the dialog but not at center position.

here is my code

here i define a style sheet for my div

.BusyStyles

{
background-image: url(‘images/fbloader.gif’);
background-repeat: no-repeat; background-position: center center;
height: 200;
width: 300;
}

my JavaScript is

    <script language="javascript" type="text/javascript">
    jQuery.noConflict();
    jQuery(document).ready(function () {
        jQuery("#btnFeedback1").click(function () {
            var modal = new LightFace({
                draggable: true,
                height: 200,
                width: 300,
                title: 'My Profile',
                content: '<div css="BusyStyles"><div>',
                buttons: [
                { title: 'OK', event: function () { this.close(); } },
                { title: 'Close', event: function () { this.close(); } }
            ]
            });

            modal.open();
            modal.load('here i will load my ajax content calling pagemethod');
            return false;
        });
    });

so what i have done that when i am showing LightFace modal dialog then a div is assigned as default content which has stylesheet. the style sheet has fixed height and width and as background image. i was trying to show the image at the center but image is not showing at the center instead image is showing at left top position.

so please guide me that how can show busy image at the center of the dialog.

basically i want that when i will call server side function by jquery then my dialog should show with busy image and when content will be available then i will show that content.
i am using asp.net and calling page method by jquery.

please guide me. thanks.

  • 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-24T16:28:56+00:00Added an answer on May 24, 2026 at 4:28 pm

    Its

    <div class="BusyStyles"><div>
    

    and not

    <div css="BusyStyles"><div>
    

    Maybe this fixes your background issue…

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

Sidebar

Related Questions

I want that the menu i have created for testing entries should come in
i want that when user scroll down to absolute bottom then a div should
I want that when mouse is over an image, an event should be triggered
I want that when mouse is over an image, an event should be triggered
I want that each user on my website will have an image in his
I want that my 4 cells will be in the center of my UITableView.
I want that when user click on image thumbnil then the image popup just
I want that my unit tests to cover my POCO's. How should I test
I want that everytime someone wants to checkout the project from SVN he/she will
a want that, he found all select elements with id than begins with 'chbTypes'

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.