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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:37:35+00:00 2026-06-06T23:37:35+00:00

The modal javascript plugin is working fine. I had a question regarding the library

  • 0

The modal javascript plugin is working fine. I had a question regarding the library itself.

If you notice in this link

http://twitter.github.com/bootstrap/javascript.html#modals
// click on LAUNCH DEMO MODAL

The modal drop from the top of the screen into the vertical center of the screen. Is this functionality provided in the plugin or is it javascript that I will have to write myself ?

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-06-06T23:37:38+00:00Added an answer on June 6, 2026 at 11:37 pm

    Add the fade class to the modal in order to get this transition.

    Your html should then look something like

    <div id="myModal" class="modal hide fade">
      <div class="modal-header"></div>
      <div class="modal-body"></div>
      <div class="modal-footer"></div>
    </div>
    
    <a data-toggle="modal" href="#myModal" class="btn btn-primary">Launch Modal</a>
    

    Check it out in action on JsFiddle here

    From the documentation:

    Heads up! If you want your modal to animate in and out, just add a
    .fade class to the .modal element (refer to the demo to see this in
    action) and include bootstrap-transition.js.

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

Sidebar

Related Questions

Following this code my button works perfectly: http://twitter.github.com/bootstrap/javascript.html#modals Fades and everything. I want to
I'm using this plugin to show lightbox on a website http://www.zurb.com/playground/reveal-modal-plugin I want to
I'm working on 'add a link' functionality. For that I'm using Modal plugin from
Revising code of jQuery.reveal plugin (http://www.zurb.com/playground/reveal-modal-plugin) and trying to understand how it handles the
i would like to pass a variable into my javascript, using simple modal plugin,
I'm using the colorbox modal plugin (http://colorpowered.com/colorbox/) I've got a simple form sitting in
I have the following markup using a twitter bootstrap modal plugin: <div class=tabbable> <ul
I'm using knockout.js and twitter bootstrap's modal plugin to data-bind the user's email address
how can I open a modal window using javascript only. I can't use own
In our login/logout javascript, which works in a modal box, I'd like to reload

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.