FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SAFE-Stack.github.io/js/jquery.panelslider.min.js at master · SAFE-Stack/SAFE-Stack.github.io · GitHub
SAFE-Stack
SAFE-Stack.github.io
Repository navigation
Code
Issues
1
(1)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SAFE-Stack.github.io
/
js
/
jquery.panelslider.min.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
1 lines (1 loc) · 1.29 KB
Breadcrumbs
SAFE-Stack.github.io
/
js
/
jquery.panelslider.min.js
Copy path
File metadata and controls
1 lines (1 loc) · 1.29 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
(
function
(
e
)
{
"use strict"
;
function
r
(
r
)
{
var
i
=
r
.
data
(
"ps-options"
)
;
if
(
e
(
"body"
)
.
hasClass
(
i
.
bodyClass
)
||
n
)
return
;
r
.
trigger
(
"psBeforeOpen"
)
,
n
=
!
0
,
r
.
addClass
(
"ps-active-panel"
)
,
e
(
"body"
)
.
addClass
(
i
.
bodyClass
)
.
one
(
t
,
function
(
e
)
{
n
=
!
1
,
r
.
trigger
(
"psOpen"
)
,
typeof
i
.
onOpen
==
"function"
&&
i
.
onOpen
(
)
}
)
}
var
t
=
[
"transitionend"
,
"webkitTransitionEnd"
,
"oTransitionEnd"
,
"MSTransitionEnd"
]
.
join
(
" "
)
,
n
=
!
1
;
e
.
panelslider
=
function
(
e
,
t
)
{
e
.
panelslider
(
t
)
}
,
e
.
panelslider
.
close
=
function
(
r
)
{
var
i
=
e
(
".ps-active-panel"
)
,
s
=
i
.
data
(
"ps-options"
)
;
if
(
!
i
.
length
||
n
)
return
;
i
.
trigger
(
"psBeforeClose"
)
,
n
=
!
0
,
i
.
removeClass
(
"ps-active-panel"
)
,
e
(
"body"
)
.
removeClass
(
s
.
bodyClass
)
.
one
(
t
,
function
(
e
)
{
n
=
!
1
,
i
.
trigger
(
"psClose"
)
,
r
&&
setTimeout
(
function
(
)
{
r
(
)
}
,
0
)
}
)
}
,
e
(
document
)
.
on
(
"click keyup"
,
function
(
t
)
{
var
n
=
e
(
".ps-active-panel"
)
;
if
(
t
.
type
==
"keyup"
&&
t
.
keyCode
!=
27
)
return
;
n
.
length
&&
n
.
data
(
"ps-options"
)
.
clickClose
&&
e
.
panelslider
.
close
(
)
}
)
,
e
(
document
)
.
on
(
"click"
,
".ps-active-panel"
,
function
(
e
)
{
e
.
stopPropagation
(
)
}
)
,
e
.
fn
.
panelslider
=
function
(
t
)
{
var
n
=
{
bodyClass
:
"ps-active"
,
clickClose
:
!
0
,
onOpen
:
null
}
,
i
=
e
(
this
.
attr
(
"href"
)
)
;
return
i
.
data
(
"ps-options"
,
e
.
extend
(
{
}
,
n
,
t
)
)
,
this
.
click
(
function
(
t
)
{
var
n
=
e
(
".ps-active-panel"
)
;
n
.
length
?
n
[
0
]
==
i
[
0
]
?
e
.
panelslider
.
close
(
)
:
e
.
panelslider
.
close
(
function
(
)
{
r
(
i
)
}
)
:
r
(
i
)
,
t
.
preventDefault
(
)
,
t
.
stopPropagation
(
)
}
)
,
this
}
}
)
(
jQuery
)
;
Back
|
FazBrowse Home
|
New Git URL