├── .gitignore ├── README.md ├── Source ├── Behaviors │ ├── Behavior.BS.Affix.js │ ├── Behavior.BS.Dropdown.js │ ├── Behavior.BS.FormValidator.js │ ├── Behavior.BS.Popover.js │ ├── Behavior.BS.Popup.FormRequest.js │ ├── Behavior.BS.Popup.js │ ├── Behavior.BS.Tabs.js │ ├── Behavior.BS.Tooltip.js │ └── Delegator.BS.ShowPopup.js └── UI │ ├── Bootstrap.Affix.js │ ├── Bootstrap.Dropdown.js │ ├── Bootstrap.Popover.js │ ├── Bootstrap.Popup.js │ ├── Bootstrap.Tooltip.js │ ├── Bootstrap.js │ └── CSSEvents.js ├── package.yml └── screen.png /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Bootstrap JS for MooTools 2 | 3 | ![Screenshot](https://github.com/anutron/mootools-bootstrap/raw/master/screen.png) 4 | 5 | This code is now a part of [Behavior-UI](https://github.com/Behavior-UI/behavior-ui). You can still check out the last tag of this codebase if you wish to use it, but the same files are now moved to Behavior-UI (along with many others) and maintained there. -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.Affix.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.BS.Affix 5 | 6 | description: Markup invocation for Bootstrap.Affix class. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.Affix 14 | 15 | provides: [Behavior.BS.Affix] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.Affix is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.Dropdown.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.BS.Dropdown 5 | 6 | description: Instantiates Bootstrap.Dropdown based on HTML markup. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.Dropdown 14 | 15 | provides: [Behavior.BS.Dropdown] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.Dropdown is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.FormValidator.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.BS.FormValidator 5 | 6 | description: Integrates FormValidator behavior into Bootstrap. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.FormValidator 14 | 15 | provides: [Behavior.BS.FormValidator] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.FormValidator is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.Popover.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.BS.Popover 5 | 6 | description: Instantiates Bootstrap.Popover based on HTML markup. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.Popover 14 | 15 | provides: [Behavior.BS.Popover] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.Popover is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.Popup.FormRequest.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.BS.Popup.FormRequest 5 | 6 | description: Integrates FormRequest behavior into Popups. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.Popup.FormRequest 14 | 15 | provides: [Behavior.BS.Popup.FormRequest] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.Popover.FormRequest is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.Popup.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.Popup 5 | 6 | description: Creates a bootstrap popup based on HTML markup. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.Popup 14 | 15 | provides: [Behavior.BS.Popup] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.Popup is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.Tabs.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.BS.Tabs 5 | 6 | description: Instantiates Bootstrap.Tabs based on HTML markup. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.Tabs 14 | 15 | provides: [Behavior.BS.Tabs] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.Tabs is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Behavior.BS.Tooltip.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Behavior.BS.Tooltip 5 | 6 | description: Instantiates Bootstrap.Tooltip based on HTML markup. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Behavior.BS.Tooltip 14 | 15 | provides: [Behavior.BS.Twipsy, Behavior.BS.Tooltip] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.Tooltip is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/Behaviors/Delegator.BS.ShowPopup.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Delegator.BS.ShowPopup 5 | 6 | description: Shows a hidden popup. 7 | 8 | authors: [Aaron Newton] 9 | 10 | license: MIT-style license. 11 | 12 | requires: 13 | - Behavior-UI/Delegator.BS.ShowPopup 14 | 15 | provides: [Delegator.BS.ShowPopup] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Behavior.BS.ShowPopup is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/UI/Bootstrap.Affix.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Bootstrap.Affix 5 | 6 | description: A MooTools implementation of Affix from Bootstrap; allows you to peg an element to a fixed position after scrolling. 7 | 8 | authors: [Aaron Newton] 9 | 10 | license: MIT-style license. 11 | 12 | requires: 13 | - Behavior-UI/Bootstrap.Affix 14 | 15 | provides: [Bootstrap.Affix] 16 | 17 | ... 18 | */ 19 | try { console.log('Bootstrap/Bootstrap.Affix is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/UI/Bootstrap.Dropdown.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Bootstrap.Dropdown 5 | 6 | description: A simple dropdown menu that works with the Twitter Bootstrap css framework. 7 | 8 | license: MIT-style license. 9 | 10 | authors: [Aaron Newton] 11 | 12 | requires: 13 | - Behavior-UI/Bootstrap.Dropdown 14 | 15 | provides: Bootstrap.Dropdown 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Bootstrap.Dropdown is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/UI/Bootstrap.Popover.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Bootstrap.Popover 5 | 6 | description: A simple tooltip (yet larger than Bootstrap.Tooltip) implementation that works with the Twitter Bootstrap css framework. 7 | 8 | authors: [Aaron Newton] 9 | 10 | license: MIT-style license. 11 | 12 | requires: 13 | - Behavior-UI/Bootstrap.Popover 14 | 15 | provides: Bootstrap.Popover 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Bootstrap.Popover is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/UI/Bootstrap.Popup.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Popup 5 | 6 | description: A simple Popup class for the Twitter Bootstrap CSS framework. 7 | 8 | authors: [Aaron Newton] 9 | 10 | license: MIT-style license. 11 | 12 | requires: 13 | - Behavior-UI/Bootstrap.Popup 14 | 15 | provides: [Bootstrap.Popup] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Bootstrap.Popup is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/UI/Bootstrap.Tooltip.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Bootstrap.Tooltip 5 | 6 | description: A simple tooltip implementation that works with the Twitter Bootstrap css framework. 7 | 8 | authors: [Aaron Newton] 9 | 10 | license: MIT-style license. 11 | 12 | requires: 13 | - Behavior-UI/Bootstrap.Tooltip 14 | 15 | provides: [Bootstrap.Twipsy, Bootstrap.Tooltip] 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Bootstrap.Tooltip is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/UI/Bootstrap.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: Bootstrap 5 | 6 | description: The BootStrap namespace. 7 | 8 | authors: [Aaron Newton] 9 | 10 | license: MIT-style license. 11 | 12 | provides: [Bootstrap] 13 | 14 | requires: 15 | - Behavior-UI/Bootstrap 16 | 17 | ... 18 | */ 19 | 20 | try { console.log('Bootstrap/Bootstrap is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /Source/UI/CSSEvents.js: -------------------------------------------------------------------------------- 1 | /* 2 | --- 3 | 4 | name: CSSEvents 5 | 6 | license: MIT-style 7 | 8 | authors: [Aaron Newton] 9 | 10 | requires: 11 | - Behavior-UI/CSSEvents 12 | 13 | provides: CSSEvents 14 | ... 15 | */ 16 | 17 | try { console.log('Bootstrap/CSSEvents is deprecated; see https://github.com/Behavior-UI/behavior-ui'); } catch (e){} -------------------------------------------------------------------------------- /package.yml: -------------------------------------------------------------------------------- 1 | name: "Bootstrap" 2 | 3 | exports: "bootstrap.js" 4 | 5 | web: "[clientcide.com](http://clientcide.com)" 6 | 7 | description: "Clientcide's plugins for MooTools and Twitter's Bootstrap CSS framework" 8 | 9 | license: "[MIT License](http://mootools.net/license.txt)" 10 | 11 | copyright: "© [Aaron Newton](http://clientcide.com)" 12 | 13 | authors: "[Aaron Newton](http://clientcide.com)" 14 | 15 | version: "1.0.6" 16 | 17 | #mootools forge stuff: 18 | author: anutron 19 | category: Interface 20 | tags: [interface, menu, tips, popup, layout, UI] 21 | docs: http://dev.clientcide.com/?version=MooTools%20Bootstrap 22 | demo: http://anutron.github.com/mootools-bootstrap/ 23 | current: 1.0.6 24 | 25 | sources: 26 | - Source/Behaviors/Behavior.BS.Affix.js 27 | - Source/Behaviors/Behavior.BS.Dropdown.js 28 | - Source/Behaviors/Behavior.BS.FormValidator.js 29 | - Source/Behaviors/Behavior.BS.Popover.js 30 | - Source/Behaviors/Behavior.BS.Popup.js 31 | - Source/Behaviors/Behavior.BS.Popup.FormRequest.js 32 | - Source/Behaviors/Behavior.BS.Tabs.js 33 | - Source/Behaviors/Behavior.BS.Tooltip.js 34 | - Source/Behaviors/Delegator.BS.ShowPopup.js 35 | - Source/UI/Bootstrap.js 36 | - Source/UI/Bootstrap.Affix.js 37 | - Source/UI/Bootstrap.Dropdown.js 38 | - Source/UI/Bootstrap.Popover.js 39 | - Source/UI/Bootstrap.Popup.js 40 | - Source/UI/Bootstrap.Tooltip.js 41 | - Source/UI/CSSEvents.js 42 | -------------------------------------------------------------------------------- /screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anutron/mootools-bootstrap/3275057fe47bbdb8ef49c243ce528729f3e0d385/screen.png --------------------------------------------------------------------------------