Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 2.11 KB

README.md

File metadata and controls

36 lines (26 loc) · 2.11 KB

Bootstrap for PrototypeJS

![Gitter](https://badges.gitter.im/Join Chat.svg)

For those developers that use PrototypeJS, Bootstrap requires the use of jQuery. If you do not want to load another library just to handle the the Bootstrap interactions use this fork of Bootstrap.

Differences according to PrototypeJS standards

  • effects and methods are called from the BootStrap namespace ie new BootStrap.Modal('elementid',{option}). This prevents conflicts with any other javascript libraries you may have loaded.
  • If you include script.aculo.us you will get consistent behaviors across all browsers that script.aculo.us and PrototypeJS support, otherwise you will only get the fades/movement/etc in browsers that support CSS3 transitions (sorry Internet Explorer < 10)
  • custom events that are fired will also be namespaced to bootstrap:* ie $('element').fire('bootstrap:closed')
  • The instances of the objects are stored on the elements using ElementStorage ie new BootStrap.Button($('mybutton')) will be stored at bootstrap:button and retrieved via $('mybutton').retrieve('bootstrap:button')
ModuleVersion Compatible
BootStrap.Affix2.3.2
BootStrap.Alert2.3.2
BootStrap.Button2.3.2
BootStrap.Carousel2.3.2
BootStrap.Collapse2.3.2
BootStrap.Dropdown2.3.2
BootStrap.Modal2.3.2
BootStrap.Popover2.3.2
BootStrap.Scrollspy2.3.2
BootStrap.Tab2.3.2
BootStrap.Tooltip2.3.2
BootStrap.Transition2.3.2
BootStrap.Typeahead2.3.2

Official Bootstrap README