FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
binaryfunt.github.io/physoc/image-slider.min.js at master · binaryfunt/binaryfunt.github.io · GitHub
binaryfunt
/
binaryfunt.github.io
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
binaryfunt.github.io
/
physoc
/
image-slider.min.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
1 lines (1 loc) · 749 Bytes
Breadcrumbs
binaryfunt.github.io
/
physoc
/
image-slider.min.js
Copy path
File metadata and controls
1 lines (1 loc) · 749 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
$
(
window
)
.
load
(
function
(
)
{
function
r
(
e
,
o
,
t
)
{
s
.
animate
(
{
scrollLeft
:
e
*
o
}
,
t
)
}
function
l
(
e
)
{
e
.
preventDefault
(
)
;
var
s
=
a
.
index
(
this
)
,
o
=
window
.
innerWidth
;
r
(
s
,
o
,
n
)
,
a
.
removeClass
(
"active"
)
,
$
(
this
)
.
addClass
(
"active"
)
,
clearInterval
(
p
)
,
c
(
t
)
}
function
d
(
)
{
var
e
=
a
.
index
(
$
(
".slider-nav a.active"
)
)
,
s
=
window
.
innerWidth
;
e
==
a
.
length
-
1
?
e
=
0
:
e
+=
1
,
r
(
e
,
s
,
n
)
,
a
.
removeClass
(
"active"
)
,
$
(
a
[
e
]
)
.
addClass
(
"active"
)
}
function
c
(
e
)
{
e
.
hover
(
function
(
)
{
clearInterval
(
p
)
}
)
,
e
.
on
(
"mouseleave"
,
function
(
)
{
p
=
setInterval
(
d
,
i
)
}
)
}
function
f
(
)
{
var
e
=
a
.
index
(
$
(
".slider-nav a.active"
)
)
,
s
=
window
.
innerWidth
;
r
(
e
,
s
,
0
)
}
var
e
=
$
(
window
)
,
s
=
$
(
"#home-slider"
)
,
t
=
(
$
(
".slide"
)
,
$
(
".slider-nav"
)
)
,
a
=
$
(
".slider-nav a"
)
,
n
=
500
,
i
=
6e3
;
r
(
0
,
0
,
0
)
,
t
.
on
(
"click"
,
"a"
,
l
)
,
e
.
resize
(
f
)
;
var
p
=
setInterval
(
d
,
i
)
;
c
(
s
)
,
c
(
t
)
}
)
;
Back
|
FazBrowse Home
|
New Git URL