Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
7df0d1c7
Commit
7df0d1c7
authored
Dec 14, 2011
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename transitions to transition and fix scrollspy example
parent
aa69286c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
1 deletion
+52
-1
docs/assets/css/docs.css
docs/assets/css/docs.css
+6
-0
docs/javascript.html
docs/javascript.html
+1
-1
js/bootstrap-transition.js
js/bootstrap-transition.js
+45
-0
No files found.
docs/assets/css/docs.css
View file @
7df0d1c7
...
...
@@ -318,6 +318,12 @@ h2 + table {
width
:
290px
;
}
.scrollspy-example
{
height
:
200px
;
overflow
:
auto
;
position
:
relative
;
}
/* Responsive Docs
-------------------------------------------------- */
...
...
docs/javascript.html
View file @
7df0d1c7
...
...
@@ -39,7 +39,7 @@
<script
src=
"assets/js/google-code-prettify/prettify.js"
></script>
<script>
$
(
function
()
{
prettyPrint
()
})
</script>
<script
src=
"../js/bootstrap-transition
s
.js"
></script>
<script
src=
"../js/bootstrap-transition.js"
></script>
<script
src=
"../js/bootstrap-alert.js"
></script>
<script
src=
"../js/bootstrap-modal.js"
></script>
<script
src=
"../js/bootstrap-dropdown.js"
></script>
...
...
js/bootstrap-transition.js
0 → 100644
View file @
7df0d1c7
/* ===================================================
* bootstrap-transitions.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html
* ===================================================
* Copyright 2011 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
$
(
function
()
{
/* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
* ======================================================= */
$
.
support
.
transition
=
(
function
()
{
var
thisBody
=
document
.
body
||
document
.
documentElement
,
thisStyle
=
thisBody
.
style
,
support
=
thisStyle
.
transition
!==
undefined
||
thisStyle
.
WebkitTransition
!==
undefined
||
thisStyle
.
MozTransition
!==
undefined
||
thisStyle
.
MsTransition
!==
undefined
||
thisStyle
.
OTransition
!==
undefined
return
support
&&
{
end
:
(
function
()
{
var
transitionEnd
=
"
TransitionEnd
"
if
(
$
.
browser
.
webkit
)
{
transitionEnd
=
"
webkitTransitionEnd
"
}
else
if
(
$
.
browser
.
mozilla
)
{
transitionEnd
=
"
transitionend
"
}
else
if
(
$
.
browser
.
opera
)
{
transitionEnd
=
"
oTransitionEnd
"
}
return
transitionEnd
}())
}
})()
})
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment