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

  • Home
  • SEARCH
  • 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 8332905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:51:19+00:00 2026-06-09T02:51:19+00:00

I am learning Web Design by myself and now I’ve started playing with twitter

  • 0

I am learning Web Design by myself and now I’ve started playing with twitter bootstrap’s modal JavaScript plugin.

I’ve created a new modal class named modal-login, it’s a login form inside a modal window. Things have been working good, but the fade effect/slide down does not work. The effect that bring down the modal box from top to center.

I don’t have yet deep understanding of javascript and jQuery.

My question now is, can we edit the bootstrap-modal.js file, so that I may include my new modal class named modal-login and modal-register? so that it could take advantage of the modal fade in effect?

  • 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-06-09T02:51:20+00:00Added an answer on June 9, 2026 at 2:51 am

    You shouldn’t need to edit the bootstrap-modal.js file. You just need to add the fade class to your modals, and then add some CSS rules.

    For example:

    .modal-login.fade {
      top: -25%;
      -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
         -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
          -ms-transition: opacity 0.3s linear, top 0.3s ease-out;
           -o-transition: opacity 0.3s linear, top 0.3s ease-out;
              transition: opacity 0.3s linear, top 0.3s ease-out;
    }
    
    .modal-login.fade.in {
      top: 50%;
    }
    

    Even better would be if you still kept the plain modal class on your new one’s, and just used your new classes to do overrides. That way you could inherit the CSS above, without having to duplicate it.

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

Sidebar

Related Questions

I am new to web programming,learning VBScript.I want to display few text boxes in
I just start learning to write web services yesterday, kinda fascinating. I created an
I'm learning how to develop SOAP web services with Java. So far now I've
I am new here. I'm starting learning Web Designing. I wonder when I watch
I'm interested in learning how to design/plan for web application development, in a multiple
Ok, so I'm learning web design as a co-op at a company. However, the
i'm just learning GWT MVP design pattern for weeks. now, i'd like to use
I'm learning web-centric programming by writing myself a blog, using PHP with a MySQL
Still learning JSP Web Applications here. I have been doing this for a while
I've been learning about web programming, and I am currently stuck on getting a

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.