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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:49:11+00:00 2026-05-26T17:49:11+00:00

I have got a script here that animates a div changing height, then after

  • 0

I have got a script here that animates a div changing height, then after a label should appear. Under that I have return false so the next page doesn’t load.

It works when it is like this

$("label#error-username_r").show();
return false;

However when I set the duration it ignores it, and ignores the return false and loads the next page like this:

$("label#error-username_r").show("fast");
return false;

Here is all of the code:

        $("div#cover").animate
            ({
                height: window.innerHeight*0.8
                }, {queue:false, duration:300, easing:"backEaseInOut"}
            );
        $("div#cover-bottom").animate
            ({
                height: window.innerHeight*0.2
                }, {queue:false, duration:300, easing:"backEaseInOut"}
            );
        $("label#error-username_r").show();
        return false;
  • 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-26T17:49:12+00:00Added an answer on May 26, 2026 at 5:49 pm

    It’s kinda hard to dig out the real problem without HTML. And I don’t think it’s because show("fast") failed here. It’s gotta be some other code that behaved incorrectly.

    You might want to try the duration as the passing parameter, like this

    ("#error-username_r").show(1000);
    

    But I doubt that would really solve your problem either, as I said earlier, the error most likely is in somewhere else of your code.

    Anyway, I’d suggest you try Firebug or any other web development tools to inspect the js errors and see what the error messages are.

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

Sidebar

Related Questions

Here is my problem: I have got a Python build script that executes several
I have got a demo script that lets me authorize with my app and
I've got a script that downloads and then converts videos. I'm trying to do
Here I have a small VBS script that helps me append a new line
here's the case i have a php script that's using aes256 ,CBC the both
I have got a python script which is creating an ODBC connection. The ODBC
I've got a file whose format I'm altering via a python script. I have
I have got the following code from here to read an Excel file using
I have a script here, and it works amazing, except for one small detail.
I've got a script that disables a button input control, empties a table body

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.