MCPcopy Index your code
hub / github.com/aroc/Bootstrap-Scroll-Modal

github.com/aroc/Bootstrap-Scroll-Modal @1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.2 ↗ · + Follow
2 symbols 2 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Bootstrap Scroll Modal v 1.2

Twitter Bootstrap's current modal has a fixed height and scrolls long content inside of it. This version of the plugin, along with some minimal CSS allows you to have a modal that acts more like Facebook and Trello modals, where the content can be any height and the whole page scrolls, rather than internal scrollbars in the modal. View it in action here.

How to Use

Simply use this version of the Modal Plugin rather than Twitter Bootstraps. It works exactly the same way the original plugin does. There are only minor differences which relate to how the HTML markup is inserted, which allows for the full page scroll.

Then include the Stylesheet. Ensure to include it AFTER bootstrap.css, as it overrides some of the modal classes found in it. You can also just add the minmal CSS to one of your project's CSS files, as long as it comes after Bootstrap.css.

In order to activate the new modal, set the "dynamic" option to "true". If the option is not set, the modal acts the same as it always has - allowing for full backward compatibility.

Example

<a href="https://github.com/aroc/Bootstrap-Scroll-Modal/raw/1.2/myModal" data-toggle="modal" data-dynamic="true">Launch the awesome modal</a>

and

$("#myModal").modal({ dynamic: true });

Cross-Browser Tested

I've tested the modal on IE7+, Safari, Firefox 4+ and Chrome. Let me know if you find any compatibility issues.

Core symbols most depended-on inside this repo

Modal
called by 0
bootstrap-scroll-modal.js
Modal
called by 0
originals/bootstrap-modal.js

Shape

Function 2

Languages

TypeScript100%

Modules by API surface

originals/bootstrap-modal.js1 symbols
bootstrap-scroll-modal.js1 symbols

For agents

$ claude mcp add Bootstrap-Scroll-Modal \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact