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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:52:02+00:00 2026-05-23T11:52:02+00:00

here is jsFiddle: http://jsfiddle.net/arJEx/ Here’s what I got so far: <!DOCTYPE html PUBLIC -//W3C//DTD

  • 0

here is jsFiddle: http://jsfiddle.net/arJEx/

Here’s what I got so far:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <title>Waiting</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>


    <style>
* { margin:0;padding:0; }
    #wait {

background:#ABC7D9;
border-top:4px solid #597F99;
border-bottom:4px solid #597F99;
padding:50px;
text-align:center;
font:23pt Georgia;
color:#1C5378;
display:none;
overflow: hidden;

    }
    </style>

    <script type="text/javascript">
$(function() {

$(".act").live("click",function() {
     $("#wait").slideDown("slow");
    });
    });
    </script>

</head>

<body>

<button class="act">Activate effect</button>

<div id="wait">Please wait...</div>



</body>
</html>

I want it so the blue div when I press that button slides down to the middle of the page… but I juts can’t seem to find out how to do it. Please help?

edit: ok, it doesn’t HAVE to be middle of screen but near the top of part. like.. anywhere near middle to top of page.

  • 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-23T11:52:02+00:00Added an answer on May 23, 2026 at 11:52 am

    Everything is just fine with Your JS. You need to change CSS. First of all div’s container must fill all window:

    html, body { width: 100%; height: 100%; padding: 0; margin: 0; }
    

    Than change div’s css. First approach (not sure about IE):

    #wait {
       /* remove padding and append those */
       position: absolute;
       top: 5%; /* change it */
       bottom: 50%;
       width: 100%
    }
    

    Second one:

    #wait {
       /* remove padding and append those */
       height: 50%;
    }
    

    There is one problem You will need to solve. You will need to verticall align Your text without using padding and this is another question (just search for it in stackoverflow or goole).

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

Sidebar

Related Questions

Example here: http://jsfiddle.net/7h2Dh/ Got this html: <span>Text<div id=wtf>Content</div>Text</span> I need to set div display
Got stuck here: http://jsfiddle.net/UFkg8/ Right now the animation is top-down. What do I need
Please see the demo here: http://jsfiddle.net/Freewind/Vkp4U/ The html: <div class=outer> <div class=x>x</div> <div class=y>y</div>
You can see the code live here: http://jsfiddle.net/z3xV3/50/ My HTML: <div id=slider></div> <input id=sliderValue
HTML/CSS/JS here: http://jsfiddle.net/_mtr/XGe8d/2/ My problem is that the animation is taking place at the
You can see the fiddle here: http://jsfiddle.net/easeS/4/ Here is the html/css I have: #main
I've got two problems here: http://jsfiddle.net/BtGtT/3 The first problem is that the footer should
I have got an example here: http://jsfiddle.net/cByhZ/ As you can see the buttons value
what I have tried so far here : http://jsfiddle.net/yusaf/VVEY9/26/ I have a problem with
you can see my jsFiddle here http://jsfiddle.net/fcZQV/ where I posted the HTML and CSS

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.